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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81955f24b0b548d140647fab9f648ac48dfee293f83e562e9ec09475f71259d7
4
- data.tar.gz: 537ee0a682d306260d14ef1a2f2731d25ff1b25ea263bd5462854c8bc637555f
3
+ metadata.gz: dffa1aa5b4ac54a63feb3e625adde68e9e8c05a4b3a73e05ac47a4bad4415366
4
+ data.tar.gz: 2f7c8a95cbdd11294e48085fbba5c31aa6215e62dd877eef93b1bac7fd84b4b3
5
5
  SHA512:
6
- metadata.gz: 4d59632b21176bac6aa087780edfd6dedab80c9330d6ae660a3f55e475e544f6fd4cc8dbf1ba3a0977bab3eaf729edce55c77745dffcdda87d578183e23e75ba
7
- data.tar.gz: 3973081feb7b75385660d16e5a6b07a8a30cf9a714c2137871bd7707e4f9b3d3a488e4d959f42bf39c6bf6e932f532fc83aeac2ce350195ae282826f667a9866
6
+ metadata.gz: 19a34fba96441def30a507defd6464b0bee537168647e2853131ae3023675eeab3c5174d0f17a9535e2c1b0a965ec08b8971d40e58768456b1f90aefedb428d1
7
+ data.tar.gz: 391927a2bc6015d69455a80ad5335c22ba385dc03a831bb3b8cc023dae505a6636dd04cde37dc3b9ab5a60c67e14f84f09040ed592bb13f452890771a9ce6033
@@ -12,10 +12,10 @@ jobs:
12
12
  strategy:
13
13
  matrix:
14
14
  ruby:
15
- - 2.4.9
16
15
  - 2.5.8
17
16
  - 2.6.6
18
17
  - 2.7.1
18
+ - 3.0.0
19
19
 
20
20
  name: Ruby ${{ matrix.ruby }} sample
21
21
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-realme (0.2.0)
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.4.0)
22
- nokogiri (1.10.10)
23
- mini_portile2 (~> 2.4.0)
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)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Realme
5
- VERSION = '0.2.0'
5
+ VERSION = '0.2.1'
6
6
  end
7
7
  end
@@ -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
- ex = create_exception_for(status_code: response.status_code, message: response.status_message.strip)
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.0
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: 2020-09-24 00:00:00.000000000 Z
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: []