replica_pools 1.3.0 → 2.0.0

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: 87d48e4179aaed026e490fc8449b9b9b68f288cc
4
- data.tar.gz: 4892116bdad80f053398ca6939104ce7f2de74a6
3
+ metadata.gz: d68336f000e1bc2b7ad4a9543327efcf13742173
4
+ data.tar.gz: d23aaf716c7be63525f71f5dd1891ffc4fbbed57
5
5
  SHA512:
6
- metadata.gz: d98d3a9401f909fffdfad0eb313c1735c50d016d5bcd54186d61459ad20be23c5d2c83d97a451e1fbb2e39c11449058239790584c88e10f7088b11c06924c75a
7
- data.tar.gz: ff7aaeb624ca01d426b6938778500e12677bde3a9ed627b37cea77eaf1da7ebf8f42f17c7ae37e7b9b033b93ff03dfb608e5148fcf8667c42c77f4051a0a34b3
6
+ metadata.gz: c7f975243c4086d3217bb3f30fc1bd3a195835739b322048642063388ac562bf0cfb4ccbc0daf497e1cd76eacb6295138ed3071434a92b9ea5eef04da38cfd04
7
+ data.tar.gz: 0f4fde78bbb40b2159b2f593cd3ad7244038a8a54dd34d544398e4d462c8d1a962b033ce17fba8b22a78d681c62a8431c7424aba4a172876c56360d3d71c930e
@@ -108,8 +108,6 @@ module ReplicaPools
108
108
  rescue => e
109
109
  ReplicaPools.log :error, "Error during ##{method}: #{e}"
110
110
  log_proxy_state
111
-
112
- current.retrieve_connection.verify! # may reconnect
113
111
  raise e
114
112
  end
115
113
 
@@ -1,3 +1,3 @@
1
1
  module ReplicaPools
2
- VERSION = "1.3.0"
2
+ VERSION = "2.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: replica_pools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Drabik
@@ -9,90 +9,90 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-02-12 00:00:00.000000000 Z
12
+ date: 2015-04-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 3.2.12
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: 3.2.12
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: mysql2
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
34
  version: 0.3.11
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: 0.3.11
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rack
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rspec
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rake
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rails
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  description: Connection proxy for ActiveRecord for leader / replica setups.
@@ -101,6 +101,9 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
+ - LICENSE
105
+ - README.md
106
+ - lib/replica_pools.rb
104
107
  - lib/replica_pools/active_record_extensions.rb
105
108
  - lib/replica_pools/config.rb
106
109
  - lib/replica_pools/connection_proxy.rb
@@ -110,9 +113,6 @@ files:
110
113
  - lib/replica_pools/pools.rb
111
114
  - lib/replica_pools/query_cache.rb
112
115
  - lib/replica_pools/version.rb
113
- - lib/replica_pools.rb
114
- - LICENSE
115
- - README.md
116
116
  - spec/config/test_model.rb
117
117
  - spec/connection_proxy_spec.rb
118
118
  - spec/pool_spec.rb
@@ -129,17 +129,17 @@ require_paths:
129
129
  - lib
130
130
  required_ruby_version: !ruby/object:Gem::Requirement
131
131
  requirements:
132
- - - '>='
132
+ - - ">="
133
133
  - !ruby/object:Gem::Version
134
134
  version: '0'
135
135
  required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - '>='
137
+ - - ">="
138
138
  - !ruby/object:Gem::Version
139
139
  version: '1.2'
140
140
  requirements: []
141
141
  rubyforge_project:
142
- rubygems_version: 2.0.14
142
+ rubygems_version: 2.2.2
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Connection proxy for ActiveRecord for leader / replica setups.
@@ -150,4 +150,3 @@ test_files:
150
150
  - spec/query_cache_spec.rb
151
151
  - spec/slave_pools_spec.rb
152
152
  - spec/spec_helper.rb
153
- has_rdoc: