Sha256: 85610fbac3da3098cb70ee88c00feb800017bfe310bf69c46bb7eecdf5e306ff

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

require 'faraday'
require 'addressable/uri'
require 'yajl'
require 'multi_json'
require 'active_model'
require 'active_support/inflector'
require 'active_support/core_ext'
require 'forwardable'
require 'set'
require 'thread'

require 'ridley/errors'

# @author Jamie Winsor <jamie@vialstudios.com>
module Ridley
  CHEF_VERSION = '10.12.0'.freeze

  autoload :Log, 'ridley/log'  
  autoload :Connection, 'ridley/connection'
  autoload :DSL, 'ridley/dsl'
  autoload :Context, 'ridley/context'
  autoload :Resource, 'ridley/resource'
  autoload :Environment, 'ridley/resources/environment'
  autoload :Role, 'ridley/resources/role'
  autoload :Client, 'ridley/resources/client'
  autoload :Node, 'ridley/resources/node'
  autoload :DataBag, 'ridley/resources/data_bag'
  autoload :DataBagItem, 'ridley/resources/data_bag_item'
  autoload :Cookbook, 'ridley/resources/cookbook'

  class << self
    def connection(*args)
      Connection.new(*args)
    end

    def sync(*args, &block)
      Connection.sync(*args, &block)
    end

    # @return [Ridley::Log]
    def log
      Ridley::Log
    end
    alias_method :logger, :log
  end
end

require 'ridley/middleware'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ridley-0.0.1 lib/ridley.rb