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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +9 -3
- data/lib/minitest/rails/parallelize.rb +1 -1
- data/lib/minitest/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa50e02713d55083b622c4d5f70564e8698fd831eb6bbaf6b2082d38d8e76d9a
|
4
|
+
data.tar.gz: a60c1ef726a4c7f001af8b1986206f5bada9dd95bcc1b8415cdfc51c48bc235f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6854cf71a11e6361854b9a8a5277b7b7b9a659616070f2bb1726e8c7e62169ef4b91d7775e71879d3745d69e0f7cfa50713ad69e8145f615421ade06ee68241
|
7
|
+
data.tar.gz: 9d3d9ab0c4347539c47ea8f75e4a92355b1b0e764de143e3e54fbf479da299c531689ba14a1286391c12a45dae297a70401a2c3187d198c6fd61837bceb84268
|
data/CHANGELOG.md
CHANGED
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.
|
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",
|
27
|
+
gem "minitest-rails", "~> 6.0.0"
|
28
28
|
```
|
29
29
|
|
30
|
-
If you are running Rails 5.x, specify a
|
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
|
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.
|
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:
|
11
|
+
date: 2020-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|