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: 2676ca5c5865a587f5e5e137ac53efe57292ff1f
4
- data.tar.gz: 443765f6f6b6427406d9fdfd4f40e208b380c155
3
+ metadata.gz: 9f00e90dedee32a830e6aa84c2b59d4f5d669c04
4
+ data.tar.gz: 0dedde2f0cd6616a08ea001bfa959bbef8e3f550
5
5
  SHA512:
6
- metadata.gz: 4d4edc4af5e85674dfb8b5805d924effa4378baef125aff0a4e031438874ba5c10d28096fdd6ff42c3a95ee2a3202a9b8bd94f28d21c23d1e23f55bc3a5d9d47
7
- data.tar.gz: 9cb55781b186ea73443286a6ca74dbf3ef54dea68a84bda13e40d231fee00ef2c1240e66486427dbe29e59981ab862de01ea675e09aedfec51180998e2d28f97
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", "verbose" ] }
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quiverstaskrunner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.254300
4
+ version: 0.1.254312
5
5
  platform: ruby
6
6
  authors:
7
7
  - ndao