Sha256: 6ee8a6d2d10bd8b9902919eb187562c72038afb017cdcfe17aa395d75dd3a980

Contents?: true

Size: 833 Bytes

Versions: 2

Compression:

Stored size: 833 Bytes

Contents

# frozen_string_literal: true

require 'scale_rb/version'
require 'logger'

# scale codec
require 'monkey_patching'
require 'codec'
require 'portable_codec'

# metadata types, decoding and helpers
require 'metadata/metadata_v9'
require 'metadata/metadata_v10'
require 'metadata/metadata_v11'
require 'metadata/metadata_v12'
require 'metadata/metadata_v13'
require 'metadata/metadata_v14'
require 'metadata/metadata'

require 'hasher'
require 'storage_helper'

# client
require 'client/http_client'
require 'client/abstract_ws_client'

# get registry from config
require 'registry'

require 'address'

module ScaleRb
  class << self
    attr_accessor :logger

    def debug(key, value)
      logger.debug "#{key.rjust(15)}: #{value}"
    end
  end
end

logger = Logger.new($stdout)
logger.level = Logger::INFO
ScaleRb.logger = logger

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scale_rb-0.2.2 lib/scale_rb.rb
scale_rb-0.2.0 lib/scale_rb.rb