norad_spec_runner 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/norad_spec_runner/cli.rb +1 -1
- data/lib/norad_spec_runner/remote_task.rb +1 -1
- data/lib/norad_spec_runner/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: a864fd41753af4b340c8ba51a370ae0f06e3c825
|
4
|
+
data.tar.gz: a40a1e058b78b0ae2e2365ac46c2445bc71518a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f8244039f1a1c573f9efdb7b4c82197125f25f9181abe536d6445c81a48502f34fb712d45646cb41409d5c7cfb4807c3d2e123b577ca00ee5c7e4b9c600af17
|
7
|
+
data.tar.gz: 03b125c404db2f1990a3dbd6a51c6c05a799c073edc8fc542e203611f3304ce6c4c173fea00bbface80f0d8b73650ebd6a5c552b0fe9f7aacebb58979beae8eb
|
@@ -22,7 +22,7 @@ module NoradSpecRunner
|
|
22
22
|
method_option :cisco_enable_pw, :desc => 'Password to enter Enable mode in Cisco IOS', :default => ''
|
23
23
|
method_option :detect_os, :desc => 'Whether or not to perform OS detection', :type => :boolean, :default => false
|
24
24
|
method_option :disable_sudo, :desc => 'Whether or not to use sudo', :type => :boolean, :default => true
|
25
|
-
method_option :tags, :desc => 'rspec --tag options', :default => '
|
25
|
+
method_option :tags, :desc => 'rspec --tag options', :default => ''
|
26
26
|
|
27
27
|
def remote(encoded_key)
|
28
28
|
spectask = NoradSpecRunner::RemoteTask.new(encoded_key, options)
|
@@ -25,7 +25,6 @@ module NoradSpecRunner
|
|
25
25
|
@username = options.fetch(:username, nil)
|
26
26
|
@tests_parent_dir = ENV.fetch('TESTS_PARENT_DIR', '/')
|
27
27
|
tests = options.fetch(:tests)
|
28
|
-
sub_tests = options.fetch(:sub_tests)
|
29
28
|
detect_os = options.fetch(:detect_os, false)
|
30
29
|
@obj = RSpec::Core::RakeTask.new(@host) do |_|
|
31
30
|
true
|
@@ -138,6 +137,7 @@ module NoradSpecRunner
|
|
138
137
|
end
|
139
138
|
|
140
139
|
def build_rspec_opts(options)
|
140
|
+
sub_tests = options.fetch(:sub_tests)
|
141
141
|
rspec_opts = [ '--format json', "-o #{@results_file}"]
|
142
142
|
options.fetch(:tags).split(',').each do |tag|
|
143
143
|
rspec_opts << "--tag=#{tag}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: norad_spec_runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Manifold
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-05-
|
13
|
+
date: 2017-05-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: serverspec
|