scimitar 1.0.3 → 1.2.1
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/controllers/scimitar/application_controller.rb +8 -3
- data/app/models/scimitar/complex_types/base.rb +43 -1
- data/app/models/scimitar/resources/base.rb +23 -5
- data/app/models/scimitar/resources/mixin.rb +34 -26
- data/app/models/scimitar/schema/base.rb +3 -1
- 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/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 +13 -0
- data/spec/requests/active_record_backed_resources_controller_spec.rb +173 -127
- data/spec/requests/application_controller_spec.rb +6 -3
- 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 +19 -11
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: 1.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- RIPA Global
|
8
8
|
- Andrew David Hodgkinson
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -87,14 +87,14 @@ dependencies:
|
|
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,11 +235,16 @@ 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
|
-
|
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
|
242
248
|
post_install_message:
|
243
249
|
rdoc_options: []
|
244
250
|
require_paths:
|
@@ -254,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
254
260
|
- !ruby/object:Gem::Version
|
255
261
|
version: '0'
|
256
262
|
requirements: []
|
257
|
-
rubygems_version: 3.1.
|
263
|
+
rubygems_version: 3.1.6
|
258
264
|
signing_key:
|
259
265
|
specification_version: 4
|
260
266
|
summary: SCIM v2 for Rails
|
@@ -277,6 +283,8 @@ test_files:
|
|
277
283
|
- spec/requests/engine_spec.rb
|
278
284
|
- spec/requests/active_record_backed_resources_controller_spec.rb
|
279
285
|
- spec/requests/application_controller_spec.rb
|
286
|
+
- spec/spec_helper_spec.rb
|
287
|
+
- spec/support/hash_with_indifferent_case_insensitive_access_spec.rb
|
280
288
|
- spec/controllers/scimitar/schemas_controller_spec.rb
|
281
289
|
- spec/controllers/scimitar/resource_types_controller_spec.rb
|
282
290
|
- spec/controllers/scimitar/resources_controller_spec.rb
|