Sha256: 5d210be149da09f5bdf95de0dd018b7aae196d1ed8b4997f51b9041caae4b59a

Contents?: true

Size: 616 Bytes

Versions: 2

Compression:

Stored size: 616 Bytes

Contents

require "ostruct"
require "yaml"

# The main SmartCloud driver
module SmartCloud
	def self.config
		@@config ||= OpenStruct.new
	end

	def self.credentials
		@@credentials ||= OpenStruct.new(SmartCloud::Credentials.new.config)
	end
end

require 'smart_cloud/version'

SmartCloud.config.root_path = File.expand_path('../..', __FILE__)
SmartCloud.config.user_home_path = File.expand_path('~')
if File.exist?("#{SmartCloud.config.user_home_path}/.smartcloud/config/environment.rb")
	require "#{SmartCloud.config.user_home_path}/.smartcloud/config/environment"
end

require 'smart_cloud/base'
require 'smart_cloud/boot'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
smartcloud-0.8.0 lib/smart_cloud.rb
smartcloud-0.7.0 lib/smart_cloud.rb