Sha256: d512bfddc474aee17d01bd168057db2c8fca74988ee469579498e99ecf5519dc

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))

require 'active_support/json'
require 'active_support/core_ext'
require 'active_support/core_ext/hash'
require 'yaml'
require 'base64'
require 'riakpb/client_pb'

module Riakpb
  # Domain objects
  autoload :I18n,             'riakpb/i18n'
  autoload :Client,           'riakpb/client'
  autoload :Key,              'riakpb/key'
  autoload :Content,          'riakpb/content'
  autoload :Bucket,           'riakpb/bucket'
  autoload :MapReduce,        'riakpb/map_reduce'

  # Exceptions
  autoload :FailedRequest,    "riakpb/failed_request"
  autoload :FailedExchange,   "riakpb/failed_exchange"
  autoload :SiblingError,     "riakpb/sibling_error"

  # Mixins
  module Util
    autoload :Translation,    'riakpb/util/translation'
    autoload :MessageCode,    'riakpb/util/message_code'
    autoload :Encode,         'riakpb/util/encode'
    autoload :Decode,         'riakpb/util/decode'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
riakpb-0.3.0 lib/riakpb.rb
riakpb-0.2.3 lib/riakpb.rb