card-mod-history 0.11.2 → 0.11.3

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: 286bded3a208950a302fd702d114bcc8282b9c99c78842e0c9869cce83c0b19f
4
- data.tar.gz: 79163beb623d989a421a58e980b9e240d473bb85d8e59e299233e4b2df2c4847
3
+ metadata.gz: 7a1d89c343986c8b5b5fd554d51c7f807904bfe8763f69e30de7e1593e8755c9
4
+ data.tar.gz: d9aa53b9b9c3537ea17d69ca84971f7368c6fb8262d8f7e3364afac78d23d56a
5
5
  SHA512:
6
- metadata.gz: aa183bb4950d1f6c21251a690348718d8df8380428564dfa1718bfd8963a5dcf71fa027c71ffd66bfd2fbc0af9d95662057291c0a1d7558900ecd6f742f041ea
7
- data.tar.gz: a2e9354cd5fc2c789f439aa5c764c49e023f3289d51663e7a79620ecc3e8fb0255e40a5b84c41b2be5d63b2aad6803260a74e44ba6e3f9dc496769f1d7f6adb7
6
+ metadata.gz: 517b9c124ec692933254249d3fb233745c61cba8ae8e7807a42375d5625cda53a3998109004410b9f6c6e27e846529b24d8ae626b41bbb075d86a9c1a1143d61
7
+ data.tar.gz: 409968007818d718ac9b529eecbb15e5a489026c2e01483ba4586732e93b3466ad2e16e433a0aaf87b1c79c24edea96dac502fc3ee076e654e5a1760878e5e95
data/lib/card/act.rb CHANGED
@@ -108,7 +108,7 @@ class Card
108
108
  end
109
109
 
110
110
  def draft?
111
- main_action.draft
111
+ main_action&.draft
112
112
  end
113
113
 
114
114
  # time (in words) since act took place
@@ -123,7 +123,7 @@ class Card
123
123
  # here. The problem is that here we have extra links in the title
124
124
  # that are not supposed to expand the accordion
125
125
  def act_accordion
126
- context = @act.main_action.draft ? :warning : :default
126
+ context = @act.main_action&.draft ? :warning : :default
127
127
  <<-HTML
128
128
  <div class="card card-#{context} nodblclick">
129
129
  #{act_accordion_panel}
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.11.2
4
+ version: 0.11.3
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-03-15 00:00:00.000000000 Z
13
+ date: 2021-04-01 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.101.2
21
+ version: 1.101.3
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.101.2
28
+ version: 1.101.3
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.0.3
81
+ rubygems_version: 3.1.4
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: Revision histories in acts, actions, and changes