devise-multi_auth 0.2.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2a77b141aa9cad08a8795f3654aab1fd25571f62019694fac29381c4b54bf15e
|
4
|
+
data.tar.gz: e355f0064cffba8923513fb1125a893262bbc8844b2b034e2cf173a3e8146179
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fea8936f148030354e28b3f2e407a50dcf44d7a970b4a97ddc6f42605fb997e8efbf6b293361a641c4a644b9cae50c6f91235c6e2c9e82063eb0aec26056407f
|
7
|
+
data.tar.gz: 4cefb8d6bb7c39587943f9b371da7f6e38dc3dd06c0fdd50635943e38160b5ad173ece08c1458d742ea241391e98e05b7b458d3cc772652fa24255259220e721
|
@@ -12,7 +12,7 @@ module Devise::MultiAuth
|
|
12
12
|
def authentication_from_external_app
|
13
13
|
omni = request.env["omniauth.auth"]
|
14
14
|
if @user = Authentication.find_user_by_provider_and_uid(omni['provider'], omni['uid'])
|
15
|
-
set_flash_message(:notice, :success, kind: omni['provider']) if is_navigational_format?
|
15
|
+
set_flash_message(:notice, :success, kind: t("omniauth.provider_name.#{omni['provider']}", default: omni['provider'])) if is_navigational_format?
|
16
16
|
Devise::MultiAuth.capture_successful_external_authentication(@user, omni)
|
17
17
|
sign_in_and_redirect @user, event: :authentication
|
18
18
|
else
|
data/devise-multi_auth.gemspec
CHANGED
@@ -22,14 +22,14 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.test_files = s.files.grep(/^(test|spec|features)\//)
|
23
23
|
s.require_paths = ['lib']
|
24
24
|
|
25
|
-
s.add_dependency "rails", "
|
26
|
-
s.add_dependency "devise", "
|
25
|
+
s.add_dependency "rails", "< 6.0"
|
26
|
+
s.add_dependency "devise", "> 3.2"
|
27
27
|
s.add_dependency "omniauth", "~> 1.2"
|
28
28
|
|
29
29
|
s.add_development_dependency 'database_cleaner', '1.0.1'
|
30
30
|
s.add_development_dependency "sqlite3"
|
31
31
|
s.add_development_dependency "engine_cart"
|
32
|
-
s.add_development_dependency "rspec-rails"
|
32
|
+
s.add_development_dependency "rspec-rails"
|
33
33
|
s.add_development_dependency "omniauth-github"
|
34
34
|
s.add_development_dependency "factory_girl"
|
35
35
|
end
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-multi_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jeremy.n.friesen@gmail.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-09-03 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
|
-
version: '
|
19
|
+
version: '6.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
|
-
version: '
|
26
|
+
version: '6.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
33
|
version: '3.2'
|
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
40
|
version: '3.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -98,16 +98,16 @@ dependencies:
|
|
98
98
|
name: rspec-rails
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: omniauth-github
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -193,8 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
requirements: []
|
196
|
-
|
197
|
-
rubygems_version: 2.2.2
|
196
|
+
rubygems_version: 3.0.1
|
198
197
|
signing_key:
|
199
198
|
specification_version: 4
|
200
199
|
summary: A Devise plugin for exposing multiple authentication providers via omniauth.
|