omniauth-heroku 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -7,9 +7,11 @@ Heroku's support for OAuth is still private/experimental.
7
7
 
8
8
  ## Basic Usage
9
9
 
10
- use OmniAuth::Builder do
11
- provider :heroku, ENV['HEROKU_KEY'], ENV['HEROKU_SECRET']
12
- end
10
+ ```ruby
11
+ use OmniAuth::Builder do
12
+ provider :heroku, ENV['HEROKU_KEY'], ENV['HEROKU_SECRET']
13
+ end
14
+ ```
13
15
 
14
16
 
15
17
  ## Meta
@@ -26,7 +26,7 @@ module OmniAuth
26
26
  end
27
27
 
28
28
  def raw_info
29
- access_token.options[:mode] = :query
29
+ access_token.options[:mode] = :header
30
30
  @raw_info ||= access_token.get('/account').parsed
31
31
  end
32
32
  end
@@ -9,7 +9,7 @@ Gem::Specification.new do |gem|
9
9
  gem.files = `git ls-files`.split("\n")
10
10
  gem.name = "omniauth-heroku"
11
11
  gem.require_paths = ["lib"]
12
- gem.version = "0.0.3"
12
+ gem.version = "0.0.4"
13
13
 
14
14
  gem.add_dependency 'omniauth', '~> 1.0'
15
15
  gem.add_dependency 'omniauth-oauth2', '~> 1.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-heroku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-07 00:00:00.000000000 Z
12
+ date: 2012-07-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth
16
- requirement: &70101613307220 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70101613307220
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: omniauth-oauth2
27
- requirement: &70101613321680 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
@@ -32,7 +37,12 @@ dependencies:
32
37
  version: '1.0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70101613321680
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '1.0'
36
46
  description: OmniAuth strategy for Heroku.
37
47
  email:
38
48
  - pedro@heroku.com
@@ -67,9 +77,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
77
  version: '0'
68
78
  requirements: []
69
79
  rubyforge_project:
70
- rubygems_version: 1.8.15
80
+ rubygems_version: 1.8.22
71
81
  signing_key:
72
82
  specification_version: 3
73
83
  summary: OmniAuth strategy for Heroku.
74
84
  test_files: []
75
- has_rdoc: