card-mod-history 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/set/all/history/events.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 584c956ab8c9a81a28999c3abec9ea8a85cdb64db53c64ab050891ffefe59430
|
4
|
+
data.tar.gz: 6332a06b58f2983d638074600a5ba0097d4c4c4e84defd0deec396d030357baa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9348d2d0a204955a3b3ec610221e0370939e2266b61f7f9dacba320f93a276de9b97e71fa89746987a8ef6aa8f79b7591846f94b1b9a8d3e7fdf7beae9eaf778
|
7
|
+
data.tar.gz: a4e32e22e51f92ebf494e7cd7d40dcc3f6f95bb973524132583c8da72bed4af03eb2f022f1cd3af1f08b8b9ac45bb1beb407d73d23eabb68e19031ad6bfb978e
|
data/set/all/history/events.rb
CHANGED
@@ -18,7 +18,7 @@ def actionable?
|
|
18
18
|
end
|
19
19
|
|
20
20
|
event :detect_conflict, :validate, on: :update, when: :edit_conflict? do
|
21
|
-
errors.add :conflict,
|
21
|
+
errors.add :conflict, ::I18n.t(:history_error_not_latest_revision)
|
22
22
|
end
|
23
23
|
|
24
24
|
def edit_conflict?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-history
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-08-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 1.103.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 1.
|
28
|
+
version: 1.103.0
|
29
29
|
description: ''
|
30
30
|
email:
|
31
31
|
- info@decko.org
|
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '0'
|
80
80
|
requirements: []
|
81
|
-
rubygems_version: 3.
|
81
|
+
rubygems_version: 3.1.6
|
82
82
|
signing_key:
|
83
83
|
specification_version: 4
|
84
84
|
summary: Revision histories in acts, actions, and changes
|