scimitar 1.0.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/scimitar/active_record_backed_resources_controller.rb +2 -2
- data/app/models/scimitar/complex_types/base.rb +43 -1
- data/app/models/scimitar/errors.rb +1 -1
- data/app/models/scimitar/resources/base.rb +22 -4
- data/app/models/scimitar/resources/mixin.rb +34 -26
- data/app/models/scimitar/schema/attribute.rb +1 -1
- data/app/models/scimitar/schema/base.rb +6 -2
- data/config/initializers/scimitar.rb +71 -67
- data/lib/scimitar/support/hash_with_indifferent_case_insensitive_access.rb +86 -0
- data/lib/scimitar/version.rb +2 -2
- data/lib/scimitar.rb +1 -0
- data/spec/apps/dummy/config/application.rb +1 -0
- data/spec/apps/dummy/config/environments/test.rb +28 -5
- data/spec/apps/dummy/config/initializers/scimitar.rb +10 -8
- data/spec/models/scimitar/resources/base_spec.rb +108 -58
- data/spec/models/scimitar/resources/mixin_spec.rb +316 -264
- data/spec/models/scimitar/resources/user_spec.rb +17 -4
- data/spec/requests/active_record_backed_resources_controller_spec.rb +172 -127
- data/spec/requests/application_controller_spec.rb +0 -1
- data/spec/requests/engine_spec.rb +26 -1
- data/spec/spec_helper.rb +27 -0
- data/spec/spec_helper_spec.rb +30 -0
- data/spec/support/hash_with_indifferent_case_insensitive_access_spec.rb +61 -0
- metadata +58 -50
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scimitar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- RIPA Global
|
8
8
|
- Andrew David Hodgkinson
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-03-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '7.0'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '7.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,28 +73,28 @@ dependencies:
|
|
73
73
|
requirements:
|
74
74
|
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '6.
|
76
|
+
version: '6.4'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '6.
|
83
|
+
version: '6.4'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: rspec-rails
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
88
|
- - "~>"
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: '
|
90
|
+
version: '5.0'
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
95
|
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
97
|
+
version: '5.0'
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: byebug
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,17 +115,17 @@ dependencies:
|
|
115
115
|
requirements:
|
116
116
|
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: '1.
|
118
|
+
version: '1.2'
|
119
119
|
type: :development
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
123
|
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: '1.
|
125
|
+
version: '1.2'
|
126
126
|
description: SCIM v2 support for Users and Groups in Ruby On Rails
|
127
127
|
email:
|
128
|
-
- dev@
|
128
|
+
- dev@ripaglobal.com
|
129
129
|
executables: []
|
130
130
|
extensions: []
|
131
131
|
extra_rdoc_files: []
|
@@ -192,6 +192,7 @@ files:
|
|
192
192
|
- config/routes.rb
|
193
193
|
- lib/scimitar.rb
|
194
194
|
- lib/scimitar/engine.rb
|
195
|
+
- lib/scimitar/support/hash_with_indifferent_case_insensitive_access.rb
|
195
196
|
- lib/scimitar/version.rb
|
196
197
|
- spec/apps/dummy/app/controllers/custom_destroy_mock_users_controller.rb
|
197
198
|
- spec/apps/dummy/app/controllers/custom_request_verifiers_controller.rb
|
@@ -234,12 +235,17 @@ files:
|
|
234
235
|
- spec/requests/controller_configuration_spec.rb
|
235
236
|
- spec/requests/engine_spec.rb
|
236
237
|
- spec/spec_helper.rb
|
237
|
-
|
238
|
+
- spec/spec_helper_spec.rb
|
239
|
+
- spec/support/hash_with_indifferent_case_insensitive_access_spec.rb
|
240
|
+
homepage: https://www.ripaglobal.com/
|
238
241
|
licenses:
|
239
242
|
- MIT
|
240
243
|
metadata:
|
241
|
-
|
242
|
-
|
244
|
+
homepage_uri: https://www.ripaglobal.com/
|
245
|
+
source_code_uri: https://github.com/RIPAGlobal/scimitar/
|
246
|
+
bug_tracker_uri: https://github.com/RIPAGlobal/scimitar/issues/
|
247
|
+
changelog_uri: https://github.com/RIPAGlobal/scimitar/blob/master/CHANGELOG.md
|
248
|
+
post_install_message:
|
243
249
|
rdoc_options: []
|
244
250
|
require_paths:
|
245
251
|
- lib
|
@@ -254,49 +260,51 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
254
260
|
- !ruby/object:Gem::Version
|
255
261
|
version: '0'
|
256
262
|
requirements: []
|
257
|
-
rubygems_version: 3.
|
258
|
-
signing_key:
|
263
|
+
rubygems_version: 3.3.3
|
264
|
+
signing_key:
|
259
265
|
specification_version: 4
|
260
266
|
summary: SCIM v2 for Rails
|
261
267
|
test_files:
|
262
|
-
- spec/spec_helper.rb
|
263
|
-
- spec/models/scimitar/lists/query_parser_spec.rb
|
264
|
-
- spec/models/scimitar/lists/count_spec.rb
|
265
|
-
- spec/models/scimitar/resources/base_validation_spec.rb
|
266
|
-
- spec/models/scimitar/resources/mixin_spec.rb
|
267
|
-
- spec/models/scimitar/resources/user_spec.rb
|
268
|
-
- spec/models/scimitar/resources/base_spec.rb
|
269
|
-
- spec/models/scimitar/schema/attribute_spec.rb
|
270
|
-
- spec/models/scimitar/schema/group_spec.rb
|
271
|
-
- spec/models/scimitar/schema/user_spec.rb
|
272
|
-
- spec/models/scimitar/schema/base_spec.rb
|
273
|
-
- spec/models/scimitar/resource_type_spec.rb
|
274
|
-
- spec/models/scimitar/complex_types/email_spec.rb
|
275
|
-
- spec/models/scimitar/complex_types/address_spec.rb
|
276
|
-
- spec/requests/controller_configuration_spec.rb
|
277
|
-
- spec/requests/engine_spec.rb
|
278
|
-
- spec/requests/active_record_backed_resources_controller_spec.rb
|
279
|
-
- spec/requests/application_controller_spec.rb
|
280
|
-
- spec/controllers/scimitar/schemas_controller_spec.rb
|
281
|
-
- spec/controllers/scimitar/resource_types_controller_spec.rb
|
282
|
-
- spec/controllers/scimitar/resources_controller_spec.rb
|
283
|
-
- spec/controllers/scimitar/service_provider_configurations_controller_spec.rb
|
284
|
-
- spec/controllers/scimitar/application_controller_spec.rb
|
285
|
-
- spec/apps/dummy/app/models/mock_group.rb
|
286
|
-
- spec/apps/dummy/app/models/mock_user.rb
|
287
|
-
- spec/apps/dummy/app/controllers/custom_request_verifiers_controller.rb
|
288
268
|
- spec/apps/dummy/app/controllers/custom_destroy_mock_users_controller.rb
|
269
|
+
- spec/apps/dummy/app/controllers/custom_request_verifiers_controller.rb
|
289
270
|
- spec/apps/dummy/app/controllers/mock_groups_controller.rb
|
290
271
|
- spec/apps/dummy/app/controllers/mock_users_controller.rb
|
291
|
-
- spec/apps/dummy/
|
292
|
-
- spec/apps/dummy/
|
293
|
-
- spec/apps/dummy/config/environment.rb
|
272
|
+
- spec/apps/dummy/app/models/mock_group.rb
|
273
|
+
- spec/apps/dummy/app/models/mock_user.rb
|
294
274
|
- spec/apps/dummy/config/application.rb
|
295
275
|
- spec/apps/dummy/config/boot.rb
|
296
|
-
- spec/apps/dummy/config/
|
276
|
+
- spec/apps/dummy/config/environment.rb
|
277
|
+
- spec/apps/dummy/config/environments/test.rb
|
297
278
|
- spec/apps/dummy/config/initializers/cookies_serializer.rb
|
298
279
|
- spec/apps/dummy/config/initializers/scimitar.rb
|
299
|
-
- spec/apps/dummy/
|
280
|
+
- spec/apps/dummy/config/initializers/session_store.rb
|
281
|
+
- spec/apps/dummy/config/routes.rb
|
282
|
+
- spec/apps/dummy/db/migrate/20210304014602_create_mock_users.rb
|
300
283
|
- spec/apps/dummy/db/migrate/20210308020313_create_mock_groups.rb
|
301
284
|
- spec/apps/dummy/db/migrate/20210308044214_create_join_table_mock_groups_mock_users.rb
|
302
|
-
- spec/apps/dummy/db/
|
285
|
+
- spec/apps/dummy/db/schema.rb
|
286
|
+
- spec/controllers/scimitar/application_controller_spec.rb
|
287
|
+
- spec/controllers/scimitar/resource_types_controller_spec.rb
|
288
|
+
- spec/controllers/scimitar/resources_controller_spec.rb
|
289
|
+
- spec/controllers/scimitar/schemas_controller_spec.rb
|
290
|
+
- spec/controllers/scimitar/service_provider_configurations_controller_spec.rb
|
291
|
+
- spec/models/scimitar/complex_types/address_spec.rb
|
292
|
+
- spec/models/scimitar/complex_types/email_spec.rb
|
293
|
+
- spec/models/scimitar/lists/count_spec.rb
|
294
|
+
- spec/models/scimitar/lists/query_parser_spec.rb
|
295
|
+
- spec/models/scimitar/resource_type_spec.rb
|
296
|
+
- spec/models/scimitar/resources/base_spec.rb
|
297
|
+
- spec/models/scimitar/resources/base_validation_spec.rb
|
298
|
+
- spec/models/scimitar/resources/mixin_spec.rb
|
299
|
+
- spec/models/scimitar/resources/user_spec.rb
|
300
|
+
- spec/models/scimitar/schema/attribute_spec.rb
|
301
|
+
- spec/models/scimitar/schema/base_spec.rb
|
302
|
+
- spec/models/scimitar/schema/group_spec.rb
|
303
|
+
- spec/models/scimitar/schema/user_spec.rb
|
304
|
+
- spec/requests/active_record_backed_resources_controller_spec.rb
|
305
|
+
- spec/requests/application_controller_spec.rb
|
306
|
+
- spec/requests/controller_configuration_spec.rb
|
307
|
+
- spec/requests/engine_spec.rb
|
308
|
+
- spec/spec_helper.rb
|
309
|
+
- spec/spec_helper_spec.rb
|
310
|
+
- spec/support/hash_with_indifferent_case_insensitive_access_spec.rb
|