cypress-rails 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/cypress-rails/manages_transactions.rb +2 -1
- data/lib/cypress-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: e85a638994d0276ebc68b10800509df072561944bc81b3a160a6b23ddbe2ee72
|
|
4
|
+
data.tar.gz: 8e89d33888cf976c47dfec25f570a4c7631a86d1756d7561bb4cb79bc6204f6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70ba5dbaacfeefcbcc2bf5e015dc1eaceb1a3dfa506fea499247c0321e00caac3ff8e95d22c9188f4299d0536f34abc1ca1656dd2b48052183d8f86915286980
|
|
7
|
+
data.tar.gz: d5498dba5154d8c2f2e277f251fcdd6a6d75011a03887e22bd5dafa3091e78bb31d5c47f99f737cf4fd2429122b14973ab861ec006b674a4391deed21f660237
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
cypress-rails (0.1.
|
|
4
|
+
cypress-rails (0.1.4)
|
|
5
5
|
puma (>= 3.8.0)
|
|
6
6
|
railties (>= 5.2.0)
|
|
7
7
|
|
|
@@ -38,7 +38,7 @@ GEM
|
|
|
38
38
|
loofah (2.4.0)
|
|
39
39
|
crass (~> 1.0.2)
|
|
40
40
|
nokogiri (>= 1.5.9)
|
|
41
|
-
method_source (0.
|
|
41
|
+
method_source (1.0.0)
|
|
42
42
|
mini_portile2 (2.4.0)
|
|
43
43
|
minitest (5.14.0)
|
|
44
44
|
nio4r (2.5.2)
|
|
@@ -68,8 +68,9 @@ module CypressRails
|
|
|
68
68
|
# need to share a connection pool so that the reading connection
|
|
69
69
|
# can see data in the open transaction on the writing connection.
|
|
70
70
|
def setup_shared_connection_pool
|
|
71
|
-
|
|
71
|
+
return unless ActiveRecord::Base.respond_to?(:connection_handlers)
|
|
72
72
|
|
|
73
|
+
writing_handler = ActiveRecord::Base.connection_handler
|
|
73
74
|
ActiveRecord::Base.connection_handlers.values.each do |handler|
|
|
74
75
|
if handler != writing_handler
|
|
75
76
|
handler.connection_pool_list.each do |pool|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cypress-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Searls
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-03-
|
|
11
|
+
date: 2020-03-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|