crowdint_auth 0.1.2 → 0.1.3
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.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/crowdint_auth/version.rb +1 -1
- metadata +19 -19
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2a0781af6f981c2663e2a25d58ef13d9c51660be
|
|
4
|
+
data.tar.gz: 189adb3411d4c9b12f22c81c3c1d8630807a5531
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce2fddc52bcd4502c338db58e51df2bc158bcf726a4580daa6a058d0567a24ab307c8c9c81eea88ab0465ee40439758f664643cb1977cc28bc195fb6a59ce956
|
|
7
|
+
data.tar.gz: ee1004de9c43052cb3417de945450eb0faa67503f83caee588322bf8a3f276d6b793ae25a0e7d7d6d0b9c40e41864bd5dfd518f2f961c96218eb00287bfae5bf
|
data/README.md
CHANGED
|
@@ -41,7 +41,7 @@ The devise model should include the `:omniauthable` option, for example:
|
|
|
41
41
|
Set up the devise routes:
|
|
42
42
|
|
|
43
43
|
devise_scope :user do
|
|
44
|
-
|
|
44
|
+
get 'google_apps_sign_in', :to => "crowdint_auth/omniauth_callbacks#google_apps_sign_in"
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
devise_for :users, controllers: { omniauth_callbacks: 'crowdint_auth/omniauth_callbacks' }
|
|
@@ -49,7 +49,7 @@ Set up the devise routes:
|
|
|
49
49
|
The first match will determine the url for the login. That is, your sign in link
|
|
50
50
|
will probably look something like:
|
|
51
51
|
|
|
52
|
-
= link_to 'Sign In',
|
|
52
|
+
= link_to 'Sign In', google_apps_sign_in_path
|
|
53
53
|
|
|
54
54
|
### If your user class is named differently
|
|
55
55
|
|
|
@@ -65,7 +65,7 @@ Create your own omniauth callbacks controller that inherits from
|
|
|
65
65
|
And set it up on routes:
|
|
66
66
|
|
|
67
67
|
devise_scope :user do
|
|
68
|
-
|
|
68
|
+
get 'google_apps_sign_in', :to => "users/omniauth_callbacks#google_apps_sign_in"
|
|
69
69
|
end
|
|
70
70
|
|
|
71
71
|
devise_for :users, controllers: { omniauth_callbacks: 'users/omniauth_callbacks' }
|
metadata
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: crowdint_auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Padilla
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-04-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - ~>
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: 4.0.0
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - ~>
|
|
24
|
+
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: 4.0.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: devise
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- - ~>
|
|
31
|
+
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 3.
|
|
33
|
+
version: 3.2.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- - ~>
|
|
38
|
+
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 3.
|
|
40
|
+
version: 3.2.0
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: omniauth-google-apps
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- -
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '0'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- -
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: rspec-rails
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- -
|
|
59
|
+
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- -
|
|
66
|
+
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
69
|
description: 'Authenticate Rails apps with CrowdInt''s Google Apps and Devise '
|
|
@@ -73,6 +73,9 @@ executables: []
|
|
|
73
73
|
extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
|
75
75
|
files:
|
|
76
|
+
- MIT-LICENSE
|
|
77
|
+
- README.md
|
|
78
|
+
- Rakefile
|
|
76
79
|
- app/assets/stylesheets/crowdint_auth/application.css
|
|
77
80
|
- app/controllers/crowdint_auth/application_controller.rb
|
|
78
81
|
- app/controllers/crowdint_auth/omniauth_callbacks_controller.rb
|
|
@@ -80,14 +83,11 @@ files:
|
|
|
80
83
|
- app/views/layouts/crowdint_auth/application.html.erb
|
|
81
84
|
- config/initializers/devise.rb
|
|
82
85
|
- config/routes.rb
|
|
86
|
+
- lib/crowdint_auth.rb
|
|
83
87
|
- lib/crowdint_auth/devise/failure_app.rb
|
|
84
88
|
- lib/crowdint_auth/engine.rb
|
|
85
89
|
- lib/crowdint_auth/version.rb
|
|
86
|
-
- lib/crowdint_auth.rb
|
|
87
90
|
- lib/tasks/crowdint_auth_tasks.rake
|
|
88
|
-
- MIT-LICENSE
|
|
89
|
-
- Rakefile
|
|
90
|
-
- README.md
|
|
91
91
|
homepage: https://github.com/dabit/crowdint_auth
|
|
92
92
|
licenses: []
|
|
93
93
|
metadata: {}
|
|
@@ -97,17 +97,17 @@ require_paths:
|
|
|
97
97
|
- lib
|
|
98
98
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
99
|
requirements:
|
|
100
|
-
- -
|
|
100
|
+
- - ">="
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
102
|
version: '0'
|
|
103
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
requirements:
|
|
105
|
-
- -
|
|
105
|
+
- - ">="
|
|
106
106
|
- !ruby/object:Gem::Version
|
|
107
107
|
version: '0'
|
|
108
108
|
requirements: []
|
|
109
109
|
rubyforge_project:
|
|
110
|
-
rubygems_version: 2.0
|
|
110
|
+
rubygems_version: 2.2.0
|
|
111
111
|
signing_key:
|
|
112
112
|
specification_version: 4
|
|
113
113
|
summary: Authenticate Rails apps with CrowdInt's Google Apps and Devise
|