omniauth-humanid 0.0.21 → 0.0.22

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: 99cf10308b8046dfa79c5e8061af8d86960b370e5960125307e39016c5e26d82
4
- data.tar.gz: f45ad61e2c22e45e84ac78a21e49237c5e65717b9993cd91843812b332adaa85
3
+ metadata.gz: 9cd57cf0904210119c820dc7867c5cd07a2984d0267cb8b22c88b9861f852ce7
4
+ data.tar.gz: 0a1bb5fa7f63898cacc492748befc9ca985340c74aa8ab96b5fa913cb9d2634e
5
5
  SHA512:
6
- metadata.gz: ed6685f61278e836f589bcdb7f252b3fb3ca03b250411502c371a0aca2cac5519ea44c7abac701d57590a8a92fe92e7d4e2c78b0422af1747a51a14794b8fcfb
7
- data.tar.gz: 858b1ba735e0c85dc1ffb07126469a0179a65aa21ad4c9bb6efddbaaff9035fec3b3af27db5393ce00036db0be1e810948dd10f33600048971a9b865dfdeadee
6
+ metadata.gz: dc7c5b267bbfe4c812216e494ff9e1cdf4fe6ceb59d869c81701c73b9713842ff306622dcebccb9b84a8539cea867a0555043f21e0adafcd94432db5ebf920ce
7
+ data.tar.gz: 86a847799b4aad2576c9dd512e2971ac8b8678c028345106cb4f70e4055b78eadcd61304af102811b52ab13ae84017e8fcc54ac5354963906b487950be91b79b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-humanid (0.0.21)
4
+ omniauth-humanid (0.0.22)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -132,19 +132,14 @@ module OmniAuth
132
132
  raise StandardError.new(str)
133
133
  end
134
134
  end
135
-
136
- def info
135
+
136
+ #not a method? Some DSL magic that is not explained in docs. Just looked at other projects and they did something like this so
137
+ info do
137
138
  raw_info['data']
138
139
  end
139
- def uid
140
- info['userAppId']
141
- end
142
- def countryCide
143
- info['countryCide']
140
+ uid do
141
+ raw_info['data']['userAppId']
144
142
  end
145
- alias userAppId uid
146
- alias country_cide countryCide
147
- alias country_code countryCide
148
143
  end
149
144
  end
150
145
  end
@@ -1,4 +1,4 @@
1
- version = '0.0.21'
1
+ version = '0.0.22'
2
2
  #version must be on the first line for the update script
3
3
 
4
4
  Gem::Specification.new do |spec|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-humanid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Clancy