egov_utils 0.7.0 → 0.7.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
  SHA256:
3
- metadata.gz: 585c09c56185466217fcb9c1049174c16ba16a9fc90d234ac02346c941c14968
4
- data.tar.gz: 3aa699ebeb3b447a91c2496501d60170cb6c24af4eeee4753a57f4dca57fb4e2
3
+ metadata.gz: d0fb4d51f6f37b8c70952049ec7570dec41ad52272155c457f24a3326223319b
4
+ data.tar.gz: b689068162ba29eed688e46a44ebb92286634187854c29aa73d1e898f53abc69
5
5
  SHA512:
6
- metadata.gz: aac00f0be9b55879ac4012032d64b865dc90ca6c396ec47e24d5473c5231dc1a4cce7497de769fdafa6be13e5b432300b8c9cce7735edcaeaeca42fa6bc0e8dc
7
- data.tar.gz: a011fdcefb2af10b0810bdcb356969232c22465eb10433113e30a2343747ace35c0ed50c303796128df6d23edbb66f4108fb91ae9af72d8131a9b1cb692135f5
6
+ metadata.gz: c58af4cd7c8f02e87536fb5b5f0b347b4d03ddfc326a93c8e705627b3631d064206fc0fccef02e72f45b40f6679f6de048c36044230273a9964aead64f441ec5
7
+ data.tar.gz: ed7a4cc54856c518f91b35791974700f3485af6210899a7c940e7eb75114800a4f3104368ba4db650646ac8fd73d6a51817902430c2dc9fe0c7d900f399fa7fb
@@ -67,7 +67,7 @@ module EgovUtils
67
67
  if user && !user.new_record?
68
68
  # Check last login
69
69
  if user.days_before_inactive && user.last_login_at < (Time.now - user.days_before_inactive.days)
70
- user.udpate_column(active: false)
70
+ user.update_column(active: false)
71
71
  end
72
72
 
73
73
  user.update_column(:last_login_at, Time.now) if user.active?
@@ -1,3 +1,3 @@
1
1
  module EgovUtils
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: egov_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondřej Ezr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-31 00:00:00.000000000 Z
11
+ date: 2022-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails