norad_cli 0.1.10 → 0.1.11
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 +3 -0
- data/lib/norad_cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c00d2c1bb51417cc84332328108efdaa46b6b179
|
4
|
+
data.tar.gz: cdc6c35792e91676d53fc9757486049e1fe9bb24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33c819f86f5880148c6d78d8305ee48e373e3a12654c5fe1badb48567914929f519f5294502a1a133a0bb8f4f1f845b5988e55a80d1238114cdec48bbb0aa9aa
|
7
|
+
data.tar.gz: 4277170a41dfef82c4d462ccc02f5f7a32681f1e84648449fc40b44193939c7b63a75ff4ca4f3a06c454115e56ff9a37304b061945ad1281f8a035242e3745d9
|
@@ -176,6 +176,7 @@ class Sectest < Thor
|
|
176
176
|
|
177
177
|
# Run the tests
|
178
178
|
if File.exist?("spec/#{name}/#{name}_spec.rb")
|
179
|
+
RSpec.clear_examples
|
179
180
|
RSpec::Core::Runner.run(["spec/#{name}/#{name}_spec.rb"], $stderr, $stdout)
|
180
181
|
else
|
181
182
|
say("Warning: spec/#{name}/#{name}_spec.rb does not exist!\n", :yellow)
|
@@ -217,9 +218,11 @@ class Sectest < Thor
|
|
217
218
|
|
218
219
|
# Validate the readme file
|
219
220
|
ENV['sectest_name'] = name
|
221
|
+
RSpec.clear_examples
|
220
222
|
RSpec::Core::Runner.run(["#{File.dirname(File.expand_path(__FILE__))}/../support/readme_spec.rb"], $stderr, $stdout)
|
221
223
|
|
222
224
|
# Validate the manifest file
|
225
|
+
RSpec.clear_examples
|
223
226
|
RSpec::Core::Runner.run(["#{File.dirname(File.expand_path(__FILE__))}/../support/manifest_spec.rb"], $stderr, $stdout)
|
224
227
|
end
|
225
228
|
|
data/lib/norad_cli/version.rb
CHANGED