omniauth-steam 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth-steam/version.rb +1 -1
- data/lib/omniauth/strategies/steam.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38b71c163b040e7846e76f25facfe4d1823e9877
|
4
|
+
data.tar.gz: b57e1453a45fb5265ab1135ae023f294d63a5295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc3ecd625986495f7981e4bb75e680fb97961152330026a318191f3e164e7d51e22f0f85317a53a74e349ecba5f16cc8e080110f7aa3ff2ddf4a32f6cff6b5a2
|
7
|
+
data.tar.gz: 4427073a5813bbe191f5bcaf549044d9b1b83aea892772bdb867cce70d2727ae23a379586c292ca0aec43017be6e83d54850184110fec2a46bc52f175149eedc
|
@@ -52,8 +52,8 @@ module OmniAuth
|
|
52
52
|
def steam_id
|
53
53
|
@steam_id ||= begin
|
54
54
|
claimed_id = openid_response.display_identifier.split('/').last
|
55
|
-
expected_uri =
|
56
|
-
|
55
|
+
expected_uri = %r{\Ahttps?://steamcommunity\.com/openid/id/#{claimed_id}\Z}
|
56
|
+
unless expected_uri.match(openid_response.endpoint.claimed_id)
|
57
57
|
raise 'Steam Claimed ID mismatch!'
|
58
58
|
end
|
59
59
|
claimed_id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-steam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Navarro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-openid
|