card-mod-comment 0.13.4 → 0.14.0

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: 73613e68661ec877530c83dfa0f4f5ecc6c64f1090f8aa9c8499f635a88f97ba
4
- data.tar.gz: fc879cea396fad247744bf47c58374ba6b84689289ae92353cb56d709a1a755a
3
+ metadata.gz: f6355f3b5a9d19daac83caaf2b613a000752f64b4ba2d6995ca9b39d730100eb
4
+ data.tar.gz: c81e2b73e526398be92aad5a574a00b591a4301e84a7fca8bc0f24414416d812
5
5
  SHA512:
6
- metadata.gz: 52430beb08fd07d2db8f998d7caef60068987df8dac010436ea9ad6a19a1d9cf74c86be371d4ea03144d466e53596b5d0d5b189c561d84503333cee6bee3e243
7
- data.tar.gz: 654695a1c0a5989311e5a54ed5f835c1a130dd78ee59e63f7d3fa8c2591d42b1e305599897da980e571e5e602bd757f5de5ce448e9695bfd4d17e3dccc261c07
6
+ metadata.gz: 9879d547137f7293a0b87bdd4dfca74f64ac2b768c1ec05589891fe54bba59116aec72fbabd5ae970f8ef20ef25b11af9f44dad0caf56e95f95a4b2ef7128b60
7
+ data.tar.gz: 707e57526d57a9680562cc4c653963609f8e2b423c37b46170f3f2dd81489fd0931abddc5f349916d8a84e3966a323402ab81a0cd89c94decd8875e5b2099ec3
data/set/all/comment.rb CHANGED
@@ -78,6 +78,7 @@ format do
78
78
  end
79
79
 
80
80
  def comment_submit_button
81
- submit_button text: "Comment", type: :submit, disable_with: "Commenting"
81
+ submit_button text: "Comment", type: :submit, disable_with: "Commenting",
82
+ situation: "outline-primary"
82
83
  end
83
84
  end
@@ -1,9 +1,10 @@
1
- view :titled, unknown: true do
2
- voo.show :comment_box
3
- super()
1
+ %i[open open_content titled titled_content].each do |viewname|
2
+ view viewname, unknown: true do
3
+ voo.show :comment_box
4
+ super()
5
+ end
4
6
  end
5
7
 
6
- view :open, unknown: true do
7
- voo.show :comment_box
8
- super()
8
+ view :core, unknown: true do
9
+ output [super(), render_comment_box(optional: :hide)]
9
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-comment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.4
4
+ version: 0.14.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-09-24 00:00:00.000000000 Z
13
+ date: 2021-12-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: card
@@ -18,28 +18,28 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.103.4
21
+ version: 1.104.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.103.4
28
+ version: 1.104.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: card-mod-permissions
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.13.4
35
+ version: 0.14.0
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.13.4
42
+ version: 0.14.0
43
43
  description: ''
44
44
  email:
45
45
  - info@decko.org
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.1.6
78
+ rubygems_version: 3.2.15
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: card comments