easy_auth-twitter 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # EasyAuth-Github #
1
+ # EasyAuth-Twitter #
2
2
 
3
- [![Build Status](https://secure.travis-ci.org/dockyard/easy_auth-github.png?branch=master)](http://travis-ci.org/dockyard/easy_auth-github)
4
- [![Dependency Status](https://gemnasium.com/dockyard/easy_auth-github.png?travis)](https://gemnasium.com/dockyard/easy_auth-github)
5
- [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/dockyard/easy_auth-github)
3
+ [![Build Status](https://secure.travis-ci.org/dockyard/easy_auth-twitter.png?branch=master)](http://travis-ci.org/dockyard/easy_auth-twitter)
4
+ [![Dependency Status](https://gemnasium.com/dockyard/easy_auth-twitter.png?travis)](https://gemnasium.com/dockyard/easy_auth-twitter)
5
+ [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/twitter/dockyard/easy_auth-twitter)
6
6
 
7
7
  Dead simple drop in authentication for Rails
8
8
 
@@ -11,13 +11,13 @@ Dead simple drop in authentication for Rails
11
11
  In your Gemfile add the following:
12
12
 
13
13
  ```ruby
14
- gem 'easy_auth-github'
14
+ gem 'easy_auth-twitter'
15
15
  ```
16
16
 
17
17
  After running Bundler you'll need to install the migrations
18
18
 
19
19
  ```ruby
20
- rake easy_auth-github:install:migrations
20
+ rake easy_auth-twitter:install:migrations
21
21
  ```
22
22
 
23
23
  Then run your migrations.
@@ -0,0 +1,3 @@
1
+ class Identities::Oauth::Twitter < Identities::Oauth::Base
2
+ extend EasyAuth::Models::Identities::Oauth::Twitter
3
+ end
@@ -1,4 +1,4 @@
1
- module EasyAuth::Models::Identities::OAuth1::Twitter
1
+ module EasyAuth::Models::Identities::Oauth::Twitter
2
2
  def authorize_path
3
3
  '/oauth/authenticate'
4
4
  end
@@ -1,5 +1,5 @@
1
1
  module EasyAuth
2
2
  module Twitter
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.2'
4
4
  end
5
5
  end
@@ -1,2 +1,6 @@
1
- require 'easy_auth-o_auth1'
2
- require 'easy_auth/o_auth1/twitter'
1
+ require 'easy_auth-oauth'
2
+ require 'easy_auth/twitter/engine'
3
+
4
+ module EasyAuth::Models::Identities::Oauth
5
+ autoload :Twitter
6
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_auth-twitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,24 +10,24 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-11-02 00:00:00.000000000 Z
13
+ date: 2012-11-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: easy_auth-o_auth1
16
+ name: easy_auth-oauth
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
- - - ! '>='
20
+ - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: '0'
22
+ version: 0.0.2
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
28
- - - ! '>='
28
+ - - '='
29
29
  - !ruby/object:Gem::Version
30
- version: '0'
30
+ version: 0.0.2
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: sqlite3
33
33
  requirement: !ruby/object:Gem::Requirement
@@ -229,16 +229,12 @@ executables: []
229
229
  extensions: []
230
230
  extra_rdoc_files: []
231
231
  files:
232
- - app/models/easy_auth/identities/o_auth1/twitter.rb
233
- - lib/easy_auth/models/identities/o_auth1/twitter.rb
234
- - lib/easy_auth/o_auth1/twitter/controllers/sessions.rb
235
- - lib/easy_auth/o_auth1/twitter/controllers.rb
236
- - lib/easy_auth/o_auth1/twitter.rb
232
+ - app/models/identities/oauth/twitter.rb
233
+ - lib/easy_auth/models/identities/oauth/twitter.rb
237
234
  - lib/easy_auth/twitter/engine.rb
238
235
  - lib/easy_auth/twitter/version.rb
239
236
  - lib/easy_auth/twitter.rb
240
237
  - lib/easy_auth-twitter.rb
241
- - lib/tasks/easy_auth_tasks.rake
242
238
  - Rakefile
243
239
  - README.md
244
240
  homepage: https://twitter.com/dockyard/easy_auth-twitter
@@ -255,7 +251,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
255
251
  version: '0'
256
252
  segments:
257
253
  - 0
258
- hash: 304385769054558588
254
+ hash: 4391914570098498107
259
255
  required_rubygems_version: !ruby/object:Gem::Requirement
260
256
  none: false
261
257
  requirements:
@@ -264,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
260
  version: '0'
265
261
  segments:
266
262
  - 0
267
- hash: 304385769054558588
263
+ hash: 4391914570098498107
268
264
  requirements: []
269
265
  rubyforge_project:
270
266
  rubygems_version: 1.8.23
@@ -1,3 +0,0 @@
1
- class EasyAuth::Identities::OAuth1::Twitter < EasyAuth::Identities::OAuth1::Base
2
- extend EasyAuth::Models::Identities::OAuth1::Twitter
3
- end
@@ -1,12 +0,0 @@
1
- module EasyAuth::OAuth1::Twitter::Controllers::Sessions
2
- private
3
-
4
- def after_successful_sign_in_with_o_auth1_for_twitter(identity)
5
- end
6
-
7
- def after_successful_sign_in_url_with_o_auth1_for_twitter(identity)
8
- end
9
-
10
- def after_failed_sign_in_with_o_auth1_for_twitter(identity)
11
- end
12
- end
@@ -1,4 +0,0 @@
1
- module EasyAuth::OAuth1::Twitter::Controllers
2
- extend ActiveSupport::Autoload
3
- autoload :Sessions
4
- end
@@ -1,20 +0,0 @@
1
- require 'easy_auth/twitter/engine'
2
-
3
- module EasyAuth
4
- def self.o_auth1_twitter_identity_model(controller)
5
- EasyAuth::Identities::OAuth1::Twitter
6
- end
7
-
8
- module OAuth1::Twitter
9
- extend ActiveSupport::Autoload
10
- autoload :Controllers
11
- end
12
-
13
- module Controllers::Sessions
14
- include EasyAuth::OAuth1::Twitter::Controllers::Sessions
15
- end
16
-
17
- module Models::Identities::OAuth1
18
- autoload :Twitter
19
- end
20
- end
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :easy_auth do
3
- # # Task goes here
4
- # end