rspec-multiprocess_runner 1.4.0 → 1.4.1

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
  SHA256:
3
- metadata.gz: 5db8e2b7a581f2f118ff96bfa49e4bb4ff6ef2f942d278ef517f3475f42143fc
4
- data.tar.gz: 3f80829a8f711c0df232e203edb229fb29a9d3bd20eaa8a61e540c47e83f2031
3
+ metadata.gz: 9e0686de0f6ec92d9bfd7eddfb6a8c6ed3a781337dfa8557a49f3034eeff9fdf
4
+ data.tar.gz: 61a4bc72b7bff1eace52541606b2b1d9a38bfe2c0a0ae6e6b110947824ddeda8
5
5
  SHA512:
6
- metadata.gz: a7a592c353aa4f5002333c6d8dfe9f27067e2df2f9c01b6743bae6c7da16155168e27d35ba60f3850b4c08ba55f3fc54e92d81f933109135cd1dbf6b5b2a01b7
7
- data.tar.gz: 7ada8000d1137998bc8f6b5e6204186d3a0c3b29e3b67316beed6edd86f2031b7f22846fbaf4febfb11563f652aff1b747712090bac7c573b729b94e5721f5b3
6
+ metadata.gz: 64e0d567808840b2672055500fa190e998fd66a08a8459e7456aaa3b3f417197ba4a763f36493a31513060384fb0b0a67bd3686865d503cac4ca6d707189b3eb
7
+ data.tar.gz: 72767efc1dfefeb4db2632dab59a9e098e7492475451f90589b5bbee54fcc93455088113ae37e3f514e005aa35e216a8e66bc22241e295bd1f1370d58c92d47c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.4.1
2
+
3
+ * Fix file coordinator helpers failing due to unknown method on command line args
4
+
1
5
  # 1.4.0
2
6
 
3
7
  * Fix issue catching spec files failing outside of tests (it will now die loudly instead of passing silently).
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec-multiprocess_runner (1.3.0)
4
+ rspec-multiprocess_runner (1.4.1.pre)
5
5
  rspec (>= 3.0)
6
6
 
7
7
  GEM
@@ -1,6 +1,7 @@
1
1
  # encoding: utf-8
2
2
  require 'rspec/multiprocess_runner'
3
3
  require 'socket'
4
+ require 'json'
4
5
  require 'set'
5
6
 
6
7
  module RSpec::MultiprocessRunner
@@ -14,7 +15,7 @@ module RSpec::MultiprocessRunner
14
15
  COMMAND_FINISHED = "finished"
15
16
  COMMAND_START = "start"
16
17
 
17
- def initialize(files, options={})
18
+ def initialize(files, options=RSpec::MultiprocessRunner::CommandLineOptions.new)
18
19
  @spec_files = []
19
20
  @results = Set.new
20
21
  @threads = []
@@ -123,7 +124,7 @@ module RSpec::MultiprocessRunner
123
124
  break unless raw_response
124
125
  command, results, node = JSON.parse(raw_response)
125
126
  if command == COMMAND_START
126
- if results == options.start_string
127
+ if results == options.run_identifier
127
128
  socket.puts COMMAND_START
128
129
  else
129
130
  socket.puts COMMAND_FINISHED
@@ -144,7 +145,7 @@ module RSpec::MultiprocessRunner
144
145
 
145
146
  def start?
146
147
  begin
147
- @node_socket.puts [COMMAND_START, options.start_string].to_json
148
+ @node_socket.puts [COMMAND_START, options.run_identifier].to_json
148
149
  response = @node_socket.gets
149
150
  response = response.chomp if response
150
151
  raise BadStartStringError if response == COMMAND_FINISHED
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module MultiprocessRunner
3
- VERSION = "1.4.0"
3
+ VERSION = "1.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-multiprocess_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rhett Sutphin
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2019-10-14 00:00:00.000000000 Z
14
+ date: 2019-12-14 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rspec