couchrest_session_store 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/couchrest_session_store.gemspec +1 -1
- data/lib/couchrest/session/store.rb +1 -0
- metadata +2 -2
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|
14
14
|
gem.files = `git ls-files`.split("\n")
|
15
15
|
gem.name = "couchrest_session_store"
|
16
16
|
gem.require_paths = ["lib"]
|
17
|
-
gem.version = '0.3.
|
17
|
+
gem.version = '0.3.1'
|
18
18
|
|
19
19
|
gem.add_dependency "couchrest"
|
20
20
|
gem.add_dependency "couchrest_model"
|
@@ -59,6 +59,7 @@ class CouchRest::Session::Store < ActionDispatch::Session::AbstractStore
|
|
59
59
|
return sid
|
60
60
|
# if we can't store the session we just return false.
|
61
61
|
rescue RestClient::Unauthorized,
|
62
|
+
RestClient::ServiceUnavailable,
|
62
63
|
Errno::EHOSTUNREACH,
|
63
64
|
Errno::ECONNREFUSED => e
|
64
65
|
return false
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: couchrest_session_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-04-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: couchrest
|