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: 9cd7c7387a382dda00c16d4f6d6ab9c87e0da463
4
- data.tar.gz: 936b54ed7ffbcaf58c0ef7a72168ba1fdccccebf
3
+ metadata.gz: 96e73d3f9fb27f6b97a817cd686171e911d5060e
4
+ data.tar.gz: ed5755e6cb69e323a80f6052e62824f14951c669
5
5
  SHA512:
6
- metadata.gz: 3a03217194fc129b9f2bd7b4d52b59cc1ba1a62069545494de2b843a4d43c97c215e1aaf9e8edda4b9702ec55da450c54d736ad96fe0dc3320ce8729bd1d2a55
7
- data.tar.gz: 45bf3779f4482fc08e9f12f38af3dd55bff7bd2673e0c27a83f2a8a5c8bb6666c19e5404b9c71a02407123778e6fe713ea97f950e2912f1ce96ba98e83f1d174
6
+ metadata.gz: d7397943a451ddd556ef854f442aad422ccc11e8be4ee0b31483c7921a7e2a8d936eb2f8350b98a34436eb6c5fa8ac628dfccf877599fee5e64b10c6c993b7c5
7
+ data.tar.gz: fe84283f3ae92745c71912739c8bf10d02a48ec726f45e460854e37ad072f63ef265c286e1f853002bb0c335074284935dbbebbf9fccb3cca64062a7d7bf779b
@@ -15,4 +15,3 @@ module OmniAuth
15
15
  autoload :Guests, 'omniauth/provider/guests'
16
16
  end
17
17
  end
18
-
@@ -8,7 +8,7 @@ module OmniAuth
8
8
  end
9
9
 
10
10
  def mocked_email?
11
- read_attribute(:email).match(/.*@from\-.*\.example$/) != nil
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 : read_attribute(:email)
19
+ mocked_email? ? nil : mocked_email
20
20
  end
21
21
 
22
22
  module ClassMethods
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module MultiProvider
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
@@ -15,5 +15,5 @@ Gem::Specification.new do |s|
15
15
 
16
16
  s.add_dependency('devise', '~> 3.2')
17
17
  s.add_dependency('omniauth-oauth2', '~> 1.1')
18
- s.add_dependency('hashugar', '~> 0.0.6')
19
- end
18
+ s.add_dependency('hashugar', '~> 0.0', '>= 0.0.6')
19
+ end
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.0
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-06-17 00:00:00.000000000 Z
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