global_session 2.0.3 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/global_session.gemspec +26 -25
- data/lib/global_session/directory.rb +10 -8
- data/lib/global_session/encoding.rb +25 -4
- data/lib/global_session/rack.rb +28 -5
- data/lib/global_session/rails.rb +2 -0
- data/lib/global_session/session/abstract.rb +68 -1
- data/lib/global_session/session/v1.rb +22 -79
- data/lib/global_session/session/v2.rb +22 -76
- data/lib/global_session/session/v3.rb +373 -0
- data/lib/global_session/session.rb +20 -7
- data/lib/global_session.rb +2 -4
- metadata +80 -71
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: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
|
-
- 2
|
8
|
-
- 0
|
9
7
|
- 3
|
10
|
-
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 3.0.0
|
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: 2013-
|
18
|
+
date: 2013-10-03 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -24,60 +24,68 @@ dependencies:
|
|
24
24
|
requirements:
|
25
25
|
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
hash:
|
27
|
+
hash: 7
|
28
28
|
segments:
|
29
|
-
-
|
30
|
-
-
|
31
|
-
version: "
|
29
|
+
- 1
|
30
|
+
- 4
|
31
|
+
version: "1.4"
|
32
32
|
requirement: *id001
|
33
33
|
type: :runtime
|
34
|
-
name:
|
34
|
+
name: json
|
35
35
|
prerelease: false
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
38
38
|
none: false
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - ~>
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
hash:
|
42
|
+
hash: 15
|
43
43
|
segments:
|
44
|
+
- 1
|
44
45
|
- 0
|
45
|
-
|
46
|
-
- 0
|
47
|
-
version: 0.2.0
|
46
|
+
version: "1.0"
|
48
47
|
requirement: *id002
|
49
48
|
type: :runtime
|
50
|
-
name:
|
49
|
+
name: rack-contrib
|
51
50
|
prerelease: false
|
52
51
|
- !ruby/object:Gem::Dependency
|
53
52
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
54
53
|
none: false
|
55
54
|
requirements:
|
56
|
-
- -
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
hash: 43
|
58
|
+
segments:
|
59
|
+
- 2
|
60
|
+
- 8
|
61
|
+
- 2
|
62
|
+
version: 2.8.2
|
63
|
+
- - <
|
57
64
|
- !ruby/object:Gem::Version
|
58
65
|
hash: 7
|
59
66
|
segments:
|
60
|
-
-
|
61
|
-
-
|
62
|
-
version: "
|
67
|
+
- 3
|
68
|
+
- 0
|
69
|
+
version: "3.0"
|
63
70
|
requirement: *id003
|
64
71
|
type: :runtime
|
65
|
-
name:
|
72
|
+
name: right_support
|
66
73
|
prerelease: false
|
67
74
|
- !ruby/object:Gem::Dependency
|
68
75
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
69
76
|
none: false
|
70
77
|
requirements:
|
71
|
-
- -
|
78
|
+
- - ">="
|
72
79
|
- !ruby/object:Gem::Version
|
73
|
-
hash:
|
80
|
+
hash: 23
|
74
81
|
segments:
|
75
82
|
- 0
|
76
|
-
-
|
77
|
-
|
83
|
+
- 2
|
84
|
+
- 0
|
85
|
+
version: 0.2.0
|
78
86
|
requirement: *id004
|
79
87
|
type: :runtime
|
80
|
-
name:
|
88
|
+
name: simple_uuid
|
81
89
|
prerelease: false
|
82
90
|
- !ruby/object:Gem::Dependency
|
83
91
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
@@ -91,8 +99,8 @@ dependencies:
|
|
91
99
|
- 0
|
92
100
|
version: "1.0"
|
93
101
|
requirement: *id005
|
94
|
-
type: :
|
95
|
-
name:
|
102
|
+
type: :development
|
103
|
+
name: cucumber
|
96
104
|
prerelease: false
|
97
105
|
- !ruby/object:Gem::Dependency
|
98
106
|
version_requirements: &id006 !ruby/object:Gem::Requirement
|
@@ -100,14 +108,14 @@ dependencies:
|
|
100
108
|
requirements:
|
101
109
|
- - ~>
|
102
110
|
- !ruby/object:Gem::Version
|
103
|
-
hash:
|
111
|
+
hash: 5
|
104
112
|
segments:
|
105
|
-
-
|
106
|
-
-
|
107
|
-
version: "
|
113
|
+
- 1
|
114
|
+
- 5
|
115
|
+
version: "1.5"
|
108
116
|
requirement: *id006
|
109
117
|
type: :development
|
110
|
-
name:
|
118
|
+
name: debugger
|
111
119
|
prerelease: false
|
112
120
|
- !ruby/object:Gem::Dependency
|
113
121
|
version_requirements: &id007 !ruby/object:Gem::Requirement
|
@@ -115,29 +123,28 @@ dependencies:
|
|
115
123
|
requirements:
|
116
124
|
- - ~>
|
117
125
|
- !ruby/object:Gem::Version
|
118
|
-
hash:
|
126
|
+
hash: 27
|
119
127
|
segments:
|
120
|
-
-
|
121
|
-
-
|
122
|
-
version: "
|
128
|
+
- 0
|
129
|
+
- 8
|
130
|
+
version: "0.8"
|
123
131
|
requirement: *id007
|
124
132
|
type: :development
|
125
|
-
name:
|
133
|
+
name: flexmock
|
126
134
|
prerelease: false
|
127
135
|
- !ruby/object:Gem::Dependency
|
128
136
|
version_requirements: &id008 !ruby/object:Gem::Requirement
|
129
137
|
none: false
|
130
138
|
requirements:
|
131
|
-
- -
|
139
|
+
- - ">="
|
132
140
|
- !ruby/object:Gem::Version
|
133
|
-
hash:
|
141
|
+
hash: 3
|
134
142
|
segments:
|
135
|
-
- 1
|
136
143
|
- 0
|
137
|
-
version: "
|
144
|
+
version: "0"
|
138
145
|
requirement: *id008
|
139
146
|
type: :development
|
140
|
-
name:
|
147
|
+
name: httpclient
|
141
148
|
prerelease: false
|
142
149
|
- !ruby/object:Gem::Dependency
|
143
150
|
version_requirements: &id009 !ruby/object:Gem::Requirement
|
@@ -145,14 +152,15 @@ dependencies:
|
|
145
152
|
requirements:
|
146
153
|
- - ~>
|
147
154
|
- !ruby/object:Gem::Version
|
148
|
-
hash:
|
155
|
+
hash: 49
|
149
156
|
segments:
|
150
157
|
- 1
|
151
|
-
-
|
152
|
-
|
158
|
+
- 8
|
159
|
+
- 3
|
160
|
+
version: 1.8.3
|
153
161
|
requirement: *id009
|
154
162
|
type: :development
|
155
|
-
name:
|
163
|
+
name: jeweler
|
156
164
|
prerelease: false
|
157
165
|
- !ruby/object:Gem::Dependency
|
158
166
|
version_requirements: &id010 !ruby/object:Gem::Requirement
|
@@ -160,14 +168,14 @@ dependencies:
|
|
160
168
|
requirements:
|
161
169
|
- - ~>
|
162
170
|
- !ruby/object:Gem::Version
|
163
|
-
hash:
|
171
|
+
hash: 3
|
164
172
|
segments:
|
165
173
|
- 0
|
166
|
-
-
|
167
|
-
version: "0.
|
174
|
+
- 4
|
175
|
+
version: "0.4"
|
168
176
|
requirement: *id010
|
169
177
|
type: :development
|
170
|
-
name:
|
178
|
+
name: msgpack
|
171
179
|
prerelease: false
|
172
180
|
- !ruby/object:Gem::Dependency
|
173
181
|
version_requirements: &id011 !ruby/object:Gem::Requirement
|
@@ -175,29 +183,29 @@ dependencies:
|
|
175
183
|
requirements:
|
176
184
|
- - ~>
|
177
185
|
- !ruby/object:Gem::Version
|
178
|
-
hash:
|
186
|
+
hash: 27
|
179
187
|
segments:
|
180
|
-
-
|
188
|
+
- 0
|
181
189
|
- 8
|
182
|
-
|
183
|
-
version: 1.8.3
|
190
|
+
version: "0.8"
|
184
191
|
requirement: *id011
|
185
192
|
type: :development
|
186
|
-
name:
|
193
|
+
name: rake
|
187
194
|
prerelease: false
|
188
195
|
- !ruby/object:Gem::Dependency
|
189
196
|
version_requirements: &id012 !ruby/object:Gem::Requirement
|
190
197
|
none: false
|
191
198
|
requirements:
|
192
|
-
- -
|
199
|
+
- - ~>
|
193
200
|
- !ruby/object:Gem::Version
|
194
|
-
hash:
|
201
|
+
hash: 11
|
195
202
|
segments:
|
196
|
-
-
|
197
|
-
|
203
|
+
- 1
|
204
|
+
- 2
|
205
|
+
version: "1.2"
|
198
206
|
requirement: *id012
|
199
207
|
type: :development
|
200
|
-
name:
|
208
|
+
name: right_develop
|
201
209
|
prerelease: false
|
202
210
|
- !ruby/object:Gem::Dependency
|
203
211
|
version_requirements: &id013 !ruby/object:Gem::Requirement
|
@@ -205,14 +213,14 @@ dependencies:
|
|
205
213
|
requirements:
|
206
214
|
- - ~>
|
207
215
|
- !ruby/object:Gem::Version
|
208
|
-
hash:
|
216
|
+
hash: 9
|
209
217
|
segments:
|
210
|
-
-
|
211
|
-
-
|
212
|
-
version: "
|
218
|
+
- 1
|
219
|
+
- 3
|
220
|
+
version: "1.3"
|
213
221
|
requirement: *id013
|
214
222
|
type: :development
|
215
|
-
name:
|
223
|
+
name: rspec
|
216
224
|
prerelease: false
|
217
225
|
- !ruby/object:Gem::Dependency
|
218
226
|
version_requirements: &id014 !ruby/object:Gem::Requirement
|
@@ -220,14 +228,14 @@ dependencies:
|
|
220
228
|
requirements:
|
221
229
|
- - ~>
|
222
230
|
- !ruby/object:Gem::Version
|
223
|
-
hash:
|
231
|
+
hash: 31
|
224
232
|
segments:
|
225
|
-
-
|
226
|
-
-
|
227
|
-
version: "
|
233
|
+
- 0
|
234
|
+
- 10
|
235
|
+
version: "0.10"
|
228
236
|
requirement: *id014
|
229
237
|
type: :development
|
230
|
-
name:
|
238
|
+
name: ruby-debug
|
231
239
|
prerelease: false
|
232
240
|
description: This Rack middleware 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.
|
233
241
|
email: support@rightscale.com
|
@@ -258,6 +266,7 @@ files:
|
|
258
266
|
- lib/global_session/session/abstract.rb
|
259
267
|
- lib/global_session/session/v1.rb
|
260
268
|
- lib/global_session/session/v2.rb
|
269
|
+
- lib/global_session/session/v3.rb
|
261
270
|
- rails/init.rb
|
262
271
|
- rails_generators/global_session/USAGE
|
263
272
|
- rails_generators/global_session/global_session_generator.rb
|