redis-session-retrieve 0.0.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock
CHANGED
@@ -1,14 +1,20 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
redis-session-retrieve (0.0.
|
4
|
+
redis-session-retrieve (0.0.3)
|
5
|
+
activesupport (~> 3.2)
|
5
6
|
redis (~> 3.0)
|
6
7
|
|
7
8
|
GEM
|
8
9
|
remote: http://rubygems.org/
|
9
10
|
specs:
|
11
|
+
activesupport (3.2.8)
|
12
|
+
i18n (~> 0.6)
|
13
|
+
multi_json (~> 1.0)
|
10
14
|
diff-lcs (1.1.3)
|
15
|
+
i18n (0.6.1)
|
11
16
|
mock_redis (0.5.1)
|
17
|
+
multi_json (1.5.0)
|
12
18
|
redis (3.0.2)
|
13
19
|
rspec (2.11.0)
|
14
20
|
rspec-core (~> 2.11.0)
|
@@ -11,7 +11,11 @@ module RedisSessionRetrieve
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def find_by_id session_id
|
14
|
-
session
|
14
|
+
session = nil
|
15
|
+
|
16
|
+
ActiveSupport::Notifications.instrument 'redis-session-retrieve.session_lookup',:session_id => session_id do
|
17
|
+
session = @connection.get session_id
|
18
|
+
end
|
15
19
|
|
16
20
|
if session.nil?
|
17
21
|
return nil
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-session-retrieve
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -27,6 +27,22 @@ dependencies:
|
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '3.0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: activesupport
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '3.2'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '3.2'
|
30
46
|
- !ruby/object:Gem::Dependency
|
31
47
|
name: rspec
|
32
48
|
requirement: !ruby/object:Gem::Requirement
|