seamless_database_pool 1.0.16 → 1.0.17

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
  SHA1:
3
- metadata.gz: 03e34fd35e31a1aedfa669fb8dc9c44fee522eff
4
- data.tar.gz: 4079cd1c5eb54ca43c751c542ec31af48e175a43
3
+ metadata.gz: 87e18b0e58926f6f71bd8f9850020bdcc3ce067f
4
+ data.tar.gz: 76977bb0e86a07279caff2fcf26a463c64866455
5
5
  SHA512:
6
- metadata.gz: a8ce9df9ebb8686377dbf6033086311441cf6bfd86a48798eb7c3d3dcc6a31cbbbc2e32b56d43cfbfc6c57dee8ed0cdd4a888e3cea98e9a6a9f7992abae05742
7
- data.tar.gz: fe5170dd7af5af551b240765339afbd365b986f9b359ac36fbc907933f33488c2cba872e5643e269905a4cf2b2e04c36e88e96450aae8eba71f0c185ea179f16
6
+ metadata.gz: 2205e7dd760e02835a043464a69e37a5f168261d7d0bde192a6c92bcc4edfc90a4af2612ab6b01524fd7b5b3d570caab7915ea53aff59dcc6904c81a1e9ab091
7
+ data.tar.gz: 3008995d6ff8d27562fefe1bf2ded47e8ba05a1f8773abca1ad9c242d3846a4fe08ced9564db71faec9ca7ac8bea8d97e3cf1b16d45dae71c9a02efb089f2df0
@@ -101,7 +101,7 @@ module SeamlessDatabasePool
101
101
  read_pool_method = nil
102
102
  if session
103
103
  read_pool_method = session[:next_request_db_connection]
104
- session[:next_request_db_connection] = nil
104
+ session.delete(:next_request_db_connection) if session[:next_request_db_connection]
105
105
  end
106
106
 
107
107
  read_pool_method ||= seamless_database_pool_options[action.to_sym] || seamless_database_pool_options[:all]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seamless_database_pool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.16
4
+ version: 1.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-19 00:00:00.000000000 Z
11
+ date: 2014-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  version: '0'
140
140
  requirements: []
141
141
  rubyforge_project:
142
- rubygems_version: 2.2.2
142
+ rubygems_version: 2.3.0
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Add support for master/slave database clusters in ActiveRecord to improve