parallel_tests 4.5.0 → 4.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Readme.md +1 -0
- data/lib/parallel_tests/spinach/runner.rb +1 -1
- data/lib/parallel_tests/tasks.rb +2 -1
- data/lib/parallel_tests/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bc74b63cad256605166ebf5a38eec903a6228840ebffdb8d429328826da2fa9
|
4
|
+
data.tar.gz: 8152bc8756961eb1ab5fb2a09401a6e2b89718d42775877786596cc0c68148e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2ad6b9c0fb373cf08d62092c9ea53e2df34c25fd69e1f985eff09ee8ca922bf80dd636152fa41034b4fd7335dd18f767e49f9529caa7c1beddb540bc6355069
|
7
|
+
data.tar.gz: d6722c168aa8355b54c6e5c577870e7b99f1c11c6c60412b08ecf6b871cd70e70a6518e13d63487ce4cad36ea2cb0bf598914f42bc4ae21625213ae564c13ee9
|
data/Readme.md
CHANGED
@@ -437,6 +437,7 @@ inspired by [pivotal labs](https://blog.pivotal.io/labs/labs/parallelize-your-rs
|
|
437
437
|
- [Jon Dufresne](https://github.com/jdufresne)
|
438
438
|
- [Eric Kessler](https://github.com/enkessler)
|
439
439
|
- [Adis Osmonov](https://github.com/adis-io)
|
440
|
+
- [Josh Westbrook](https://github.com/joshwestbrook)
|
440
441
|
|
441
442
|
[Michael Grosser](http://grosser.it)<br/>
|
442
443
|
michael@grosser.it<br/>
|
data/lib/parallel_tests/tasks.rb
CHANGED
@@ -138,7 +138,8 @@ module ParallelTests
|
|
138
138
|
# Use nil to represent all databases
|
139
139
|
block&.call(nil)
|
140
140
|
|
141
|
-
|
141
|
+
# skip if not rails or old rails version
|
142
|
+
return if !defined?(ActiveRecord::Tasks::DatabaseTasks) || !ActiveRecord::Tasks::DatabaseTasks.respond_to?(:for_each)
|
142
143
|
|
143
144
|
ActiveRecord::Tasks::DatabaseTasks.for_each(configured_databases) do |name|
|
144
145
|
block&.call(name)
|
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: 4.5.
|
4
|
+
version: 4.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|
@@ -69,8 +69,8 @@ licenses:
|
|
69
69
|
- MIT
|
70
70
|
metadata:
|
71
71
|
bug_tracker_uri: https://github.com/grosser/parallel_tests/issues
|
72
|
-
documentation_uri: https://github.com/grosser/parallel_tests/blob/v4.5.
|
73
|
-
source_code_uri: https://github.com/grosser/parallel_tests/tree/v4.5.
|
72
|
+
documentation_uri: https://github.com/grosser/parallel_tests/blob/v4.5.1/Readme.md
|
73
|
+
source_code_uri: https://github.com/grosser/parallel_tests/tree/v4.5.1
|
74
74
|
wiki_uri: https://github.com/grosser/parallel_tests/wiki
|
75
75
|
post_install_message:
|
76
76
|
rdoc_options: []
|