easy_auth-github 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,3 @@
1
1
  class Identities::Oauth2::Github < Identities::Oauth2::Base
2
2
  extend EasyAuth::Models::Identities::Oauth2::Github
3
- def self.authenticate(controller)
4
- debugger
5
- super
6
- end
7
3
  end
@@ -1,5 +1,5 @@
1
1
  module EasyAuth
2
2
  module Github
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
@@ -1,19 +1,19 @@
1
1
  module EasyAuth::Models::Identities::Oauth2::Github
2
2
  def authorize_url
3
- '/login/oauth/authorize'
3
+ 'https://github.com/login/oauth/authorize'
4
4
  end
5
5
 
6
6
  private
7
7
 
8
8
  def user_info_url
9
- 'https://api.github.com/user'
9
+ '/user'
10
10
  end
11
11
 
12
12
  def token_url
13
- '/login/oauth/access_token'
13
+ 'https://github.com/login/oauth/access_token'
14
14
  end
15
15
 
16
16
  def site_url
17
- 'https://github.com'
17
+ 'https://api.github.com'
18
18
  end
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_auth-github
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -251,7 +251,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
251
251
  version: '0'
252
252
  segments:
253
253
  - 0
254
- hash: -2126678042389002355
254
+ hash: -772145443901761509
255
255
  required_rubygems_version: !ruby/object:Gem::Requirement
256
256
  none: false
257
257
  requirements:
@@ -260,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
260
260
  version: '0'
261
261
  segments:
262
262
  - 0
263
- hash: -2126678042389002355
263
+ hash: -772145443901761509
264
264
  requirements: []
265
265
  rubyforge_project:
266
266
  rubygems_version: 1.8.23