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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c0109c0981419bf5541e8a6f8468f5d8c2985277
4
- data.tar.gz: 92f5f415961848c52167d5320b8b0841ce9c5dac
3
+ metadata.gz: 382d69b9a2ce08cf6c2d674b2678cb5238842e2f
4
+ data.tar.gz: ef05c9e7ae83f9263a7d86d516c559f7fa89dd5f
5
5
  SHA512:
6
- metadata.gz: cb326efb447f26b50ffceaaf272e177849962d7199edaa96f3e9ba0c041623e64379c437420dba0a9c4cea6427c741afbb00801de49386e4b1679f2782be3ed5
7
- data.tar.gz: afca747cd4fe39e13f2a1b60028631479dc81302aa49254db9da00a07c4a163adca4511add7f1440859723c992d0e83a3f3b0c56eca9726bf194867e69a58269
6
+ metadata.gz: 9ba18ed5233951a6037067390f48f03d38196d09c09ea3df666f9c6881f01882d6f2549bfe3fb31c591751558a8ab9673254b0338dcdf7762c10712c16481125
7
+ data.tar.gz: a351d06caafb902a0010294fd760bcf5b3acc0b4a22e69e5475cc4708cc8325a8b889f5158f910ced05e01455854e95a7c35fde8b451106149e702314923459c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rdm (0.4.5)
4
+ rdm (0.4.6)
5
5
  activesupport
6
6
  commander (~> 4.4)
7
7
 
@@ -77,4 +77,4 @@ DEPENDENCIES
77
77
  rubocop (~> 0.46)
78
78
 
79
79
  BUNDLED WITH
80
- 1.15.3
80
+ 1.15.4
@@ -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 = @package.nil?
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 && !@package
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
@@ -1,3 +1,3 @@
1
1
  module Rdm
2
- VERSION = '0.4.5'.freeze
2
+ VERSION = '0.4.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Droid Labs