devise_saml_authenticatable 1.5.0 → 1.6.3
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.
- checksums.yaml +5 -5
- data/.gitignore +0 -2
- data/.travis.yml +20 -21
- data/Gemfile +2 -2
- data/README.md +62 -18
- data/app/controllers/devise/saml_sessions_controller.rb +34 -7
- data/lib/devise_saml_authenticatable.rb +14 -1
- data/lib/devise_saml_authenticatable/default_attribute_map_resolver.rb +26 -0
- data/lib/devise_saml_authenticatable/exception.rb +1 -1
- data/lib/devise_saml_authenticatable/model.rb +8 -11
- data/lib/devise_saml_authenticatable/saml_config.rb +18 -2
- data/lib/devise_saml_authenticatable/strategy.rb +1 -1
- data/lib/devise_saml_authenticatable/version.rb +1 -1
- data/spec/controllers/devise/saml_sessions_controller_spec.rb +69 -11
- data/spec/devise_saml_authenticatable/default_attribute_map_resolver_spec.rb +58 -0
- data/spec/devise_saml_authenticatable/model_spec.rb +19 -8
- data/spec/features/saml_authentication_spec.rb +44 -37
- data/spec/rails_helper.rb +2 -2
- data/spec/spec_helper.rb +7 -0
- data/spec/support/Gemfile.rails4 +20 -10
- data/spec/support/Gemfile.rails5 +13 -2
- data/spec/support/Gemfile.rails5.1 +13 -2
- data/spec/support/Gemfile.rails5.2 +25 -0
- data/spec/support/attribute_map_resolver.rb.erb +14 -0
- data/spec/support/idp_settings_adapter.rb.erb +5 -5
- data/spec/support/idp_template.rb +3 -1
- data/spec/support/rails_app.rb +75 -17
- data/spec/support/saml_idp_controller.rb.erb +13 -6
- data/spec/support/sp_template.rb +43 -21
- metadata +13 -8
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_saml_authenticatable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josef Sauter
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|
@@ -55,6 +55,7 @@ files:
|
|
55
55
|
- app/controllers/devise/saml_sessions_controller.rb
|
56
56
|
- devise_saml_authenticatable.gemspec
|
57
57
|
- lib/devise_saml_authenticatable.rb
|
58
|
+
- lib/devise_saml_authenticatable/default_attribute_map_resolver.rb
|
58
59
|
- lib/devise_saml_authenticatable/default_idp_entity_id_reader.rb
|
59
60
|
- lib/devise_saml_authenticatable/exception.rb
|
60
61
|
- lib/devise_saml_authenticatable/logger.rb
|
@@ -67,6 +68,7 @@ files:
|
|
67
68
|
- lib/devise_saml_authenticatable/version.rb
|
68
69
|
- rails/init.rb
|
69
70
|
- spec/controllers/devise/saml_sessions_controller_spec.rb
|
71
|
+
- spec/devise_saml_authenticatable/default_attribute_map_resolver_spec.rb
|
70
72
|
- spec/devise_saml_authenticatable/default_idp_entity_id_reader_spec.rb
|
71
73
|
- spec/devise_saml_authenticatable/model_spec.rb
|
72
74
|
- spec/devise_saml_authenticatable/saml_config_spec.rb
|
@@ -79,7 +81,9 @@ files:
|
|
79
81
|
- spec/support/Gemfile.rails4
|
80
82
|
- spec/support/Gemfile.rails5
|
81
83
|
- spec/support/Gemfile.rails5.1
|
84
|
+
- spec/support/Gemfile.rails5.2
|
82
85
|
- spec/support/attribute-map.yml
|
86
|
+
- spec/support/attribute_map_resolver.rb.erb
|
83
87
|
- spec/support/idp_settings_adapter.rb.erb
|
84
88
|
- spec/support/idp_template.rb
|
85
89
|
- spec/support/rails_app.rb
|
@@ -91,7 +95,7 @@ homepage: ''
|
|
91
95
|
licenses:
|
92
96
|
- MIT
|
93
97
|
metadata: {}
|
94
|
-
post_install_message:
|
98
|
+
post_install_message:
|
95
99
|
rdoc_options: []
|
96
100
|
require_paths:
|
97
101
|
- lib
|
@@ -106,13 +110,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
110
|
- !ruby/object:Gem::Version
|
107
111
|
version: '0'
|
108
112
|
requirements: []
|
109
|
-
|
110
|
-
|
111
|
-
signing_key:
|
113
|
+
rubygems_version: 3.0.3
|
114
|
+
signing_key:
|
112
115
|
specification_version: 4
|
113
116
|
summary: SAML Authentication for devise
|
114
117
|
test_files:
|
115
118
|
- spec/controllers/devise/saml_sessions_controller_spec.rb
|
119
|
+
- spec/devise_saml_authenticatable/default_attribute_map_resolver_spec.rb
|
116
120
|
- spec/devise_saml_authenticatable/default_idp_entity_id_reader_spec.rb
|
117
121
|
- spec/devise_saml_authenticatable/model_spec.rb
|
118
122
|
- spec/devise_saml_authenticatable/saml_config_spec.rb
|
@@ -125,7 +129,9 @@ test_files:
|
|
125
129
|
- spec/support/Gemfile.rails4
|
126
130
|
- spec/support/Gemfile.rails5
|
127
131
|
- spec/support/Gemfile.rails5.1
|
132
|
+
- spec/support/Gemfile.rails5.2
|
128
133
|
- spec/support/attribute-map.yml
|
134
|
+
- spec/support/attribute_map_resolver.rb.erb
|
129
135
|
- spec/support/idp_settings_adapter.rb.erb
|
130
136
|
- spec/support/idp_template.rb
|
131
137
|
- spec/support/rails_app.rb
|
@@ -133,4 +139,3 @@ test_files:
|
|
133
139
|
- spec/support/saml_idp-saml_slo_post.html.erb
|
134
140
|
- spec/support/saml_idp_controller.rb.erb
|
135
141
|
- spec/support/sp_template.rb
|
136
|
-
has_rdoc:
|