norad_cli 0.1.22 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/norad_cli/cli/sectest.rb +5 -4
- data/lib/norad_cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7868dd41b4c03f1def4992618bf4fac8ad25154
|
4
|
+
data.tar.gz: 52fa8e4e727bdbf8e18672e634bafe30c2d25a0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36309ee5996ac99a248652d9929e257d5b1d193c4d4db636c4fb4577a83ae977ef3d20737d769093be24b01586a3474acaf10ae98ca5f59d4cf780b2f96d309c
|
7
|
+
data.tar.gz: 91eee08fd2fdfe14465b61020685b4bad623d3f46d3a01b244272f4ac095df91bd4302d66d415070fd63d8f15fdd0143b38bab16232626193ebdc7551b85f04c
|
@@ -251,7 +251,7 @@ class Sectest < Thor
|
|
251
251
|
option :verbose, aliases: '-v', type: :boolean, desc: 'Turn on verbose logging'
|
252
252
|
option :debug, aliases: '-d', type: :boolean, desc: 'Turn on debugging'
|
253
253
|
define_method 'spec:image' do |name|
|
254
|
-
run_specs(name, options)
|
254
|
+
run_specs(name, thor_options: options)
|
255
255
|
end
|
256
256
|
|
257
257
|
desc 'spec', 'Run all rspec tests for the entire repo (all sectests)'
|
@@ -264,7 +264,7 @@ class Sectest < Thor
|
|
264
264
|
f.split('/')[-1]
|
265
265
|
end
|
266
266
|
end.compact
|
267
|
-
run_specs(*specs, options)
|
267
|
+
run_specs(*specs, thor_options: options)
|
268
268
|
end
|
269
269
|
|
270
270
|
desc 'seed', 'Create the containers.rb seed to import into the api'
|
@@ -331,12 +331,13 @@ class Sectest < Thor
|
|
331
331
|
|
332
332
|
no_commands do
|
333
333
|
def run_specs(*specs, **opts)
|
334
|
+
thor_options = opts.fetch(:thor_options, {})
|
334
335
|
# Set environment variables
|
335
|
-
if
|
336
|
+
if thor_options[:verbose]
|
336
337
|
ENV['ENABLE_LOGS'] = 'true'
|
337
338
|
end
|
338
339
|
|
339
|
-
if
|
340
|
+
if thor_options[:debug]
|
340
341
|
ENV['ENABLE_NORAD_DEBUG'] = 'true'
|
341
342
|
end
|
342
343
|
|
data/lib/norad_cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: norad_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blake Hitchcock
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-03-
|
13
|
+
date: 2017-03-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: git
|