omniauth-heroku 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -11,7 +11,7 @@ OmniAuth works as a Rack middleware. Mount this Heroku adapter with:
11
11
 
12
12
  ```ruby
13
13
  use OmniAuth::Builder do
14
- provider :heroku, ENV['HEROKU_ID'], ENV['HEROKU_SECRET']
14
+ provider :heroku, ENV['HEROKU_OAUTH_ID'], ENV['HEROKU_OAUTH_SECRET']
15
15
  end
16
16
  ```
17
17
 
@@ -33,7 +33,7 @@ Under `config/initializers/omniauth.rb`:
33
33
 
34
34
  ```ruby
35
35
  Rails.application.config.middleware.use OmniAuth::Builder do
36
- provider :heroku, ENV['HEROKU_ID'], ENV['HEROKU_SECRET']
36
+ provider :heroku, ENV['HEROKU_OAUTH_ID'], ENV['HEROKU_OAUTH_SECRET']
37
37
  end
38
38
  ```
39
39
 
@@ -78,4 +78,4 @@ And view:
78
78
 
79
79
  Released under the MIT license.
80
80
 
81
- Created by Pedro Belo.
81
+ Created by Pedro Belo.
@@ -3,7 +3,7 @@ require 'omniauth-oauth2'
3
3
  module OmniAuth
4
4
  module Strategies
5
5
  class Heroku < OmniAuth::Strategies::OAuth2
6
- BaseAuthUrl = ENV["HEROKU_AUTH_URL"] || "https://api.heroku.com"
6
+ BaseAuthUrl = ENV["HEROKU_AUTH_URL"] || "https://id.heroku.com"
7
7
 
8
8
  option :client_options, {
9
9
  :site => BaseAuthUrl,
@@ -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.1.0"
12
+ gem.version = "0.1.1"
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.1.0
4
+ version: 0.1.1
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: 2013-02-14 00:00:00.000000000 Z
12
+ date: 2013-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth