Sha256: 3d682f2b1c9fdb1bcf7b4730646fadff4ddbdd64863f23a9bfc259848923ebfa

Contents?: true

Size: 1.07 KB

Versions: 7

Compression:

Stored size: 1.07 KB

Contents

require "rubygems"
require "json"
begin
  require "#{::File.dirname(__FILE__)}/../../vendor/gems/dslify/lib/dslify"
rescue Exception => e
  require "dslify"
end
require "#{::File.dirname(__FILE__)}/core/string"
require "#{::File.dirname(__FILE__)}/core/hash"
require "#{::File.dirname(__FILE__)}/core/object"
require "#{::File.dirname(__FILE__)}/poolparty/default"
require "#{::File.dirname(__FILE__)}/modules/user_helpers"
require "#{::File.dirname(__FILE__)}/modules/cloud_resourcer"
require "#{::File.dirname(__FILE__)}/modules/pinger"
require "#{::File.dirname(__FILE__)}/schema"
require "#{::File.dirname(__FILE__)}/net/init"
require "#{::File.dirname(__FILE__)}/poolparty/neighborhoods"
require "#{::File.dirname(__FILE__)}/exceptions/RemoteException.rb"

module PoolParty
  extend ::PoolParty::Remote
  
  def self.load_cloud_from_json(json_file_path=nil)
    json_file = json_file_path || PoolParty::Default.properties_hash_file
    PoolParty::Schema.new( ::File.read(json_file) ) rescue exit 1
  end  
end

class String
  def camelcase
    gsub(/(^|_|-)(.)/) { $2.upcase }
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
auser-poolparty-1.2.10 lib/poolparty/lite.rb
auser-poolparty-1.2.11 lib/poolparty/lite.rb
auser-poolparty-1.2.12 lib/poolparty/lite.rb
auser-poolparty-1.2.7 lib/poolparty/lite.rb
auser-poolparty-1.2.8 lib/poolparty/lite.rb
auser-poolparty-1.2.9 lib/poolparty/lite.rb
fairchild-poolparty-1.2.12 lib/poolparty/lite.rb