omniauth-realme 0.2.0 → 0.2.1
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 +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/Gemfile.lock +6 -4
- data/lib/omniauth/realme/version.rb +1 -1
- data/lib/omniauth/strategies/realme.rb +2 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dffa1aa5b4ac54a63feb3e625adde68e9e8c05a4b3a73e05ac47a4bad4415366
|
|
4
|
+
data.tar.gz: 2f7c8a95cbdd11294e48085fbba5c31aa6215e62dd877eef93b1bac7fd84b4b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 19a34fba96441def30a507defd6464b0bee537168647e2853131ae3023675eeab3c5174d0f17a9535e2c1b0a965ec08b8971d40e58768456b1f90aefedb428d1
|
|
7
|
+
data.tar.gz: 391927a2bc6015d69455a80ad5335c22ba385dc03a831bb3b8cc023dae505a6636dd04cde37dc3b9ab5a60c67e14f84f09040ed592bb13f452890771a9ce6033
|
data/.github/workflows/ci.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
omniauth-realme (0.2.
|
|
4
|
+
omniauth-realme (0.2.1)
|
|
5
5
|
omniauth (~> 1.0)
|
|
6
6
|
ruby-saml (~> 1.5)
|
|
7
7
|
uuid (~> 2.0)
|
|
@@ -18,9 +18,10 @@ GEM
|
|
|
18
18
|
macaddr (1.7.2)
|
|
19
19
|
systemu (~> 2.6.5)
|
|
20
20
|
method_source (1.0.0)
|
|
21
|
-
mini_portile2 (2.
|
|
22
|
-
nokogiri (1.
|
|
23
|
-
mini_portile2 (~> 2.
|
|
21
|
+
mini_portile2 (2.5.0)
|
|
22
|
+
nokogiri (1.11.1)
|
|
23
|
+
mini_portile2 (~> 2.5.0)
|
|
24
|
+
racc (~> 1.4)
|
|
24
25
|
omniauth (1.9.1)
|
|
25
26
|
hashie (>= 3.4.6)
|
|
26
27
|
rack (>= 1.6.2, < 3)
|
|
@@ -33,6 +34,7 @@ GEM
|
|
|
33
34
|
pry-byebug (3.9.0)
|
|
34
35
|
byebug (~> 11.0)
|
|
35
36
|
pry (~> 0.13.0)
|
|
37
|
+
racc (1.5.2)
|
|
36
38
|
rack (2.2.3)
|
|
37
39
|
rack-test (1.1.0)
|
|
38
40
|
rack (>= 1.0, < 3)
|
|
@@ -108,7 +108,8 @@ module OmniAuth
|
|
|
108
108
|
if response.is_valid? # rubocop:disable Style/IfInsideElse
|
|
109
109
|
@uid = response.nameid
|
|
110
110
|
else
|
|
111
|
-
|
|
111
|
+
msg = response.status_message ? response.status_message.strip : ''
|
|
112
|
+
ex = create_exception_for(status_code: response.status_code, message: msg)
|
|
112
113
|
|
|
113
114
|
# fail!() returns a rack response which this callback must also
|
|
114
115
|
# return if OmniAuth error handling is to work correctly.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-realme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- DigitalNZ
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: omniauth
|
|
@@ -181,7 +181,7 @@ licenses:
|
|
|
181
181
|
metadata:
|
|
182
182
|
homepage_uri: https://github.com/omniauth/omniauth
|
|
183
183
|
source_code_uri: https://github.com/omniauth/omniauth
|
|
184
|
-
post_install_message:
|
|
184
|
+
post_install_message:
|
|
185
185
|
rdoc_options: []
|
|
186
186
|
require_paths:
|
|
187
187
|
- lib
|
|
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
197
197
|
version: '0'
|
|
198
198
|
requirements: []
|
|
199
199
|
rubygems_version: 3.0.3
|
|
200
|
-
signing_key:
|
|
200
|
+
signing_key:
|
|
201
201
|
specification_version: 4
|
|
202
202
|
summary: Omniauth strategy for New Zealands secure online identity verification service.
|
|
203
203
|
test_files: []
|