global_session 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/global_session.gemspec +1 -1
- data/lib/global_session/session.rb +2 -1
- metadata +9 -9
data/global_session.gemspec
CHANGED
@@ -237,9 +237,10 @@ module GlobalSession
|
|
237
237
|
# true:: Always returns true
|
238
238
|
def renew!(expired_at=nil)
|
239
239
|
authority_check
|
240
|
-
minutes = @configuration['timeout']
|
240
|
+
minutes = Integer(@configuration['timeout'])
|
241
241
|
expired_at ||= Time.at(Time.now.utc + 60 * minutes)
|
242
242
|
@expired_at = expired_at
|
243
|
+
@created_at = Time.now.utc
|
243
244
|
@dirty_secure = true
|
244
245
|
end
|
245
246
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: global_session
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 10
|
10
|
+
version: 1.0.10
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tony Spataro
|
@@ -19,7 +19,7 @@ date: 2012-03-07 00:00:00 -08:00
|
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
22
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
23
|
none: false
|
24
24
|
requirements:
|
25
25
|
- - ~>
|
@@ -29,12 +29,12 @@ dependencies:
|
|
29
29
|
- 2
|
30
30
|
- 1
|
31
31
|
version: "2.1"
|
32
|
+
requirement: *id001
|
32
33
|
name: uuidtools
|
33
34
|
prerelease: false
|
34
35
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
|
-
|
37
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
38
38
|
none: false
|
39
39
|
requirements:
|
40
40
|
- - ~>
|
@@ -44,12 +44,12 @@ dependencies:
|
|
44
44
|
- 1
|
45
45
|
- 4
|
46
46
|
version: "1.4"
|
47
|
+
requirement: *id002
|
47
48
|
name: json
|
48
49
|
prerelease: false
|
49
50
|
type: :runtime
|
50
|
-
version_requirements: *id002
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
|
-
|
52
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
55
|
- - ~>
|
@@ -59,10 +59,10 @@ dependencies:
|
|
59
59
|
- 1
|
60
60
|
- 0
|
61
61
|
version: "1.0"
|
62
|
+
requirement: *id003
|
62
63
|
name: rack-contrib
|
63
64
|
prerelease: false
|
64
65
|
type: :runtime
|
65
|
-
version_requirements: *id003
|
66
66
|
description: This plugin for Rails allows several web apps in an authentication domain to share session state, facilitating single sign-on in a distributed web app. It only provides session sharing and does not concern itself with authentication or replication of the user database.
|
67
67
|
email: support@rightscale.com
|
68
68
|
executables: []
|