active_house 0.6.5 → 0.6.6

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: aba219aae4f2cb3ba08c8440b242058347c26df7
4
- data.tar.gz: c591c24a4c0ec08dceab1ea5c70ffc6a77f768e1
3
+ metadata.gz: aef56e2b59c4b55300d5f8757223ca0828211077
4
+ data.tar.gz: 7cd17faa5e1c2cda1b13c99a586db4a6702e2713
5
5
  SHA512:
6
- metadata.gz: 1ac453090a26362fece0925c7b86aebb9fb1211b8593547e104fcd06898b0e63e94747bd077582a0a8da79712fe88850ca2d11a7067bdf9041fda524e931e3e2
7
- data.tar.gz: b1cc1836e95fb36af843cf390a87883fcb99b61279d39066a0590a2dd8ed33b1b2253da73343de1393e3a8e0f69d7af6b5243737dc2c9dd9de32b5956a2eb0ba
6
+ metadata.gz: a8c2732364f3273985ce411a1c217b7e0f49465adf1ae965a38e0dc44de190a48479e4163ac68bdc72b7f350b6da9142160807a043bd40676bd7e278e6318bb2
7
+ data.tar.gz: 050af80a79b2d04da52a9fae8a38a65d1888f70eab423c64e1c79f1bbe8bd705212921d32778b8499b27e1e1173feb37d9835393dd877c1a49d330bfa56b27b9
@@ -15,11 +15,11 @@ module ActiveHouse
15
15
 
16
16
  class_methods do
17
17
  def _connection
18
- Thread[name]
18
+ Thread.current[name]
19
19
  end
20
20
 
21
21
  def _connection=(value)
22
- Thread[name] = value
22
+ Thread.current[name] = value
23
23
  end
24
24
 
25
25
  def ensure_connection
@@ -1,3 +1,3 @@
1
1
  module ActiveHouse
2
- VERSION = '0.6.5'.freeze
2
+ VERSION = '0.6.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_house
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Talakevich