easy_auth-google 0.0.1 → 0.0.2
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/app/models/identities/oauth2/google.rb +3 -0
- data/lib/easy_auth/google/version.rb +1 -1
- data/lib/easy_auth/google.rb +6 -2
- data/lib/easy_auth/models/identities/{o_auth2 → oauth2}/google.rb +1 -1
- metadata +11 -15
- data/app/models/easy_auth/identities/o_auth2/google.rb +0 -3
- data/lib/easy_auth/o_auth2/google/controllers/sessions.rb +0 -12
- data/lib/easy_auth/o_auth2/google/controllers.rb +0 -4
- data/lib/easy_auth/o_auth2/google.rb +0 -20
- data/lib/tasks/easy_auth_tasks.rake +0 -4
data/lib/easy_auth/google.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy_auth-google
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
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-
|
13
|
+
date: 2012-11-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name: easy_auth-
|
16
|
+
name: easy_auth-oauth2
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
|
-
- -
|
20
|
+
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
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:
|
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/
|
232
|
+
- app/models/identities/oauth2/google.rb
|
233
233
|
- lib/easy_auth/google/engine.rb
|
234
234
|
- lib/easy_auth/google/version.rb
|
235
235
|
- lib/easy_auth/google.rb
|
236
|
-
- lib/easy_auth/models/identities/
|
237
|
-
- lib/easy_auth/o_auth2/google/controllers/sessions.rb
|
238
|
-
- lib/easy_auth/o_auth2/google/controllers.rb
|
239
|
-
- lib/easy_auth/o_auth2/google.rb
|
236
|
+
- lib/easy_auth/models/identities/oauth2/google.rb
|
240
237
|
- lib/easy_auth-google.rb
|
241
|
-
- lib/tasks/easy_auth_tasks.rake
|
242
238
|
- Rakefile
|
243
239
|
- README.md
|
244
240
|
homepage: https://github.com/dockyard/easy_auth-google
|
@@ -255,7 +251,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
255
251
|
version: '0'
|
256
252
|
segments:
|
257
253
|
- 0
|
258
|
-
hash: -
|
254
|
+
hash: -2460569949903168999
|
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: -
|
263
|
+
hash: -2460569949903168999
|
268
264
|
requirements: []
|
269
265
|
rubyforge_project:
|
270
266
|
rubygems_version: 1.8.23
|
@@ -1,12 +0,0 @@
|
|
1
|
-
module EasyAuth::OAuth2::Google::Controllers::Sessions
|
2
|
-
private
|
3
|
-
|
4
|
-
def after_successful_sign_in_with_o_auth2_for_google(identity)
|
5
|
-
end
|
6
|
-
|
7
|
-
def after_successful_sign_in_url_with_o_auth2_for_google(identity)
|
8
|
-
end
|
9
|
-
|
10
|
-
def after_failed_sign_in_with_o_auth2_for_google(identity)
|
11
|
-
end
|
12
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
require 'easy_auth/google/engine'
|
2
|
-
|
3
|
-
module EasyAuth
|
4
|
-
def self.o_auth2_google_identity_model(controller)
|
5
|
-
EasyAuth::Identities::OAuth2::Google
|
6
|
-
end
|
7
|
-
|
8
|
-
module OAuth2::Google
|
9
|
-
extend ActiveSupport::Autoload
|
10
|
-
autoload :Controllers
|
11
|
-
end
|
12
|
-
|
13
|
-
module Controllers::Sessions
|
14
|
-
include EasyAuth::OAuth2::Google::Controllers::Sessions
|
15
|
-
end
|
16
|
-
|
17
|
-
module Models::Identities::OAuth2
|
18
|
-
autoload :Google
|
19
|
-
end
|
20
|
-
end
|