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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45926975307ac0185bf837788bb5d0391b031e5c1772ae4b2e01cfd17d8a59c0
4
- data.tar.gz: 7c2af128ab6e9d2e5ec00b7b7ec2b69fd95d5fa268cbe25beb53fb94abee093d
3
+ metadata.gz: 5ee23718009c2715bfb29f6fc3737dcf1eae0c3d4b2957a0436c252df3b5ab98
4
+ data.tar.gz: fc0bfece5036f56e4aaeab1116a9e3ea576b7f9a73a0760d2d7effdb9379cb50
5
5
  SHA512:
6
- metadata.gz: 676aebd939af9730219ec9e5e2b45fe1acc47b63a1d308d58dca94aab8e31fc2051e37ce1e53e3842a2ada7a1c1c37162510a135b2c79dd0535f6dbb6f2fad1f
7
- data.tar.gz: ae63960e5446f72c787d11c02bd738468b38dbbb94a464a2e7d6ed47d3ba59c3c49f97932280e45dc79d94ca8ee9d4bdb14439fcd3b01645cbfad599c0effc96
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
 
@@ -1,3 +1,3 @@
1
1
  module EgovUtils
2
- VERSION = '0.7.2'
2
+ VERSION = '0.7.3'
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.2
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-04-19 00:00:00.000000000 Z
11
+ date: 2022-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails