egov_utils 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/egov_utils/users_controller.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: 5ee23718009c2715bfb29f6fc3737dcf1eae0c3d4b2957a0436c252df3b5ab98
|
4
|
+
data.tar.gz: fc0bfece5036f56e4aaeab1116a9e3ea576b7f9a73a0760d2d7effdb9379cb50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41a183c8a95d667942678cc015be6ba81f6c9fc0b318cb8fcee15656a94abde52a7b989544e047cb12dab5970a933359bc25a0f8ffa6c684ebb11f9e0658b811
|
7
|
+
data.tar.gz: e5b83a89879abd30ff198892b7c6422fb6952dbb55802d6fa5a8e03d61feb8c508f78fb4f8cb98e1a8bfe3f37a6883bb857cad569d3a1376f2c111d6e5bf1159
|
@@ -64,7 +64,7 @@ module EgovUtils
|
|
64
64
|
@user = User.find_by(id: params[:id])
|
65
65
|
render_404 and return if @user.nil? || @user.active?
|
66
66
|
authorize!(:manage, User)
|
67
|
-
@user.update(active: true)
|
67
|
+
@user.update(active: true, last_login_at: Time.current)
|
68
68
|
redirect_back(fallback_location: @user)
|
69
69
|
end
|
70
70
|
|
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.3
|
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-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|