devise-multi_email 1.0.2 → 1.0.3

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: 89e5c38434485cb61230eb832707e8d24e8fc721
4
- data.tar.gz: 819986e649a53569de8586df8eb8590853253bc0
3
+ metadata.gz: 5c59b63adf6be88662242b1cd1cca4880d9b2199
4
+ data.tar.gz: 8ba5affe9d8ecc23a15ee1b5e804b388f1314640
5
5
  SHA512:
6
- metadata.gz: add18da49f5a18e6c341ea8c70e69936b54976c2ba322cb2cb1f52e7e0a42cf69136d8b32b45c826f936e8948502282ac20c1d2541b9b8e83cd8d609b62232f2
7
- data.tar.gz: df1d574d2300edca58a55ce82a4cae740c97e58a50f4cb8c103c889d1539c052c1a62ffafb1d2a3abb1f4b75dd36640ed3b19843b0437f519085ad1e8ef73968
6
+ metadata.gz: dbf965812be0441fa599f58abf906351e5c58bdd148153cb0428e4b9753b58c56c401f40ff83d78228f37f3f1a823b95b2279159fe24ab76df95162d83548f5f
7
+ data.tar.gz: a68bc77adc51d34c9f200d25c1b82680fd7eef0125f79936e9e9c91f6948d1e3cc53b583c7d864f5d40ac5dbf7d51506448d18a11dfcd6e3bfaaa9d906234e1e
@@ -59,6 +59,7 @@ module Devise
59
59
 
60
60
  module ClassMethods
61
61
  def find_first_by_auth_conditions(tainted_conditions, opts = {})
62
+ tainted_conditions = tainted_conditions.dup
62
63
  email = tainted_conditions.delete(:email)
63
64
  if email && email.is_a?(String)
64
65
  conditions = devise_parameter_filter.filter(tainted_conditions).to_h.merge(opts).
@@ -1,5 +1,5 @@
1
1
  module Devise
2
2
  module MultiEmail
3
- VERSION = '1.0.2'
3
+ VERSION = '1.0.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise-multi_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ALLEN WANG QIANG
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-12 00:00:00.000000000 Z
11
+ date: 2016-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  version: '0'
97
97
  requirements: []
98
98
  rubyforge_project:
99
- rubygems_version: 2.4.5.1
99
+ rubygems_version: 2.5.1
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: Let devise support multiple emails.