Sha256: debb6718d40cc977be0b92e9b38522aa6e4c725f675bbfb7576673432312dd4a

Contents?: true

Size: 613 Bytes

Versions: 17

Compression:

Stored size: 613 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 'smartcloud/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 'smartcloud/base'
require 'smartcloud/boot'

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
smartcloud-0.6.0 lib/smartcloud.rb
smartcloud-0.5.3 lib/smartcloud.rb
smartcloud-0.5.2 lib/smartcloud.rb
smartcloud-0.5.1 lib/smartcloud.rb
smartcloud-0.5.0 lib/smartcloud.rb
smartcloud-0.4.4 lib/smartcloud.rb
smartcloud-0.4.3 lib/smartcloud.rb
smartcloud-0.4.2 lib/smartcloud.rb
smartcloud-0.4.1 lib/smartcloud.rb
smartcloud-0.3.2 lib/smartcloud.rb
smartcloud-0.3.1 lib/smartcloud.rb
smartcloud-0.3.0 lib/smartcloud.rb
smartcloud-0.2.4 lib/smartcloud.rb
smartcloud-0.2.3 lib/smartcloud.rb
smartcloud-0.2.2 lib/smartcloud.rb
smartcloud-0.2.1 lib/smartcloud.rb
smartcloud-0.2.0 lib/smartcloud.rb