Sha256: 39489aae1e499cc7a135493b4163965932f0a1a174314e893a5dfbd9d0392128

Contents?: true

Size: 621 Bytes

Versions: 4

Compression:

Stored size: 621 Bytes

Contents

require "rubygems"
require "json"
require("#{::File.dirname(__FILE__)}/../../vendor/gems/dslify/lib/dslify")
require "#{::File.dirname(__FILE__)}/poolparty/default"
require "#{::File.dirname(__FILE__)}/schema"
require "#{::File.dirname(__FILE__)}/net/init"
require "#{::File.dirname(__FILE__)}/exceptions/RemoteException.rb"

module PoolParty
  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

4 entries across 4 versions & 2 rubygems

Version Path
auser-poolparty-1.1.3 lib/poolparty/lite.rb
auser-poolparty-1.1.4 lib/poolparty/lite.rb
fairchild-poolparty-1.1.3 lib/poolparty/lite.rb
fairchild-poolparty-1.1.4 lib/poolparty/lite.rb