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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0fc23be94279ce9f3f1be244ce687fc0f4e9b470
4
- data.tar.gz: 6ef4108aa2cc43214ab5a7d72113bb1f1b1fbf5d
3
+ metadata.gz: c7868dd41b4c03f1def4992618bf4fac8ad25154
4
+ data.tar.gz: 52fa8e4e727bdbf8e18672e634bafe30c2d25a0b
5
5
  SHA512:
6
- metadata.gz: 9c9ba741545bee24da220a85eb78589c925c7a96289c156b0c627a7e3fe94239a8f1e6435a1ff68d439c1df14f8eafa7763691922987b6b25cbac674a1d20c3d
7
- data.tar.gz: d3c2a75a6d09d98b1a8d7a052904139857ec18c90c368b9b575470700f5c9b2bc3892ac7bc1afd88c91c2d134de5b705167ade9e23d7da9829c1c47a43e06352
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 opts[:verbose]
336
+ if thor_options[:verbose]
336
337
  ENV['ENABLE_LOGS'] = 'true'
337
338
  end
338
339
 
339
- if opts[:debug]
340
+ if thor_options[:debug]
340
341
  ENV['ENABLE_NORAD_DEBUG'] = 'true'
341
342
  end
342
343
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module NoradCli
3
- VERSION = '0.1.22'
3
+ VERSION = '0.1.23'
4
4
  end
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.22
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-22 00:00:00.000000000 Z
13
+ date: 2017-03-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: git