devision 0.0.2.8 → 0.0.2.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 30695be9eaf79f557e6c2f9849dab2484d7aedd0
4
- data.tar.gz: f2e18fba16706d2150ed2e130547d86067cbb2fd
3
+ metadata.gz: 9c1c77b71327aec36fa2df6c7dd64f7c019c1c38
4
+ data.tar.gz: 5554a5ae0c2aa22c2f3de805e905f14c2a3dba8b
5
5
  SHA512:
6
- metadata.gz: 083fa703bbe48a128bacccd8e36d9e5123eeec3af517095b93c2c95b7dad51cdf6e4fd00416c2447aaf77e413b6badeecd76ff8af4f0529f364bf0f526146a15
7
- data.tar.gz: cad8e5779fd60c019f29734635b78f79aec1e466307b3b07d0fc7b8f70a844f722a70b9e61f3335db1f1c0722d389147751930f6c65ce5b830fa58bb268cca2f
6
+ metadata.gz: 0f434934bd9af6e2c2870f72e44776d6c7e56a4e3ef965f4a27e5a90703e3cd5f4d736739849e51462254ebd8cedcb42fa23451371fd4abb70adda0269f92e03
7
+ data.tar.gz: 439b127e29cce9af2e590318e48ab9771340f930b2395c1d1dda9a0004891c5fbae1a22a32da7c7353292be06a7fdc351f0ded45078d5621f9332d3e6e631051
@@ -71,7 +71,7 @@ module Devision
71
71
  original_token = raw_confirmation_token
72
72
  saved_token = Devision.token_generator.digest(self, :confirmation_token, original_token)
73
73
 
74
- confirmable = find_or_initialize_with_error_by(confirmation_token: saved_token)
74
+ confirmable = find_or_initialize_with_error_by(:confirmation_token, saved_token)
75
75
  confirmable.confirm! if confirmable.persisted?
76
76
  confirmable.confirmation_token = original_token
77
77
  confirmable
@@ -8,7 +8,7 @@ module Devision
8
8
  MAJOR = 0
9
9
  MINOR = 0
10
10
  PATCH = 2
11
- PRE = 8
11
+ PRE = 9
12
12
 
13
13
  STRING = [MAJOR,MINOR,PATCH,PRE].compact.join('.').freeze
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devision
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.8
4
+ version: 0.0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Faucett
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-21 00:00:00.000000000 Z
11
+ date: 2014-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler