sudo_rails 0.4.3 → 0.4.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27632875a2ae396015c0197cc21d643ea90d2db2af36f58a30ca64859a42d0e7
|
4
|
+
data.tar.gz: f1b1779fea508d261fbf5b3efef676c282d8f8d52fcdfae96c3e612125a5b5cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f56a17d44120ec419693ec3b31a4bf6e27bc101615e0dd22f32e73ea341644737a0e1093cfb8d14abc089b1a176981e461a891b28bd8667df285cb8e5c6a5c77
|
7
|
+
data.tar.gz: b154b12993013e0a0c1cf631d7e7eb2e5ce084cd072057aabcb6512f3eb192ca492eefc7e4f17211ca3b547b1d924c0f10c8deac442159f8d846fe3a0f269ee1
|
@@ -5,10 +5,9 @@ module SudoRails
|
|
5
5
|
def confirm
|
6
6
|
if request.post? && SudoRails.confirm?(self, params[:password])
|
7
7
|
session[:sudo_session] = Time.zone.now.to_s
|
8
|
-
redirect_to params[:target_path]
|
9
|
-
else
|
10
|
-
render 'sudo_rails/confirm_form', layout: SudoRails.get_layout
|
11
8
|
end
|
9
|
+
|
10
|
+
redirect_to params[:target_path]
|
12
11
|
end
|
13
12
|
|
14
13
|
private
|
data/lib/sudo_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sudo_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- markets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|