sauce 3.5.8 → 3.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 837ecf15e5fc10190c322695f8c91f43e076272c
4
- data.tar.gz: fc76e9f6161d92363e4e97bcbba17983cf993756
3
+ metadata.gz: 484dfcd78bda89c2c669d66d80833ef5fc701ab3
4
+ data.tar.gz: ca3d241e0b92700565c94b76b4b9ba5168bb3fcf
5
5
  SHA512:
6
- metadata.gz: 820308b902e44d0275d81b5783d55de60185c49be46e12cd15610b183f3decf83455a411951c685c7ee1bd3457c576d1b48466962ff2c1d38d612146aaf063d4
7
- data.tar.gz: 3149a9407c0cf6cc41463861af7bceaf71cfe2d802520bfe05b166074d5e2e12a76a097401a5a785e2a9051655862f00889ff59515197f039bcec3ca76cd3e47
6
+ metadata.gz: a9002424513f146a979afebf03654cbab4b49b5848fd83b124bf00184041a003b33bed7f9425a7bc8745b5aa8f00ea78be41e4acb09f565fbb1f00cc9e4fd9bf
7
+ data.tar.gz: 28069e913cbddb82a0a21daa77f55f90a3388076def0065a64e29cc5ad86119bd01a4fc7d5c2f04a16edb7e4f67793eecbb35fcb808ba628a8797edf2efc71a3
@@ -6,21 +6,21 @@ module ParallelTests
6
6
  class Runner < ParallelTests::Cucumber::Runner
7
7
 
8
8
  def self.run_tests(test_files, process_number, num_processes, options)
9
- options = options.dup
9
+ our_options = options.dup
10
10
  sanitized_test_files = test_files.map { |val| Shellwords.escape(val) }
11
11
  env = Sauce::TestBroker.next_environment(test_files)
12
12
  env.merge!({"AUTOTEST" => "1"}) if $stdout.tty? # display color when we are in a terminal
13
- options.merge!({:env => env})
13
+ our_options.merge!({:env => env})
14
14
  cmd = [
15
15
  executable,
16
16
  (runtime_logging if File.directory?(File.dirname(runtime_log))),
17
- cucumber_opts(options[:test_options]),
17
+ cucumber_opts(our_options[:test_options]),
18
18
  *sanitized_test_files
19
19
  ].compact.join(" ")
20
20
  Sauce.logger.debug "Starting parallel process #{process_number} of #{num_processes}"
21
21
  Sauce.logger.debug " #{cmd}"
22
22
  Sauce.logger.debug " #{our_options}"
23
- execute_command(cmd, process_number, num_processes, options)
23
+ execute_command(cmd, process_number, num_processes, our_options)
24
24
  end
25
25
 
26
26
  def self.tests_in_groups(tests, num_groups, options={})
@@ -1,6 +1,6 @@
1
1
  module Sauce
2
2
  MAJOR_VERSION = '3.5'
3
- PATCH_VERSION = '8'
3
+ PATCH_VERSION = '9'
4
4
 
5
5
  def version
6
6
  "#{MAJOR_VERSION}.#{PATCH_VERSION}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sauce
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.8
4
+ version: 3.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Lacey
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2015-09-09 00:00:00.000000000 Z
17
+ date: 2015-09-15 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rspec