test_launcher 2.24.0 → 2.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/test_launcher/frameworks/minitest.rb +11 -8
- data/lib/test_launcher/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: 8d48dd23ffd366923066ff7af6bac9db3498da3452cae8947baaf4b115b740fb
|
4
|
+
data.tar.gz: 8a3f716b8565ba819d1ba07b63c23fffaf9610238806f6aa53bb3f43f6a168fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f43dddddba62e2c0eafb256ad3774301e04fc7deb3459391bd89f80f39125ffa0d2dcbd45f751aba7fc154cc74ab3e352a02fb23812a7be81dee5aaa8ef353d
|
7
|
+
data.tar.gz: c0d58207139463c19f4bb610a0a9bf8d86e762088e22fc84e3fca6ba5ea437c17cc21e4d3e60142867c304a57c5661ace04649157cb0b0287cc5c408c24a74d5
|
@@ -147,7 +147,7 @@ Open an issue on https://github.com/petekinnecom/test_launcher if this is someth
|
|
147
147
|
class TestCase < Base::TestCase
|
148
148
|
def example_runner
|
149
149
|
if spring_enabled?
|
150
|
-
"
|
150
|
+
"#{spring_runner} rails test"
|
151
151
|
else
|
152
152
|
"bundle exec ruby -I test"
|
153
153
|
end
|
@@ -155,7 +155,7 @@ Open an issue on https://github.com/petekinnecom/test_launcher if this is someth
|
|
155
155
|
|
156
156
|
def file_runner
|
157
157
|
if spring_enabled?
|
158
|
-
"
|
158
|
+
"#{spring_runner} rails test"
|
159
159
|
else
|
160
160
|
"bundle exec ruby -I test -e 'ARGV.each {|f| require(f)}'"
|
161
161
|
end
|
@@ -169,12 +169,15 @@ Open an issue on https://github.com/petekinnecom/test_launcher if this is someth
|
|
169
169
|
return false if request.disable_spring?
|
170
170
|
return true if request.force_spring?
|
171
171
|
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
172
|
+
File.exist?(File.join(app_root, "bin/spring"))
|
173
|
+
end
|
174
|
+
|
175
|
+
def spring_runner
|
176
|
+
if File.exist?(File.join(app_root, "bin/spring"))
|
177
|
+
"bin/spring"
|
178
|
+
else
|
179
|
+
"bundle exec spring"
|
180
|
+
end
|
178
181
|
end
|
179
182
|
|
180
183
|
def example
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_launcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Kinnecom
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04
|
11
|
+
date: 2020-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|