lib/chef-api.rb in chef-api-0.10.0 vs lib/chef-api.rb in chef-api-0.10.2

- old
+ new

@@ -1,23 +1,23 @@ -require 'json' -require 'logify' -require 'pathname' -require 'chef-api/version' +require "json" +require "logify" +require "pathname" +require_relative "chef-api/version" module ChefAPI - autoload :Authentication, 'chef-api/authentication' - autoload :Boolean, 'chef-api/boolean' - autoload :Configurable, 'chef-api/configurable' - autoload :Connection, 'chef-api/connection' - autoload :Defaults, 'chef-api/defaults' - autoload :Error, 'chef-api/errors' - autoload :ErrorCollection, 'chef-api/error_collection' - autoload :Multipart, 'chef-api/multipart' - autoload :Resource, 'chef-api/resource' - autoload :Schema, 'chef-api/schema' - autoload :Util, 'chef-api/util' - autoload :Validator, 'chef-api/validator' + autoload :Authentication, "chef-api/authentication" + autoload :Boolean, "chef-api/boolean" + autoload :Configurable, "chef-api/configurable" + autoload :Connection, "chef-api/connection" + autoload :Defaults, "chef-api/defaults" + autoload :Error, "chef-api/errors" + autoload :ErrorCollection, "chef-api/error_collection" + autoload :Multipart, "chef-api/multipart" + autoload :Resource, "chef-api/resource" + autoload :Schema, "chef-api/schema" + autoload :Util, "chef-api/util" + autoload :Validator, "chef-api/validator" # # @todo Document this and why it's important # UNSET = Object.new @@ -52,11 +52,11 @@ # that are relative to the root of the project. # # @return [Pathname] # def root - @root ||= Pathname.new(File.expand_path('../../', __FILE__)) + @root ||= Pathname.new(File.expand_path("../../", __FILE__)) end # # API connection object based off the configured options in {Configurable}. # @@ -91,6 +91,5 @@ end end # Load the initial default values ChefAPI.setup -