minitest-rails 6.0.0 → 6.0.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: 2b921c3dd87d259d36fef0caca313703d54e2511424345bd690e68b1e0038f01
4
- data.tar.gz: 78364825ca897c29a24088661f030e23f5f28f0975b03b4f57572ae2fbdf5383
3
+ metadata.gz: fa50e02713d55083b622c4d5f70564e8698fd831eb6bbaf6b2082d38d8e76d9a
4
+ data.tar.gz: a60c1ef726a4c7f001af8b1986206f5bada9dd95bcc1b8415cdfc51c48bc235f
5
5
  SHA512:
6
- metadata.gz: ee206d7fc8327c9a2973f7b94ccd9a626e9d2e21874bde6d6d5441ae8d41e2e3c45b26c7799317beebf017d05c0213611ef59383954f46a7c7c49c526bcd3acb
7
- data.tar.gz: '08df3ca3da5a524c8779d00c28f64d4692362ad6d7999d400d9e7b3ce62ceec2a004765f0e320461c6840f7832056188b53a8d813a597a911be083258ae74d7f'
6
+ metadata.gz: f6854cf71a11e6361854b9a8a5277b7b7b9a659616070f2bb1726e8c7e62169ef4b91d7775e71879d3745d69e0f7cfa50713ad69e8145f615421ade06ee68241
7
+ data.tar.gz: 9d3d9ab0c4347539c47ea8f75e4a92355b1b0e764de143e3e54fbf479da299c531689ba14a1286391c12a45dae297a70401a2c3187d198c6fd61837bceb84268
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ### 6.0.1 / 2020-01-14
4
+
5
+ Fix running parallel tests with relative paths
6
+
3
7
  ### 6.0.0 / 2019-08-16
4
8
 
5
9
  Supports Rails 6.0
data/README.md CHANGED
@@ -21,13 +21,19 @@ Create a new rails app:
21
21
 
22
22
  ### Choosing a version
23
23
 
24
- If you are running Rails 6.0 prerelease, set the gem using the github repo in the Gemfile:
24
+ If you are running Rails 6.x, specify a corresponding 6.x release in the Gemfile. For example, if you are using Rails 6.0 you will specify:
25
25
 
26
26
  ```ruby
27
- gem "minitest-rails", github: "blowmage/minitest-rails"
27
+ gem "minitest-rails", "~> 6.0.0"
28
28
  ```
29
29
 
30
- If you are running Rails 5.x, specify a 3.x release in the Gemfile:
30
+ If you are running Rails 5.x, specify a corresponding 5.x release in the Gemfile. For example, if you are using Rails 5.2 you will specify:
31
+
32
+ ```ruby
33
+ gem "minitest-rails", "~> 5.2.0"
34
+ ```
35
+
36
+ Or, if you prefer to run the previous release for Rails 5.x, specify a 3.x release in the Gemfile:
31
37
 
32
38
  ```ruby
33
39
  gem "minitest-rails", "~> 3.0"
@@ -30,7 +30,7 @@ module Kernel #:nodoc:
30
30
  cls_const = "Test__#{cls.name.to_s.split(/\W/).reject(&:empty?).join('_'.freeze)}"
31
31
  if block.source_location
32
32
  source_path, line_num = block.source_location
33
- source_path = Pathname.new(source_path).relative_path_from(Rails.root).to_s
33
+ source_path = Pathname.new(File.expand_path(source_path)).relative_path_from(Rails.root).to_s
34
34
  source_path = source_path.split(/\W/).reject(&:empty?).join("_".freeze)
35
35
  cls_const += "__#{source_path}__#{line_num}"
36
36
  end
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Rails
3
- VERSION = "6.0.0".freeze
3
+ VERSION = "6.0.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 6.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-16 00:00:00.000000000 Z
11
+ date: 2020-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest