omniauth-steam-nitrogs 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/omniauth/strategies/steam.rb +3 -1
- data/lib/omniauth-steam-nitrogs/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
require 'omniauth-openid'
|
2
|
+
require 'multi_json'
|
3
|
+
|
2
4
|
module OmniAuth
|
3
5
|
module Strategies
|
4
6
|
class Steam < OmniAuth::Strategies::OpenID
|
@@ -41,7 +43,7 @@ module OmniAuth
|
|
41
43
|
end
|
42
44
|
|
43
45
|
def player_profile_uri
|
44
|
-
URI.parse("http://api.steampowered.com/ISteamUser/GetPlayerSummaries/
|
46
|
+
URI.parse("http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=#{options.api_key}&steamids=#{steam_id}")
|
45
47
|
end
|
46
48
|
end
|
47
49
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-steam-nitrogs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth-openid
|