advanced_connection 0.5.11 → 0.5.12

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: a43e47eb2c14b64c8acf1d46555d6a43a89df4b8
4
- data.tar.gz: 723d912c72bebe16647a66fb0b2407a8ea6baf1f
3
+ metadata.gz: 0ca32aa10dbd8b756bb82f0d2592a13ca1155ecc
4
+ data.tar.gz: 75a52b7b6983556c3c1c86670d60b419e1a42e23
5
5
  SHA512:
6
- metadata.gz: 462ee604305314558feab816f4dd61ff75d475ba22ccbd5ae20ebee1b0864218060deec40b18efd4f3fc6697be592115e8fb76f45795790af686130767e15d23
7
- data.tar.gz: f97224fd909513cdd586c7d03856722416c95a9022bc232bce509fc3355e87ce1e8a8a0dcb48f8361b7a87a27655fca017bed458a5984260624f9d245ac0c6d6
6
+ metadata.gz: b48c3f8b4453614e6ee45d729f883b1a73112ccf88de8a947ca278815703817585764b0b4d1062e24b4708dd2172b75ffa023535de4e9d3a4ca421804664b331
7
+ data.tar.gz: 44d5368de1b9a5d70696ba8a0a726c728dfcb33cfd7ae5345bcc99f483c9e5c0e82542498c77b59ee5dea3e6c75731079fc0268b2bdcc4aa103c8e4626f55ed5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- advanced_connection (0.5.11)
4
+ advanced_connection (0.5.12)
5
5
  activerecord (~> 4.1)
6
6
  activesupport (~> 4.1)
7
7
  rails (~> 4.1)
@@ -218,6 +218,3 @@ DEPENDENCIES
218
218
  rspec (~> 3.4.0)
219
219
  rspec-collection_matchers (~> 1.1.2)
220
220
  rspec-its (~> 1.2.0)
221
-
222
- BUNDLED WITH
223
- 1.11.2
@@ -27,7 +27,7 @@ module AdvancedConnection::ActiveRecordExt
27
27
  synchronize { @queue.size }
28
28
  end
29
29
  end
30
- FIFO = Queues
30
+ FIFO = Queues::Default
31
31
 
32
32
  class Stack < Default
33
33
  def remove
@@ -27,7 +27,8 @@ module AdvancedConnection
27
27
  ActiveSupport.on_load(:before_initialize) do
28
28
  ActiveSupport.on_load(:active_record) {
29
29
  # load our intitializer ASAP so we can make use of user defined configuration
30
- load Rails.root.join('config', 'initializers', 'advanced_connection.rb')
30
+ initializer = Rails.root.join('config', 'initializers', 'advanced_connection.rb')
31
+ load initializer if initializer.exist?
31
32
 
32
33
  # now override the settings with environment speicific ones
33
34
  AdvancedConnection.configure(true) do |ac_cfg|
@@ -22,7 +22,7 @@
22
22
  module AdvancedConnection
23
23
  MAJOR = 0
24
24
  MINOR = 5
25
- PATCH = 11
25
+ PATCH = 12
26
26
 
27
27
  VERSION = "%d.%d.%d" % [ MAJOR, MINOR, PATCH ]
28
28
  GEM_VERSION = Gem::Version.new(VERSION)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: advanced_connection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11
4
+ version: 0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carl P. Corliss
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-19 00:00:00.000000000 Z
11
+ date: 2016-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -335,7 +335,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
335
335
  version: '0'
336
336
  requirements: []
337
337
  rubyforge_project:
338
- rubygems_version: 2.5.1
338
+ rubygems_version: 2.4.3
339
339
  signing_key:
340
340
  specification_version: 4
341
341
  summary: Provides advanced connection options for rails connection pools