cypress-rails 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2044306eee0e5e184bd9c1166e2906648a05015c03a28290634374683ff49ff4
4
- data.tar.gz: 3e3cc908007c231913778a3627864a40520edd6ef7e0de6a735d2fbf0597b820
3
+ metadata.gz: e85a638994d0276ebc68b10800509df072561944bc81b3a160a6b23ddbe2ee72
4
+ data.tar.gz: 8e89d33888cf976c47dfec25f570a4c7631a86d1756d7561bb4cb79bc6204f6a
5
5
  SHA512:
6
- metadata.gz: 81bb4a5648105bf5660dd55f3c77fc7a2cbbd4a0fb82e1f6b6cbc563aa8baa57f2e29d8018418e6b3649decdb5e249e6f31f2164df5a79b3c35deed16d12bedb
7
- data.tar.gz: 9c25c2109428646b925254e85f5c893db6ef9ca5993a7cb31568f176e42c4b01c45011875521845bf280b6c7822eed2b8e55a7798ba5d704257f21cbadeaa1e1
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.3)
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.9.2)
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
- writing_handler = ActiveRecord::Base.connection_handler
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|
@@ -1,3 +1,3 @@
1
1
  module CypressRails
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
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.3
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-16 00:00:00.000000000 Z
11
+ date: 2020-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties