gds-sso 0.7.9 → 0.8.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/app/controllers/api/user_controller.rb +31 -0
- data/config/routes.rb +2 -1
- data/lib/gds-sso/controller_methods.rb +4 -0
- data/lib/gds-sso/version.rb +1 -1
- data/spec/controller/api_user_controller_spec.rb +57 -0
- data/spec/internal/log/test.log +75 -3844
- data/spec/spec_helper.rb +4 -0
- metadata +36 -33
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gds-sso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.8.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: 2012-07-
|
14
|
+
date: 2012-07-20 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -156,42 +156,44 @@ extensions: []
|
|
156
156
|
extra_rdoc_files: []
|
157
157
|
|
158
158
|
files:
|
159
|
-
- app/
|
159
|
+
- app/controllers/authentications_controller.rb
|
160
|
+
- app/controllers/api/user_controller.rb
|
160
161
|
- app/views/authentications/failure.html.erb
|
161
|
-
- app/views/
|
162
|
+
- app/views/layouts/unauthorised.html.erb
|
162
163
|
- app/views/authorisations/cant_signin.html.erb
|
163
|
-
- app/
|
164
|
+
- app/views/authorisations/unauthorised.html.erb
|
164
165
|
- config/routes.rb
|
165
166
|
- lib/gds-sso.rb
|
166
|
-
- lib/gds-sso/controller_methods.rb
|
167
|
-
- lib/gds-sso/failure_app.rb
|
168
|
-
- lib/gds-sso/config.rb
|
169
167
|
- lib/gds-sso/user.rb
|
168
|
+
- lib/gds-sso/version.rb
|
170
169
|
- lib/gds-sso/warden_config.rb
|
170
|
+
- lib/gds-sso/config.rb
|
171
|
+
- lib/gds-sso/controller_methods.rb
|
171
172
|
- lib/gds-sso/api_access.rb
|
172
|
-
- lib/gds-sso/
|
173
|
+
- lib/gds-sso/failure_app.rb
|
173
174
|
- README.md
|
174
175
|
- Gemfile
|
175
176
|
- Rakefile
|
176
177
|
- test/api_access_test.rb
|
177
|
-
- test/test_helper.rb
|
178
178
|
- test/user_test.rb
|
179
|
+
- test/test_helper.rb
|
180
|
+
- spec/tasks/signonotron_tasks.rake
|
181
|
+
- spec/controller/api_user_controller_spec.rb
|
179
182
|
- spec/requests/end_to_end_spec.rb
|
180
183
|
- spec/requests/authentication_soot2.rb
|
184
|
+
- spec/spec_helper.rb
|
185
|
+
- spec/support/signonotron2_integration_helpers.rb
|
186
|
+
- spec/fixtures/integration/signonotron2.sql
|
187
|
+
- spec/fixtures/integration/signonotron2_database.yml
|
181
188
|
- spec/internal/log/test.log
|
189
|
+
- spec/internal/db/schema.rb
|
182
190
|
- spec/internal/public/favicon.ico
|
183
|
-
- spec/internal/
|
191
|
+
- spec/internal/config/database.yml
|
192
|
+
- spec/internal/config/initializers/gds-sso.rb
|
193
|
+
- spec/internal/config/routes.rb
|
184
194
|
- spec/internal/app/controllers/application_controller.rb
|
195
|
+
- spec/internal/app/controllers/example_controller.rb
|
185
196
|
- spec/internal/app/models/user.rb
|
186
|
-
- spec/internal/config/routes.rb
|
187
|
-
- spec/internal/config/initializers/gds-sso.rb
|
188
|
-
- spec/internal/config/database.yml
|
189
|
-
- spec/internal/db/schema.rb
|
190
|
-
- spec/support/signonotron2_integration_helpers.rb
|
191
|
-
- spec/fixtures/integration/signonotron2.sql
|
192
|
-
- spec/fixtures/integration/signonotron2_database.yml
|
193
|
-
- spec/tasks/signonotron_tasks.rake
|
194
|
-
- spec/spec_helper.rb
|
195
197
|
homepage: https://github.com/alphagov/gds-sso
|
196
198
|
licenses: []
|
197
199
|
|
@@ -205,7 +207,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
205
207
|
requirements:
|
206
208
|
- - ">="
|
207
209
|
- !ruby/object:Gem::Version
|
208
|
-
hash:
|
210
|
+
hash: 23474346759062133
|
209
211
|
segments:
|
210
212
|
- 0
|
211
213
|
version: "0"
|
@@ -214,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
216
|
requirements:
|
215
217
|
- - ">="
|
216
218
|
- !ruby/object:Gem::Version
|
217
|
-
hash:
|
219
|
+
hash: 23474346759062133
|
218
220
|
segments:
|
219
221
|
- 0
|
220
222
|
version: "0"
|
@@ -227,21 +229,22 @@ specification_version: 3
|
|
227
229
|
summary: Client for GDS' OAuth 2-based SSO
|
228
230
|
test_files:
|
229
231
|
- test/api_access_test.rb
|
230
|
-
- test/test_helper.rb
|
231
232
|
- test/user_test.rb
|
233
|
+
- test/test_helper.rb
|
234
|
+
- spec/tasks/signonotron_tasks.rake
|
235
|
+
- spec/controller/api_user_controller_spec.rb
|
232
236
|
- spec/requests/end_to_end_spec.rb
|
233
237
|
- spec/requests/authentication_soot2.rb
|
238
|
+
- spec/spec_helper.rb
|
239
|
+
- spec/support/signonotron2_integration_helpers.rb
|
240
|
+
- spec/fixtures/integration/signonotron2.sql
|
241
|
+
- spec/fixtures/integration/signonotron2_database.yml
|
234
242
|
- spec/internal/log/test.log
|
243
|
+
- spec/internal/db/schema.rb
|
235
244
|
- spec/internal/public/favicon.ico
|
236
|
-
- spec/internal/
|
245
|
+
- spec/internal/config/database.yml
|
246
|
+
- spec/internal/config/initializers/gds-sso.rb
|
247
|
+
- spec/internal/config/routes.rb
|
237
248
|
- spec/internal/app/controllers/application_controller.rb
|
249
|
+
- spec/internal/app/controllers/example_controller.rb
|
238
250
|
- spec/internal/app/models/user.rb
|
239
|
-
- spec/internal/config/routes.rb
|
240
|
-
- spec/internal/config/initializers/gds-sso.rb
|
241
|
-
- spec/internal/config/database.yml
|
242
|
-
- spec/internal/db/schema.rb
|
243
|
-
- spec/support/signonotron2_integration_helpers.rb
|
244
|
-
- spec/fixtures/integration/signonotron2.sql
|
245
|
-
- spec/fixtures/integration/signonotron2_database.yml
|
246
|
-
- spec/tasks/signonotron_tasks.rake
|
247
|
-
- spec/spec_helper.rb
|