global_session 3.0.3 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.3
1
+ 3.0.4
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = "global_session"
8
- s.version = "3.0.3"
7
+ s.name = %q{global_session}
8
+ s.version = "3.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tony Spataro"]
12
- s.date = "2014-03-12"
13
- s.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."
14
- s.email = "support@rightscale.com"
12
+ s.date = %q{2014-03-31}
13
+ s.description = %q{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.}
14
+ s.email = %q{support@rightscale.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
17
  "README.rdoc"
@@ -44,19 +44,20 @@ Gem::Specification.new do |s|
44
44
  "rails_generators/global_session_authority/USAGE",
45
45
  "rails_generators/global_session_authority/global_session_authority_generator.rb"
46
46
  ]
47
- s.homepage = "https://github.com/rightscale/global_session"
47
+ s.homepage = %q{https://github.com/rightscale/global_session}
48
48
  s.licenses = ["MIT"]
49
49
  s.require_paths = ["lib"]
50
- s.rubygems_version = "1.8.15"
51
- s.summary = "Secure single-domain session sharing plugin for Rack and Rails."
50
+ s.rubygems_version = %q{1.3.7}
51
+ s.summary = %q{Secure single-domain session sharing plugin for Rack and Rails.}
52
52
 
53
53
  if s.respond_to? :specification_version then
54
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
54
55
  s.specification_version = 3
55
56
 
56
57
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
57
58
  s.add_runtime_dependency(%q<json>, ["~> 1.4"])
58
59
  s.add_runtime_dependency(%q<rack-contrib>, ["~> 1.0"])
59
- s.add_runtime_dependency(%q<right_support>, ["< 3.0", ">= 2.8.2"])
60
+ s.add_runtime_dependency(%q<right_support>, [">= 2.8.2", "< 3.0"])
60
61
  s.add_runtime_dependency(%q<simple_uuid>, [">= 0.2.0"])
61
62
  s.add_development_dependency(%q<cucumber>, ["~> 1.0"])
62
63
  s.add_development_dependency(%q<debugger>, ["~> 1.5"])
@@ -71,7 +72,7 @@ Gem::Specification.new do |s|
71
72
  else
72
73
  s.add_dependency(%q<json>, ["~> 1.4"])
73
74
  s.add_dependency(%q<rack-contrib>, ["~> 1.0"])
74
- s.add_dependency(%q<right_support>, ["< 3.0", ">= 2.8.2"])
75
+ s.add_dependency(%q<right_support>, [">= 2.8.2", "< 3.0"])
75
76
  s.add_dependency(%q<simple_uuid>, [">= 0.2.0"])
76
77
  s.add_dependency(%q<cucumber>, ["~> 1.0"])
77
78
  s.add_dependency(%q<debugger>, ["~> 1.5"])
@@ -87,7 +88,7 @@ Gem::Specification.new do |s|
87
88
  else
88
89
  s.add_dependency(%q<json>, ["~> 1.4"])
89
90
  s.add_dependency(%q<rack-contrib>, ["~> 1.0"])
90
- s.add_dependency(%q<right_support>, ["< 3.0", ">= 2.8.2"])
91
+ s.add_dependency(%q<right_support>, [">= 2.8.2", "< 3.0"])
91
92
  s.add_dependency(%q<simple_uuid>, [">= 0.2.0"])
92
93
  s.add_dependency(%q<cucumber>, ["~> 1.0"])
93
94
  s.add_dependency(%q<debugger>, ["~> 1.5"])
@@ -95,12 +95,10 @@ require 'global_session/rack'
95
95
  if require_succeeds?('action_pack') &&
96
96
  require_succeeds?('action_controller')
97
97
 
98
- action_pack = Gem.loaded_specs['action_pack']
99
- action_controller = Gem.loaded_specs['action_controller']
98
+ action_pack = Gem.loaded_specs['action_pack'] || Gem.loaded_specs['actionpack']
100
99
 
101
100
  # Make sure we are dealing with Rails 2.x, not 3.x
102
- if action_pack && action_pack.version.to_s =~ /^2\./ &&
103
- action_controller && action_controller.version.to_s =~ /^2\./
101
+ if action_pack && action_pack.version.to_s =~ /^2\./
104
102
  require 'global_session/rails'
105
103
  end
106
104
  end
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: 1
5
- prerelease:
4
+ hash: 15
5
+ prerelease: false
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 3
10
- version: 3.0.3
9
+ - 4
10
+ version: 3.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tony Spataro
@@ -15,11 +15,10 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2014-03-12 00:00:00 Z
18
+ date: 2014-03-31 00:00:00 -07:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
- type: :runtime
22
- name: json
23
22
  version_requirements: &id001 !ruby/object:Gem::Requirement
24
23
  none: false
25
24
  requirements:
@@ -30,11 +29,11 @@ dependencies:
30
29
  - 1
31
30
  - 4
32
31
  version: "1.4"
33
- prerelease: false
32
+ name: json
34
33
  requirement: *id001
35
- - !ruby/object:Gem::Dependency
34
+ prerelease: false
36
35
  type: :runtime
37
- name: rack-contrib
36
+ - !ruby/object:Gem::Dependency
38
37
  version_requirements: &id002 !ruby/object:Gem::Requirement
39
38
  none: false
40
39
  requirements:
@@ -45,21 +44,14 @@ dependencies:
45
44
  - 1
46
45
  - 0
47
46
  version: "1.0"
48
- prerelease: false
47
+ name: rack-contrib
49
48
  requirement: *id002
50
- - !ruby/object:Gem::Dependency
49
+ prerelease: false
51
50
  type: :runtime
52
- name: right_support
51
+ - !ruby/object:Gem::Dependency
53
52
  version_requirements: &id003 !ruby/object:Gem::Requirement
54
53
  none: false
55
54
  requirements:
56
- - - <
57
- - !ruby/object:Gem::Version
58
- hash: 7
59
- segments:
60
- - 3
61
- - 0
62
- version: "3.0"
63
55
  - - ">="
64
56
  - !ruby/object:Gem::Version
65
57
  hash: 43
@@ -68,11 +60,18 @@ dependencies:
68
60
  - 8
69
61
  - 2
70
62
  version: 2.8.2
71
- prerelease: false
63
+ - - <
64
+ - !ruby/object:Gem::Version
65
+ hash: 7
66
+ segments:
67
+ - 3
68
+ - 0
69
+ version: "3.0"
70
+ name: right_support
72
71
  requirement: *id003
73
- - !ruby/object:Gem::Dependency
72
+ prerelease: false
74
73
  type: :runtime
75
- name: simple_uuid
74
+ - !ruby/object:Gem::Dependency
76
75
  version_requirements: &id004 !ruby/object:Gem::Requirement
77
76
  none: false
78
77
  requirements:
@@ -84,11 +83,11 @@ dependencies:
84
83
  - 2
85
84
  - 0
86
85
  version: 0.2.0
87
- prerelease: false
86
+ name: simple_uuid
88
87
  requirement: *id004
88
+ prerelease: false
89
+ type: :runtime
89
90
  - !ruby/object:Gem::Dependency
90
- type: :development
91
- name: cucumber
92
91
  version_requirements: &id005 !ruby/object:Gem::Requirement
93
92
  none: false
94
93
  requirements:
@@ -99,11 +98,11 @@ dependencies:
99
98
  - 1
100
99
  - 0
101
100
  version: "1.0"
102
- prerelease: false
101
+ name: cucumber
103
102
  requirement: *id005
104
- - !ruby/object:Gem::Dependency
103
+ prerelease: false
105
104
  type: :development
106
- name: debugger
105
+ - !ruby/object:Gem::Dependency
107
106
  version_requirements: &id006 !ruby/object:Gem::Requirement
108
107
  none: false
109
108
  requirements:
@@ -114,11 +113,11 @@ dependencies:
114
113
  - 1
115
114
  - 5
116
115
  version: "1.5"
117
- prerelease: false
116
+ name: debugger
118
117
  requirement: *id006
119
- - !ruby/object:Gem::Dependency
118
+ prerelease: false
120
119
  type: :development
121
- name: flexmock
120
+ - !ruby/object:Gem::Dependency
122
121
  version_requirements: &id007 !ruby/object:Gem::Requirement
123
122
  none: false
124
123
  requirements:
@@ -129,11 +128,11 @@ dependencies:
129
128
  - 0
130
129
  - 8
131
130
  version: "0.8"
132
- prerelease: false
131
+ name: flexmock
133
132
  requirement: *id007
134
- - !ruby/object:Gem::Dependency
133
+ prerelease: false
135
134
  type: :development
136
- name: httpclient
135
+ - !ruby/object:Gem::Dependency
137
136
  version_requirements: &id008 !ruby/object:Gem::Requirement
138
137
  none: false
139
138
  requirements:
@@ -143,11 +142,11 @@ dependencies:
143
142
  segments:
144
143
  - 0
145
144
  version: "0"
146
- prerelease: false
145
+ name: httpclient
147
146
  requirement: *id008
148
- - !ruby/object:Gem::Dependency
147
+ prerelease: false
149
148
  type: :development
150
- name: jeweler
149
+ - !ruby/object:Gem::Dependency
151
150
  version_requirements: &id009 !ruby/object:Gem::Requirement
152
151
  none: false
153
152
  requirements:
@@ -159,11 +158,11 @@ dependencies:
159
158
  - 8
160
159
  - 3
161
160
  version: 1.8.3
162
- prerelease: false
161
+ name: jeweler
163
162
  requirement: *id009
164
- - !ruby/object:Gem::Dependency
163
+ prerelease: false
165
164
  type: :development
166
- name: msgpack
165
+ - !ruby/object:Gem::Dependency
167
166
  version_requirements: &id010 !ruby/object:Gem::Requirement
168
167
  none: false
169
168
  requirements:
@@ -174,11 +173,11 @@ dependencies:
174
173
  - 0
175
174
  - 4
176
175
  version: "0.4"
177
- prerelease: false
176
+ name: msgpack
178
177
  requirement: *id010
179
- - !ruby/object:Gem::Dependency
178
+ prerelease: false
180
179
  type: :development
181
- name: rake
180
+ - !ruby/object:Gem::Dependency
182
181
  version_requirements: &id011 !ruby/object:Gem::Requirement
183
182
  none: false
184
183
  requirements:
@@ -189,11 +188,11 @@ dependencies:
189
188
  - 0
190
189
  - 8
191
190
  version: "0.8"
192
- prerelease: false
191
+ name: rake
193
192
  requirement: *id011
194
- - !ruby/object:Gem::Dependency
193
+ prerelease: false
195
194
  type: :development
196
- name: right_develop
195
+ - !ruby/object:Gem::Dependency
197
196
  version_requirements: &id012 !ruby/object:Gem::Requirement
198
197
  none: false
199
198
  requirements:
@@ -204,11 +203,11 @@ dependencies:
204
203
  - 1
205
204
  - 2
206
205
  version: "1.2"
207
- prerelease: false
206
+ name: right_develop
208
207
  requirement: *id012
209
- - !ruby/object:Gem::Dependency
208
+ prerelease: false
210
209
  type: :development
211
- name: rspec
210
+ - !ruby/object:Gem::Dependency
212
211
  version_requirements: &id013 !ruby/object:Gem::Requirement
213
212
  none: false
214
213
  requirements:
@@ -219,11 +218,11 @@ dependencies:
219
218
  - 1
220
219
  - 3
221
220
  version: "1.3"
222
- prerelease: false
221
+ name: rspec
223
222
  requirement: *id013
224
- - !ruby/object:Gem::Dependency
223
+ prerelease: false
225
224
  type: :development
226
- name: ruby-debug
225
+ - !ruby/object:Gem::Dependency
227
226
  version_requirements: &id014 !ruby/object:Gem::Requirement
228
227
  none: false
229
228
  requirements:
@@ -234,8 +233,10 @@ dependencies:
234
233
  - 0
235
234
  - 10
236
235
  version: "0.10"
237
- prerelease: false
236
+ name: ruby-debug
238
237
  requirement: *id014
238
+ prerelease: false
239
+ type: :development
239
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.
240
241
  email: support@rightscale.com
241
242
  executables: []
@@ -272,6 +273,7 @@ files:
272
273
  - rails_generators/global_session/templates/global_session.yml.erb
273
274
  - rails_generators/global_session_authority/USAGE
274
275
  - rails_generators/global_session_authority/global_session_authority_generator.rb
276
+ has_rdoc: true
275
277
  homepage: https://github.com/rightscale/global_session
276
278
  licenses:
277
279
  - MIT
@@ -301,7 +303,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
301
303
  requirements: []
302
304
 
303
305
  rubyforge_project:
304
- rubygems_version: 1.8.15
306
+ rubygems_version: 1.3.7
305
307
  signing_key:
306
308
  specification_version: 3
307
309
  summary: Secure single-domain session sharing plugin for Rack and Rails.