raj-authlogic-oauth 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +3 -4
- data/Rakefile +2 -2
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -80,16 +80,15 @@ The oauth_consumer should return an OAuth::Consumer which is configured for your
|
|
80
80
|
|
81
81
|
def self.oauth_consumer
|
82
82
|
OAuth::Consumer.new("TOKEN", "SECRET",
|
83
|
-
{ :site=>"http://twitter.com",
|
84
|
-
:authorize_url => "http://twitter.com/oauth/authenticate" })
|
83
|
+
{ :site=>"http://api.twitter.com",
|
84
|
+
:authorize_url => "http://api.twitter.com/oauth/authenticate" })
|
85
85
|
end
|
86
86
|
|
87
87
|
end
|
88
88
|
|
89
89
|
=== 6. Add login and register buttons to your views
|
90
90
|
|
91
|
-
|
92
|
-
<%= oauth_login_button :value => "Login with Twitter" %>
|
91
|
+
<%= oauth_login_button :value => "Login with Twitter" %>
|
93
92
|
|
94
93
|
That's it! The rest is taken care of for you.
|
95
94
|
|
data/Rakefile
CHANGED
@@ -5,12 +5,12 @@ require "hoe"
|
|
5
5
|
require File.dirname(__FILE__) << "/lib/authlogic_oauth/version"
|
6
6
|
|
7
7
|
Hoe.new("raj_authlogic-oauth", AuthlogicOauth::Version::STRING) do |p|
|
8
|
-
p.name = "
|
8
|
+
p.name = "raj-authlogic-oauth"
|
9
9
|
p.author = "John Allison"
|
10
10
|
p.email = 'jrallison@gmail.com'
|
11
11
|
p.summary = "An authlogic extension for authenticating via OAuth. (I.E. Twitter login)"
|
12
12
|
p.description = "An authlogic extension for authenticating via OAuth. This can be helpful for adding support for login/registration with Twitter credentials."
|
13
|
-
p.url = "http://github.com/
|
13
|
+
p.url = "http://github.com/rajeshgarg/authlogic_oauth"
|
14
14
|
p.history_file = "CHANGELOG.rdoc"
|
15
15
|
p.readme_file = "README.rdoc"
|
16
16
|
p.extra_rdoc_files = ["CHANGELOG.rdoc", "README.rdoc"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raj-authlogic-oauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -73,7 +73,7 @@ files:
|
|
73
73
|
- test/lib/user_session.rb
|
74
74
|
- test/session_test.rb
|
75
75
|
- test/test_helper.rb
|
76
|
-
homepage: http://github.com/
|
76
|
+
homepage: http://github.com/rajeshgarg/authlogic_oauth
|
77
77
|
licenses: []
|
78
78
|
post_install_message:
|
79
79
|
rdoc_options:
|