quiverstaskrunner 0.1.254300 → 0.1.254312
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f00e90dedee32a830e6aa84c2b59d4f5d669c04
|
4
|
+
data.tar.gz: 0dedde2f0cd6616a08ea001bfa959bbef8e3f550
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebdd401e4079f88197b2cfd889058f415b12e3764eafdab8e3c70d3909bd15196437dc66d926795e8c38d17700b10bf6f4b63ff6dd9cbebea2d76777cc07fcb5
|
7
|
+
data.tar.gz: 4755ac7417a8362b0ab19184d28dc838a02f88588568eafe0de073fc6307a625059091e5015a7407c8a1f064c78244e1f43dcb7d32bab8e855074d05b8364a4b
|
@@ -10,7 +10,7 @@ require "quiverstaskrunner/helpers/settingshelper"
|
|
10
10
|
include QuiversTaskrunner
|
11
11
|
|
12
12
|
module QuiversTaskrunner
|
13
|
-
@@get_settings_options = { :cli_params_black_list => ["env", "nos", "no-swap", "nod", "no-staging-del"
|
13
|
+
@@get_settings_options = { :cli_params_black_list => ["env", "nos", "no-swap", "nod", "no-staging-del" ] }
|
14
14
|
@@secrets = {
|
15
15
|
:cloud_services => "secrets/cloud_services.yml",
|
16
16
|
:storage => "secrets/storage.yml",
|
@@ -8,7 +8,7 @@ module QuiversTaskrunner
|
|
8
8
|
module_function
|
9
9
|
|
10
10
|
def get_settings(filepath, env={}, options={})
|
11
|
-
verbose = (defined? ARGV) && (!ARGV.nil?) && (!ARGV.empty?) && (ARGV.detect { |x| x == "verbose" })
|
11
|
+
verbose = (defined? ARGV) && (!ARGV.nil?) && (!ARGV.empty?) && (ARGV.detect { |x| x == "--verbose" })
|
12
12
|
environment = env.is_a?(Hash) ? "defaults" : env
|
13
13
|
file_contents = open(filepath).read
|
14
14
|
YAML.load(ERB.new(file_contents).result).to_hash
|
@@ -41,7 +41,7 @@ module QuiversTaskrunner
|
|
41
41
|
|
42
42
|
def get_cli_settings(options={})
|
43
43
|
# Returns a Hash
|
44
|
-
verbose = (defined? ARGV) && (!ARGV.nil?) && (!ARGV.empty?) && (ARGV.detect { |x| x == "verbose" })
|
44
|
+
verbose = (defined? ARGV) && (!ARGV.nil?) && (!ARGV.empty?) && (ARGV.detect { |x| x == "--verbose" })
|
45
45
|
if verbose
|
46
46
|
puts "ARGV:".colorize(:yellow)
|
47
47
|
puts ARGV
|
@@ -1 +1 @@
|
|
1
|
-
module QuiversTaskrunner
|
1
|
+
module QuiversTaskrunner
|