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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e89fa4c842cbe29ccfea0a7a1f6ee1ddd41da89
4
- data.tar.gz: 0694adf950ef7edae816e69e7e358b0a02d5e16f
3
+ metadata.gz: 38b71c163b040e7846e76f25facfe4d1823e9877
4
+ data.tar.gz: b57e1453a45fb5265ab1135ae023f294d63a5295
5
5
  SHA512:
6
- metadata.gz: f07eb226f4ded08ddd8ed2389313027e7ab87041762d14682a3c623bfbe359548a9e83d55bce1ec26f77531c0411838371d997e4f190bc50b32ea948b45369d8
7
- data.tar.gz: 273ec00f2c16b9591a0c861671f8c03fc3ab44ba1a0c49e10811c3870f086b4464a0939c40c23e46c843dec69b0ccefd1e3904c6bf540faabb9a0436758bab0d
6
+ metadata.gz: fc3ecd625986495f7981e4bb75e680fb97961152330026a318191f3e164e7d51e22f0f85317a53a74e349ecba5f16cc8e080110f7aa3ff2ddf4a32f6cff6b5a2
7
+ data.tar.gz: 4427073a5813bbe191f5bcaf549044d9b1b83aea892772bdb867cce70d2727ae23a379586c292ca0aec43017be6e83d54850184110fec2a46bc52f175149eedc
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Steam
3
- VERSION = "1.0.5"
3
+ VERSION = "1.0.6"
4
4
  end
5
5
  end
@@ -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 = "http://steamcommunity.com/openid/id/#{claimed_id}"
56
- if openid_response.endpoint.claimed_id != expected_uri
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.5
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: 2017-02-07 00:00:00.000000000 Z
11
+ date: 2018-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-openid