protobuf-activerecord 3.4.1 → 3.4.2

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: ebc245c4934bb032e7a18e358fb1c7be673fc11a
4
- data.tar.gz: 7b11a221ba2fbd360e924505a7eebea8ee4b57bf
3
+ metadata.gz: 074c646ef762ad239a0799d0ed9c49fbc8266a42
4
+ data.tar.gz: 6432cb4876d046648373a99d766b9bf8de75817a
5
5
  SHA512:
6
- metadata.gz: 7d16bf91852009e0e1136e90f11d5d26ce74b5b7419d94691c12deb9757b6845a70a8b97746f5ca33ae90ac04404ff85e6f9b6dcbca2e34e9c706031c7e1ea8d
7
- data.tar.gz: 380dd7097b4376f594ecb0a24a06fab962efefbc9eb8b854259472181e4db67942537004d1696a3b0ef6a4d398e57d0d6586b5672a820d0e3488c0f01ed9815a
6
+ metadata.gz: b0a2b7a775dc72d594e6ae468f85aa12a3b1b2d8c64f380aa8d5290d35a9da2277103b8544a48ec40ef1cdfcb3ace42211eae4faee29514ce1c14ad8d48deead
7
+ data.tar.gz: 1fad2952ac3debfad0cf9865a7a76bb2e45c90631797bd1058a03899b2d6c28b5d9e4f891b2b9d4fcfbf6dfe3856ec34a5fd37b79045ec75de6c7761c58c6ddd
@@ -39,7 +39,9 @@ module Protobuf
39
39
 
40
40
  def call(env)
41
41
  def call(env)
42
- @app.call(env)
42
+ ::ActiveRecord::Base.connection_pool.with_connection do
43
+ @app.call(env)
44
+ end
43
45
  end
44
46
 
45
47
  self.class.start_timed_task!
@@ -1,5 +1,5 @@
1
1
  module Protobuf
2
2
  module ActiveRecord
3
- VERSION = "3.4.1"
3
+ VERSION = "3.4.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protobuf-activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.1
4
+ version: 3.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Hutchison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-23 00:00:00.000000000 Z
11
+ date: 2017-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord