card-mod-history 0.18.0 → 0.18.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/set/all/history/selected.rb +1 -1
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a20f2d9eec3fe3db61fd2812e78f4bb8565cda58e0b1fc7a0688c8cb5765109
4
- data.tar.gz: 7be6fe76ba77beee613bc340de7177403c98caf3e818d15f8b58a70b4d67fa37
3
+ metadata.gz: 14b000c818d4e928c00b9599251244525653a78f44842986e536b503e5311d49
4
+ data.tar.gz: 94b4fcf68548ae1b070402f73dca6c50a6e0c12e7b204fb22868ce14e8be97a5
5
5
  SHA512:
6
- metadata.gz: cb259274b48f051e5e793142d26efe926eb1fcb66d0204586f8d459c99b0d1307538683ff8936a84969ccbdef56daa8ddf3cc0a9f22e3754de0ded3328878c48
7
- data.tar.gz: d1c77b5e3e5db4f7788d1e985986d0fcf4d1caf0005201e66a0ac949b560e059834aac159b71ea6e9806e275121595b696441bbb14d0fab2b0cfe677b36005b6
6
+ metadata.gz: 22dea11654d68b02724fa7f952bd6700b721334e54e165c584058197a3c0f65f23f5f41964f158baf3e86093deb12f8d854e98d6979edf2b09d5557eef990796
7
+ data.tar.gz: 2fdfd6b5d9f3b3042c1fafc9924ff77b6e7610c02dd83fc8fa498c39bb8015801fa333f1cc57ab574a76482175f2f5d5a1b76bbf6e95e16190d1b4686ca4b06b
@@ -66,7 +66,7 @@ private
66
66
  def new_content_action_id
67
67
  return unless @current_action && current_action_changes_content?
68
68
 
69
- @current_action.id
69
+ @current_action.id || (@current_action.save! && @current_action.id)
70
70
  end
71
71
 
72
72
  def current_action_changes_content?
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.18.0
4
+ version: 0.18.1
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: 2024-10-31 00:00:00.000000000 Z
13
+ date: 2024-11-22 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.108.0
21
+ version: 1.108.1
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.108.0
28
+ version: 1.108.1
29
29
  description: ''
30
30
  email:
31
31
  - info@decko.org
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  requirements: []
92
- rubygems_version: 3.5.7
92
+ rubygems_version: 3.5.10
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: Revision histories in acts, actions, and changes