card-mod-history 0.13.0 → 0.13.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: 584c956ab8c9a81a28999c3abec9ea8a85cdb64db53c64ab050891ffefe59430
4
- data.tar.gz: 6332a06b58f2983d638074600a5ba0097d4c4c4e84defd0deec396d030357baa
3
+ metadata.gz: 6711d4aa5fe199ee8bf00e6f7dcd62daf0bb919d74c0f1107275d3cf55198072
4
+ data.tar.gz: f6c159b0d5c52a4fe94f88764a5985c28e615757c5cb372712170afdf843ef3c
5
5
  SHA512:
6
- metadata.gz: 9348d2d0a204955a3b3ec610221e0370939e2266b61f7f9dacba320f93a276de9b97e71fa89746987a8ef6aa8f79b7591846f94b1b9a8d3e7fdf7beae9eaf778
7
- data.tar.gz: a4e32e22e51f92ebf494e7cd7d40dcc3f6f95bb973524132583c8da72bed4af03eb2f022f1cd3af1f08b8b9ac45bb1beb407d73d23eabb68e19031ad6bfb978e
6
+ metadata.gz: 927077685819b79cfc7f8f6ea4c629e13e8efb0b318409d4fea207d44214e75222faca5e8448a9f9ca2c1bebf6ce952080885619884b1624e3edd7d328c46fb8
7
+ data.tar.gz: d63114f4f3175383bfc9af9c1277747b9682a74372eb175ced6f6bdc41d06cca4bd8b627d58de58abbe17fcb06e46306e8f853a5025dbfb07fe73be1f2cf3cdc
@@ -19,7 +19,7 @@ class Card
19
19
  # @return [rendered diff]
20
20
  # compare action's cardtype value with previous cardtype value
21
21
  def cardtype_diff opts={}
22
- return unless new_type?
22
+ return unless card && new_type?
23
23
 
24
24
  diff_object(:cardtype, opts).complete
25
25
  end
data/locales/en.yml ADDED
@@ -0,0 +1,2 @@
1
+ en:
2
+ history_error_not_latest_revision: changes not based on latest revision
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.13.0
4
+ version: 0.13.4
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-08-06 00:00:00.000000000 Z
13
+ date: 2021-09-24 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.103.0
21
+ version: 1.103.4
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.103.0
28
+ version: 1.103.4
29
29
  description: ''
30
30
  email:
31
31
  - info@decko.org
@@ -43,6 +43,7 @@ files:
43
43
  - lib/card/action/admin.rb
44
44
  - lib/card/action/differ.rb
45
45
  - lib/card/change.rb
46
+ - locales/en.yml
46
47
  - set/all/history.rb
47
48
  - set/all/history/act_listing.rb
48
49
  - set/all/history/actions.rb