redis-activesupport 4.1.4 → 4.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_support/cache/redis_store.rb +4 -4
- data/redis-activesupport.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08111437f7c13d726c3d0a9596c32e953fff51c6
|
4
|
+
data.tar.gz: 1872180c2cd4e0e7399dc1cb91d3d32b3893d2fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40ed94c1e18f499a7f057f726a017699c3869976423a544ad1d08076d46f120bccc806c107be809c4d41039bb2acd5eceae330f1c36b0d331c486bba1f0c05d7
|
7
|
+
data.tar.gz: 5c4870cb7b4523c8acf728fac8890dc7ec11a1e890abafe74c2a3dee000a1bd6bbe02a16b82d8c73686241207c844d6d9e08fc3b6fe4788fb70a599020b1b181
|
@@ -78,7 +78,7 @@ module ActiveSupport
|
|
78
78
|
with do |store|
|
79
79
|
!(keys = store.keys(matcher)).empty? && store.del(*keys)
|
80
80
|
end
|
81
|
-
rescue Errno::ECONNREFUSED, Redis::CannotConnectError => e
|
81
|
+
rescue Errno::ECONNREFUSED, Errno::EHOSTUNREACH, Redis::CannotConnectError => e
|
82
82
|
raise if raise_errors?
|
83
83
|
false
|
84
84
|
end
|
@@ -221,7 +221,7 @@ module ActiveSupport
|
|
221
221
|
def write_entry(key, entry, options)
|
222
222
|
method = options && options[:unless_exist] ? :setnx : :set
|
223
223
|
with { |client| client.send method, key, entry, options }
|
224
|
-
rescue Errno::ECONNREFUSED, Redis::CannotConnectError => e
|
224
|
+
rescue Errno::ECONNREFUSED, Errno::EHOSTUNREACH, Redis::CannotConnectError => e
|
225
225
|
raise if raise_errors?
|
226
226
|
false
|
227
227
|
end
|
@@ -231,7 +231,7 @@ module ActiveSupport
|
|
231
231
|
if entry
|
232
232
|
entry.is_a?(ActiveSupport::Cache::Entry) ? entry : ActiveSupport::Cache::Entry.new(entry)
|
233
233
|
end
|
234
|
-
rescue Errno::ECONNREFUSED, Redis::CannotConnectError => e
|
234
|
+
rescue Errno::ECONNREFUSED, Errno::EHOSTUNREACH, Redis::CannotConnectError => e
|
235
235
|
raise if raise_errors?
|
236
236
|
nil
|
237
237
|
end
|
@@ -243,7 +243,7 @@ module ActiveSupport
|
|
243
243
|
#
|
244
244
|
def delete_entry(key, options)
|
245
245
|
entry = with { |c| c.del key }
|
246
|
-
rescue Errno::ECONNREFUSED, Redis::CannotConnectError => e
|
246
|
+
rescue Errno::ECONNREFUSED, Errno::EHOSTUNREACH, Redis::CannotConnectError => e
|
247
247
|
raise if raise_errors?
|
248
248
|
false
|
249
249
|
end
|
data/redis-activesupport.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'redis-activesupport'
|
6
|
-
s.version = '4.1.
|
6
|
+
s.version = '4.1.5'
|
7
7
|
s.authors = ['Luca Guidi', 'Ryan Bigg']
|
8
8
|
s.email = ['me@lucaguidi.com', 'me@ryanbigg.com']
|
9
9
|
s.homepage = 'http://redis-store.org/redis-activesupport'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-activesupport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-10
|
12
|
+
date: 2015-11-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis-store
|