rdm 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/rdm/spec_runner/runner.rb +4 -4
- data/lib/rdm/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: 382d69b9a2ce08cf6c2d674b2678cb5238842e2f
|
4
|
+
data.tar.gz: ef05c9e7ae83f9263a7d86d516c559f7fa89dd5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ba18ed5233951a6037067390f48f03d38196d09c09ea3df666f9c6881f01882d6f2549bfe3fb31c591751558a8ab9673254b0338dcdf7762c10712c16481125
|
7
|
+
data.tar.gz: a351d06caafb902a0010294fd760bcf5b3acc0b4a22e69e5475cc4708cc8325a8b889f5158f910ced05e01455854e95a7c35fde8b451106149e702314923459c
|
data/Gemfile.lock
CHANGED
@@ -16,7 +16,7 @@ class Rdm::SpecRunner::Runner
|
|
16
16
|
@no_specs_packages = []
|
17
17
|
@spec_matcher = spec_matcher.to_s
|
18
18
|
@path = path
|
19
|
-
@run_all = @
|
19
|
+
@run_all = @package_name.nil?
|
20
20
|
@show_missing_packages = show_missing_packages
|
21
21
|
@skip_ignored_packages = skip_ignored_packages
|
22
22
|
@skipped_packages = []
|
@@ -33,8 +33,8 @@ class Rdm::SpecRunner::Runner
|
|
33
33
|
puts "Following spec matches your input: #{@spec_matcher}"
|
34
34
|
else
|
35
35
|
raise Rdm::Errors::SpecMatcherMultipleFiles, @spec_file_matches.join("\n")
|
36
|
+
end
|
36
37
|
end
|
37
|
-
end
|
38
38
|
|
39
39
|
prepare!
|
40
40
|
check_input_params!
|
@@ -128,7 +128,7 @@ class Rdm::SpecRunner::Runner
|
|
128
128
|
end
|
129
129
|
|
130
130
|
def prepare_command_for_packages(packages_command_params)
|
131
|
-
if @skip_ignored_packages && !@
|
131
|
+
if @skip_ignored_packages && !@package_name
|
132
132
|
runignore_path = File.expand_path(File.join(Rdm.root_dir, RUNIGNORE_PATH))
|
133
133
|
package_list = Rdm::SourceParser.read_and_init_source(Rdm.root).packages.keys
|
134
134
|
|
@@ -169,7 +169,7 @@ class Rdm::SpecRunner::Runner
|
|
169
169
|
|
170
170
|
def execute_command
|
171
171
|
eval(command)
|
172
|
-
if !$?.success?
|
172
|
+
if $? && !$?.success?
|
173
173
|
exit(1)
|
174
174
|
end
|
175
175
|
end
|
data/lib/rdm/version.rb
CHANGED