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 +4 -4
- data/app/models/egov_utils/user.rb +1 -1
- data/lib/egov_utils/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0fb4d51f6f37b8c70952049ec7570dec41ad52272155c457f24a3326223319b
|
4
|
+
data.tar.gz: b689068162ba29eed688e46a44ebb92286634187854c29aa73d1e898f53abc69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
70
|
+
user.update_column(active: false)
|
71
71
|
end
|
72
72
|
|
73
73
|
user.update_column(:last_login_at, Time.now) if user.active?
|
data/lib/egov_utils/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2022-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|