parallel_tests 2.30.1 → 2.31.0

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
  SHA256:
3
- metadata.gz: c3e75858689c5fc82e84f5eca9e1b1571bd5664c5d966585e0ff5aca45d0c09f
4
- data.tar.gz: cf34d1799db00d86cd2500da6e4397b6efa75acd188bda390329c4fbd11e3767
3
+ metadata.gz: a0b6addd209dbb49dda473daeff244cb75c1ce61ad55ccef3a2ceeea10294e94
4
+ data.tar.gz: 6c24281c43a6de6925850686a53ab0e6608600b674ce98af083cf60a4caf288b
5
5
  SHA512:
6
- metadata.gz: 06663c06beb11ace364a69de7ce67502816a23ddc49cea7eaf279860c7764997be9d46baafec415a5a25ddf8e7aab942a486feeae4467897e48563e2a5297e3d
7
- data.tar.gz: 8a0e51b1df5888700579e6b83d5e3993b67c82dbc35e1022c951bac53987065b369348f0afad279353ab7a80266ead92d255c9e69cc47d189d6dcd771fa67b77
6
+ metadata.gz: aff03d12f4ef9c39091a71f9380a6d4797626b36504c725c5246142a893bc036c65658514bf8811dcd5f7eac4f4c16b32c7c0517d450b992dc219e64ad959df2
7
+ data.tar.gz: 6b610bffd4628ec692c20bc2b564f9e13f78dda7e943d2286ccc9bfda5ad51a0bc7d8b6fd1898e31ace898d57e03bdc5335fb7d44289619114d4d43ed0e26664
@@ -2,6 +2,7 @@ require 'optparse'
2
2
  require 'tempfile'
3
3
  require 'parallel_tests'
4
4
  require 'shellwords'
5
+ require 'pathname'
5
6
 
6
7
  module ParallelTests
7
8
  class CLI
@@ -239,7 +240,7 @@ module ParallelTests
239
240
  files, remaining = extract_file_paths(argv)
240
241
  unless options[:execute]
241
242
  abort "Pass files or folders to run" unless files.any?
242
- options[:files] = files
243
+ options[:files] = files.map { |file_path| Pathname.new(file_path).cleanpath.to_s }
243
244
  end
244
245
 
245
246
  append_test_options(options, remaining)
@@ -1,3 +1,3 @@
1
1
  module ParallelTests
2
- VERSION = Version = '2.30.1'
2
+ VERSION = Version = '2.31.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.30.1
4
+ version: 2.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-14 00:00:00.000000000 Z
11
+ date: 2020-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel
@@ -67,8 +67,8 @@ licenses:
67
67
  - MIT
68
68
  metadata:
69
69
  bug_tracker_uri: https://github.com/grosser/parallel_tests/issues
70
- documentation_uri: https://github.com/grosser/parallel_tests/blob/v2.30.1/Readme.md
71
- source_code_uri: https://github.com/grosser/parallel_tests/tree/v2.30.1
70
+ documentation_uri: https://github.com/grosser/parallel_tests/blob/v2.31.0/Readme.md
71
+ source_code_uri: https://github.com/grosser/parallel_tests/tree/v2.31.0
72
72
  wiki_uri: https://github.com/grosser/parallel_tests/wiki
73
73
  post_install_message:
74
74
  rdoc_options: []