paper_trail-rails 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/paper_trail/rails/console.rb +1 -1
- data/lib/paper_trail/rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7494b5ca88ddaadd1c89fccc2b2ee4686e20742f26b90cdbc4906e3e65c73d6
|
4
|
+
data.tar.gz: d28e0112af2cc0bd2dfc63c51d6bfb861b306204d9134cc4d202d93cff4d90b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a7b1296aa470f2e0ac6415f87a63c26fff354b902c7730a9e7a288dc1f40088fa4d9d5dfaf75c5ac75a7ddb2d58ea99e1fa75d450f0077d9a32cd515e0822ed
|
7
|
+
data.tar.gz: 240a9d03c93ea377e3b614b16bfb15989542b2b89f6c08e356c03c71f1e6b5652017c7c18bdb1ecfa8420f4cc26a55dd10cdd7ea38fe60f4a39b23de73e50f85
|
@@ -80,7 +80,7 @@ module PaperTrail
|
|
80
80
|
end
|
81
81
|
)
|
82
82
|
|
83
|
-
if config.console.ask_for_reason
|
83
|
+
if config.console.ask_for_reason && PaperTrail.request.controller_info[:reason].nil?
|
84
84
|
@paper_trail_reason ||= PaperTrail::Rails.get_reason(required: config.console.require_reason)
|
85
85
|
end
|
86
86
|
PaperTrail.update_metadata reason: @paper_trail_reason
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paper_trail-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyler Rick
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paper_trail
|
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
128
|
- !ruby/object:Gem::Version
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
|
-
rubygems_version: 3.
|
131
|
+
rubygems_version: 3.3.3
|
132
132
|
signing_key:
|
133
133
|
specification_version: 4
|
134
134
|
summary: Integrate with rails console and migrations. In rails console, ask who is
|