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 CHANGED
@@ -7,7 +7,7 @@ This gem is an OmniAuth 1.0 strategy, supporting the OpenID Steam API.
7
7
  Add to your `Gemfile`:
8
8
 
9
9
  ```ruby
10
- gem 'omniauth-steam'
10
+ gem 'omniauth-steam-nitrogs'
11
11
  ```
12
12
 
13
13
  And then integrate the strategy into your middleware:
@@ -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/v0001/?key=#{options.api_key}&steamids=#{steam_id}")
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
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Steam
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  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.1
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-07 00:00:00.000000000 Z
12
+ date: 2012-11-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth-openid