omniauth-multiprovider 0.1.0 → 0.1.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
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96e73d3f9fb27f6b97a817cd686171e911d5060e
|
4
|
+
data.tar.gz: ed5755e6cb69e323a80f6052e62824f14951c669
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7397943a451ddd556ef854f442aad422ccc11e8be4ee0b31483c7921a7e2a8d936eb2f8350b98a34436eb6c5fa8ac628dfccf877599fee5e64b10c6c993b7c5
|
7
|
+
data.tar.gz: fe84283f3ae92745c71912739c8bf10d02a48ec726f45e460854e37ad072f63ef265c286e1f853002bb0c335074284935dbbebbf9fccb3cca64062a7d7bf779b
|
@@ -8,7 +8,7 @@ module OmniAuth
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def mocked_email?
|
11
|
-
|
11
|
+
mocked_email.to_s.match(/.*@from\-.*\.example$/) != nil
|
12
12
|
end
|
13
13
|
|
14
14
|
def mocked_email
|
@@ -16,7 +16,7 @@ module OmniAuth
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def email
|
19
|
-
mocked_email? ? nil :
|
19
|
+
mocked_email? ? nil : mocked_email
|
20
20
|
end
|
21
21
|
|
22
22
|
module ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-multiprovider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- German Del Zotto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|
@@ -43,6 +43,9 @@ dependencies:
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.0'
|
48
|
+
- - ">="
|
46
49
|
- !ruby/object:Gem::Version
|
47
50
|
version: 0.0.6
|
48
51
|
type: :runtime
|
@@ -50,6 +53,9 @@ dependencies:
|
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
51
54
|
requirements:
|
52
55
|
- - "~>"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '0.0'
|
58
|
+
- - ">="
|
53
59
|
- !ruby/object:Gem::Version
|
54
60
|
version: 0.0.6
|
55
61
|
description: Provides a simple approach to support many oauth providers to devise
|