with_accounts 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: 528b2a778f4c569b4f9b2e1dd04d3f1b473edf06e326b43c002048b1aacb8750
4
- data.tar.gz: '082498aa77970da65034f3d1c8376ff66e30139ccd437f601011c925042ed686'
3
+ metadata.gz: d90c03516c5cbed8d5254647cf7f81ea7f1142077592ccd0032f96ba48bf6151
4
+ data.tar.gz: '04783707ba307ad39294240df28a827a7e4c7b9e5b011f383ee405888db78ff4'
5
5
  SHA512:
6
- metadata.gz: 7b45818819fc19071002ed82e3582bac271de022f365ed7a9ce2dc8827cf76ac7c7f74b19c00267602b7e288b9824af292996456bbf2a2f0e813c102a8e85b9c
7
- data.tar.gz: eeb4f63dc88a11ff7fa1b6f281701c5a11fd7e36c3334c4815ceb9869f67f358787a39b369ff0d5bd85c6903299ae244c3598824e421609e9b26b47e20242abd
6
+ metadata.gz: 8809b8205c2a0bb51a64d2ca3c9e07927f3765d0702d0072c733bf221ae608cdfce6d9a5ddd15169c33ec91096842c400ddb0fee32f81770adb4f5f22e9eb994
7
+ data.tar.gz: 63ae853892ce24cdf612871c6930ad7dceba2f28258e0f6f936331713545ce3426d1355daa6512f4abc22bb60e33a8802b47e225f7248b9dfa59d34b47c1e283
@@ -14,11 +14,11 @@ module WithAccounts
14
14
  }
15
15
 
16
16
  scope :ready_to_set_password, lambda { |_|
17
- where(password_set_at: nil).where('password_set_before, > ?', Time.now)
17
+ where(password_set_at: nil).where('password_set_before > ?', Time.now)
18
18
  }
19
19
 
20
20
  scope :ready_to_change_password, lambda { |_|
21
- where.not(password_change_invitation: '', password_set_at: nil).where('password_change_before, > ?', Time.now)
21
+ where.not(password_change_invitation: '', password_set_at: nil).where('password_change_before > ?', Time.now)
22
22
  }
23
23
 
24
24
  def cipher_decipher(type, timestamp_attr_name)
@@ -1,3 +1,3 @@
1
1
  module WithAccounts
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: with_accounts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - zabodaevmm