parallel_rspec 2.4.1 → 2.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +5 -1
- data/lib/parallel_rspec/tasks.rake +7 -1
- data/lib/parallel_rspec/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: 1ff66f78e121832aa63d701f6ccdbad7f0e76747920fdb570a0dac970f5751d6
|
4
|
+
data.tar.gz: 78f43be514c147aee8da49aa1daf96d5c4696c98a04fa077c771c11d371e3a95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff8609608db21a3f68ee998eb2d049852a4b38237b655b6cf7654f5cc9d2c0d45169485dd56c9f5db8df45e0461b8f6f7f8e7d42b2e12514ca66a4a451d4be7e
|
7
|
+
data.tar.gz: 6c99ff616b0c5b3d56bbf53469802e04c897beb18bb9f7f04a4a44de91fd863648ecddfb2e4d36046655611cb98931db5c601c2dcba4a55d58cb85b636024b50
|
data/CHANGES.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 2.4.2
|
4
|
+
|
5
|
+
* Fix more calls to deprecated `ActiveRecord::Base.configurations[]`.
|
6
|
+
|
3
7
|
## 2.4.1
|
4
8
|
|
5
9
|
* Exit workers promptly if asked to quit.
|
@@ -23,7 +27,7 @@
|
|
23
27
|
|
24
28
|
## 2.1.1
|
25
29
|
|
26
|
-
* Fix deprecation warnings from ActiveRecord::Base.configurations[]
|
30
|
+
* Fix deprecation warnings from `ActiveRecord::Base.configurations[]`.
|
27
31
|
|
28
32
|
## 2.1.0
|
29
33
|
|
@@ -40,7 +40,13 @@ db_namespace = namespace :db do
|
|
40
40
|
end
|
41
41
|
ensure
|
42
42
|
if should_reconnect
|
43
|
-
ActiveRecord::Base.
|
43
|
+
if ActiveRecord::Base.configurations.respond_to?(:configs_for)
|
44
|
+
ActiveRecord::Base.configurations.configs_for(env_name: 'test').each do |configuration|
|
45
|
+
ActiveRecord::Base.establish_connection(configuration)
|
46
|
+
end
|
47
|
+
else
|
48
|
+
ActiveRecord::Base.establish_connection(ActiveRecord::Base.configurations['test'])
|
49
|
+
end
|
44
50
|
end
|
45
51
|
end
|
46
52
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parallel_rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Will Bryant, Powershop New Zealand Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|