has_global_session 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
data/has_global_session.gemspec
CHANGED
@@ -7,8 +7,8 @@ spec = Gem::Specification.new do |s|
|
|
7
7
|
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
|
8
8
|
|
9
9
|
s.name = 'has_global_session'
|
10
|
-
s.version = '0.9.
|
11
|
-
s.date = '2010-07-
|
10
|
+
s.version = '0.9.2'
|
11
|
+
s.date = '2010-07-14'
|
12
12
|
|
13
13
|
s.authors = ['Tony Spataro']
|
14
14
|
s.email = 'code@tracker.xeger.net'
|
@@ -17,7 +17,9 @@ module HasGlobalSession
|
|
17
17
|
|
18
18
|
def session_with_global_session
|
19
19
|
if global_session
|
20
|
-
unless @integrated_session &&
|
20
|
+
unless @integrated_session &&
|
21
|
+
(@integrated_session.local == session_without_global_session) &&
|
22
|
+
(@integrated_session.global == @global_session)
|
21
23
|
@integrated_session =
|
22
24
|
IntegratedSession.new(session_without_global_session, global_session)
|
23
25
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_global_session
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 63
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 2
|
10
|
+
version: 0.9.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tony Spataro
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-07-
|
18
|
+
date: 2010-07-14 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|