active_replicas 0.5.0 → 0.5.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5449461c40a999c9979801ce9395a9a7f3c43d3
4
- data.tar.gz: 3a222a36c5715a2ae8709f7359d77ec3210114a3
3
+ metadata.gz: ed043737920b3c4d469a10e519661b0a2286b2fc
4
+ data.tar.gz: 16d57da783195cbfe30d0ee50ecf0dd356f29e1d
5
5
  SHA512:
6
- metadata.gz: 3ce1364563eff9ec842ad01446747f45c0815cca827a251411158f3b7d67d481a930e6af8bedddc32219b561e311753c9406cfe3e5873a0cccc1afcfb5b55e57
7
- data.tar.gz: 17314509e2bdfdc639bc9c608d03e050a5f291f1a2cead0057e4ebd05ff3bbf5d90809bbdd3def2d21581bd0be1526205c86b19fc47acaee6a5389b7d5bbce2c
6
+ metadata.gz: 4a1d0716b0f0a9a1525e6e1eaa6725a6df38c17a76066776379bb027ac81cf0f0a27881f0017e2d62dc4c5b3341bd36da8c5cc30f51afb8ad11eb722619a29dc
7
+ data.tar.gz: b1cfe3a66840eb436dab5cb495ed0aedf9814e72d88020c69762dec51cf569f1078ff989f4709ca5c59b46302a181eab28f6d4449f07759a7545419e3464f0e8
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- active_replicas (0.4.0)
4
+ active_replicas (0.5.1)
5
5
  concurrent-ruby (~> 1.0)
6
6
 
7
7
  GEM
@@ -15,7 +15,7 @@ module ActiveReplicas
15
15
  sql = payload[:sql]
16
16
  binds = nil
17
17
 
18
- proxy = ActiveRecord::Base.connection_handler.proxying_connection_pool
18
+ proxy = ActiveRecord::Base.connection_handler.retrieve_handler.current_proxy
19
19
  connection_pool = proxy.pool_which_owns_connection payload[:connection_id]
20
20
  if connection_pool
21
21
  role =
@@ -1,3 +1,3 @@
1
1
  module ActiveReplicas
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_replicas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dirk Gadsden
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-10 00:00:00.000000000 Z
11
+ date: 2016-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby