gds-sso 2.1.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +12 -12
- data/app/controllers/api/user_controller.rb +1 -1
- data/lib/gds-sso/config.rb +11 -1
- data/lib/gds-sso/controller_methods.rb +4 -4
- data/lib/gds-sso/user.rb +16 -5
- data/lib/gds-sso/version.rb +1 -1
- data/lib/gds-sso/warden_config.rb +3 -3
- data/spec/controller/api_user_controller_spec.rb +31 -4
- data/spec/fixtures/integration/signonotron2.sql +2 -1
- data/spec/internal/app/models/user.rb +1 -1
- data/spec/internal/config/initializers/gds-sso.rb +0 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +6757 -4211
- metadata +32 -32
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gds-sso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version:
|
5
|
+
version: 3.0.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Matt Patterson
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date:
|
14
|
+
date: 2013-01-10 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -178,47 +178,47 @@ extensions: []
|
|
178
178
|
extra_rdoc_files: []
|
179
179
|
|
180
180
|
files:
|
181
|
-
- app/controllers/api/user_controller.rb
|
182
181
|
- app/controllers/authentications_controller.rb
|
182
|
+
- app/controllers/api/user_controller.rb
|
183
183
|
- app/views/authentications/failure.html.erb
|
184
|
+
- app/views/layouts/unauthorised.html.erb
|
184
185
|
- app/views/authorisations/cant_signin.html.erb
|
185
186
|
- app/views/authorisations/unauthorised.html.erb
|
186
|
-
- app/views/layouts/unauthorised.html.erb
|
187
187
|
- config/routes.rb
|
188
|
+
- lib/gds-sso.rb
|
188
189
|
- lib/gds-sso/user.rb
|
189
|
-
- lib/gds-sso/controller_methods.rb
|
190
|
-
- lib/gds-sso/failure_app.rb
|
191
|
-
- lib/gds-sso/warden_config.rb
|
192
190
|
- lib/gds-sso/version.rb
|
191
|
+
- lib/gds-sso/warden_config.rb
|
193
192
|
- lib/gds-sso/config.rb
|
193
|
+
- lib/gds-sso/controller_methods.rb
|
194
194
|
- lib/gds-sso/api_access.rb
|
195
|
-
- lib/gds-sso.rb
|
195
|
+
- lib/gds-sso/failure_app.rb
|
196
196
|
- README.md
|
197
197
|
- Gemfile
|
198
198
|
- Rakefile
|
199
|
-
- test/session_serialisation_test.rb
|
200
199
|
- test/api_access_test.rb
|
200
|
+
- test/session_serialisation_test.rb
|
201
201
|
- test/user_test.rb
|
202
202
|
- test/test_helper.rb
|
203
|
-
- spec/support/signonotron2_integration_helpers.rb
|
204
203
|
- spec/tasks/signonotron_tasks.rake
|
205
|
-
- spec/fixtures/integration/authorize_api_users.sql
|
206
|
-
- spec/fixtures/integration/signonotron2_database.yml
|
207
|
-
- spec/fixtures/integration/signonotron2.sql
|
208
204
|
- spec/controller/api_user_controller_spec.rb
|
209
|
-
- spec/spec_helper.rb
|
210
|
-
- spec/requests/authentication_soot2.rb
|
211
205
|
- spec/requests/end_to_end_spec.rb
|
212
|
-
- spec/
|
213
|
-
- spec/
|
214
|
-
- spec/
|
215
|
-
- spec/
|
206
|
+
- spec/requests/authentication_soot2.rb
|
207
|
+
- spec/spec_helper.rb
|
208
|
+
- spec/support/signonotron2_integration_helpers.rb
|
209
|
+
- spec/fixtures/integration/signonotron2.sql
|
210
|
+
- spec/fixtures/integration/authorize_api_users.sql
|
211
|
+
- spec/fixtures/integration/signonotron2_database.yml
|
216
212
|
- spec/internal/log/test.log
|
217
213
|
- spec/internal/db/combustion_test.sqlite
|
218
214
|
- spec/internal/db/schema.rb
|
215
|
+
- spec/internal/public/favicon.ico
|
219
216
|
- spec/internal/config/database.yml
|
220
217
|
- spec/internal/config/initializers/gds-sso.rb
|
221
218
|
- spec/internal/config/routes.rb
|
219
|
+
- spec/internal/app/controllers/application_controller.rb
|
220
|
+
- spec/internal/app/controllers/example_controller.rb
|
221
|
+
- spec/internal/app/models/user.rb
|
222
222
|
homepage: https://github.com/alphagov/gds-sso
|
223
223
|
licenses: []
|
224
224
|
|
@@ -232,7 +232,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
232
232
|
requirements:
|
233
233
|
- - ">="
|
234
234
|
- !ruby/object:Gem::Version
|
235
|
-
hash:
|
235
|
+
hash: -3378109903545009667
|
236
236
|
segments:
|
237
237
|
- 0
|
238
238
|
version: "0"
|
@@ -241,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
241
241
|
requirements:
|
242
242
|
- - ">="
|
243
243
|
- !ruby/object:Gem::Version
|
244
|
-
hash:
|
244
|
+
hash: -3378109903545009667
|
245
245
|
segments:
|
246
246
|
- 0
|
247
247
|
version: "0"
|
@@ -253,26 +253,26 @@ signing_key:
|
|
253
253
|
specification_version: 3
|
254
254
|
summary: Client for GDS' OAuth 2-based SSO
|
255
255
|
test_files:
|
256
|
-
- test/session_serialisation_test.rb
|
257
256
|
- test/api_access_test.rb
|
257
|
+
- test/session_serialisation_test.rb
|
258
258
|
- test/user_test.rb
|
259
259
|
- test/test_helper.rb
|
260
|
-
- spec/support/signonotron2_integration_helpers.rb
|
261
260
|
- spec/tasks/signonotron_tasks.rake
|
262
|
-
- spec/fixtures/integration/authorize_api_users.sql
|
263
|
-
- spec/fixtures/integration/signonotron2_database.yml
|
264
|
-
- spec/fixtures/integration/signonotron2.sql
|
265
261
|
- spec/controller/api_user_controller_spec.rb
|
266
|
-
- spec/spec_helper.rb
|
267
|
-
- spec/requests/authentication_soot2.rb
|
268
262
|
- spec/requests/end_to_end_spec.rb
|
269
|
-
- spec/
|
270
|
-
- spec/
|
271
|
-
- spec/
|
272
|
-
- spec/
|
263
|
+
- spec/requests/authentication_soot2.rb
|
264
|
+
- spec/spec_helper.rb
|
265
|
+
- spec/support/signonotron2_integration_helpers.rb
|
266
|
+
- spec/fixtures/integration/signonotron2.sql
|
267
|
+
- spec/fixtures/integration/authorize_api_users.sql
|
268
|
+
- spec/fixtures/integration/signonotron2_database.yml
|
273
269
|
- spec/internal/log/test.log
|
274
270
|
- spec/internal/db/combustion_test.sqlite
|
275
271
|
- spec/internal/db/schema.rb
|
272
|
+
- spec/internal/public/favicon.ico
|
276
273
|
- spec/internal/config/database.yml
|
277
274
|
- spec/internal/config/initializers/gds-sso.rb
|
278
275
|
- spec/internal/config/routes.rb
|
276
|
+
- spec/internal/app/controllers/application_controller.rb
|
277
|
+
- spec/internal/app/controllers/example_controller.rb
|
278
|
+
- spec/internal/app/models/user.rb
|