Sha256: 96afcb49a5867efa5844c7707e8d1606583a07154d6f71070030f1d8e66daa96
Contents?: true
Size: 995 Bytes
Versions: 1
Compression:
Stored size: 995 Bytes
Contents
# This makes sure the bundled gems are in our $LOAD_PATH require File.expand_path(File.join(File.dirname(__FILE__) + "/..", 'vendor', 'gems', 'environment')) # This actually requires the bundled gems Bundler.require_env require 'AWS' require 'net/ssh' require 'json' require 'singleton' require File.dirname(__FILE__) + '/hugo/mixin/params_validate' require File.dirname(__FILE__) + '/hugo/cloud' require File.dirname(__FILE__) + '/hugo/balancer' require File.dirname(__FILE__) + '/hugo/database' require File.dirname(__FILE__) + '/hugo/app' require File.dirname(__FILE__) + '/hugo/aws/rds' require File.dirname(__FILE__) + '/hugo/aws/elb' require File.dirname(__FILE__) + '/hugo/aws/ec2' module Hugo; end class Hugo::Suite include Singleton def initialize end def cloud(name="DEFAULT", &block) cloud = Hugo::Cloud.instance cloud.name name cloud.instance_eval(&block) if block_given? end end def Hugo(&block) Hugo::Suite.instance.instance_eval(&block) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hugo-0.1.0 | lib/hugo.rb |