bin/forj in forj-1.0.4 vs bin/forj in forj-1.0.5

- old
+ new

@@ -25,11 +25,12 @@ APP_PATH = File.dirname(File.dirname(__FILE__)) LIB_PATH = File.expand_path(File.join(APP_PATH, 'lib')) require 'lorj' PrcLib.app_name = 'forj' -PrcLib.app_defaults = File.join(APP_PATH, 'forj') +PrcLib.app_defaults = File.join(APP_PATH, PrcLib.app_name) +PrcLib.pdata_path = File.expand_path(File.join('~', '.cache', PrcLib.app_name)) # Initialize forj paths require 'appinit.rb' # Load Application settings features Forj.keypairs_path = File.join(PrcLib.data_path, 'keypairs') Forj.build_path = File.join(PrcLib.data_path, '.build') @@ -144,9 +145,11 @@ "\n " \ 'Ex: if your maestro is in ~/src/forj-oss, --test_box' \ ' ~/src/forj-oss/maestro build.sh and' \ "\n " \ 'test-box will send your local maestro repo to your box, for boot.' + method_option :extra_metadata, :aliases => '-e', :desc => 'Custom' \ + ' server metadata format key1=value1,key2=value2...,keyN=valueN' def boot(blueprint, on_or_name, old_accountname = nil, as = nil, old_name = nil) Forj::Settings.common_options(options) require 'boot.rb'