sudo_rails 0.2.1 → 0.3.0
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: 1b2a206413480a731bf2285e75f5b185930db711f140b4392330c2cf7f8c3c44
|
4
|
+
data.tar.gz: 42deffb7bf182734fd0cef63faefc972ad1bb396727920342c4a09c1aa67b83d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77ac6e2b6ce5b8081b56584bd5cab20d914efed66dec81baad9e636eb645a1997daf53b132de642c8e8e562b10d8eb7cfad9d2a87901c033d17203af6b6b803b
|
7
|
+
data.tar.gz: 4c614f2e0972ae6510959a01bd382b3e3581abfda87a005f1dda8092a202ff713557aa4e8d1aa9bd6ed0876dbd4e0507e2a38e3e7bfbce458373afbb60c3d12d
|
data/README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
[![Gem](https://img.shields.io/gem/v/sudo_rails.svg?style=flat-square)](https://rubygems.org/gems/sudo_rails)
|
4
4
|
[![Build Status](https://travis-ci.org/markets/sudo_rails.svg)](https://travis-ci.org/markets/sudo_rails)
|
5
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/322350adc7ab052beccb/maintainability)](https://codeclimate.com/github/markets/sudo_rails/maintainability)
|
5
6
|
|
6
7
|
> Sudo mode for your Rails controllers
|
7
8
|
|
@@ -43,10 +44,10 @@ SudoRails.setup do |config|
|
|
43
44
|
# On/off engine
|
44
45
|
config.enabled = true
|
45
46
|
|
46
|
-
# Sudo mode sessions duration, default is
|
47
|
-
config.sudo_session_duration =
|
47
|
+
# Sudo mode sessions duration, default is 30 minutes
|
48
|
+
config.sudo_session_duration = 10.minutes
|
48
49
|
|
49
|
-
#
|
50
|
+
# Confirmation page styling
|
50
51
|
config.custom_logo = 'logos/medium_dark.png'
|
51
52
|
config.primary_color = '#1A7191'
|
52
53
|
config.layout = 'admin'
|
data/lib/sudo_rails/version.rb
CHANGED
data/lib/sudo_rails.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
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- markets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -93,8 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
|
-
|
97
|
-
rubygems_version: 2.7.6
|
96
|
+
rubygems_version: 3.0.3
|
98
97
|
signing_key:
|
99
98
|
specification_version: 4
|
100
99
|
summary: Sudo mode for Rails
|