forking_test_runner 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/forking_test_runner/version.rb +1 -1
- data/lib/forking_test_runner.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23fa3a9a4b20f865028013a80f1cbe81745d74b5
|
4
|
+
data.tar.gz: 6d29998593e3c18a29bd0c836bf6807252c4e3fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee7953698a589e8104fd7fdc8d587860465e6e71de200baa7726a1c94744ef4931d89ea4cacc9b03a1ae135d990a02f6eb2abcbc3e983cd48eb76c219b23ab38
|
7
|
+
data.tar.gz: 71eabd54e0ddb54a916295e14d3affdf127ec9582927e237c07516ced6cd3c1c606ec92430e0b07077c5aef41eb07d1e62cc6c68c5ed651490921b05187df08d
|
data/lib/forking_test_runner.rb
CHANGED
@@ -111,7 +111,8 @@ module ForkingTestRunner
|
|
111
111
|
fixtures = (ActiveSupport::VERSION::MAJOR == 3 ? ActiveRecord::Fixtures : ActiveRecord::FixtureSet)
|
112
112
|
|
113
113
|
# reuse our pre-loaded fixtures even if we have a different connection
|
114
|
-
fixtures
|
114
|
+
fixtures_eigenclass = class << fixtures; self; end
|
115
|
+
fixtures_eigenclass.send(:define_method, :cache_for_connection) do |_connection|
|
115
116
|
fixtures.class_variable_get(:@@all_cached_fixtures)[:unique]
|
116
117
|
end
|
117
118
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forking_test_runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.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: 2015-03-
|
11
|
+
date: 2015-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel_tests
|