Sha256: 1c2a68bfd65927f4d7df183acc666b5c093e1ac5dac8973c79918341ed25e792

Contents?: true

Size: 870 Bytes

Versions: 5

Compression:

Stored size: 870 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/rpc_request_builder'
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

5 entries across 5 versions & 1 rubygems

Version Path
scale_rb-0.1.15 lib/scale_rb.rb
scale_rb-0.1.14 lib/scale_rb.rb
scale_rb-0.1.13 lib/scale_rb.rb
scale_rb-0.1.11 lib/scale_rb.rb
scale_rb-0.1.10 lib/scale_rb.rb