commontator 6.3.1 → 6.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/helpers/commontator/link_renderer.rb +4 -0
- data/app/views/commontator/comments/_show.html.erb +1 -1
- data/app/views/commontator/subscriptions/_link.html.erb +1 -1
- data/app/views/commontator/threads/_show.html.erb +1 -1
- data/lib/commontator/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4be189fd8c44438a5fe1717c74bfe09067f16dbaaccda6daf159e70213e2c39a
|
|
4
|
+
data.tar.gz: 6f62579a12c5b207ed9f879e3d473d654915c9fe1ac17dcc51ba0655502793c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b15a7623162ca1ff592e8eb3bd4e15e99d6514e744625686aff53a6cf523d4abf43bdbb070a6eafa8f09d1e992332288a8c053a5d2a11c676424f20c89d4a613
|
|
7
|
+
data.tar.gz: e79a8df63ac01a4f837db59f4cb0dd23fec1a633d0045a02825a1562791f161d592f58a68b3aa23231cbe32e3ede2c6a8192a0de45af9186ee684da5b44c61f5
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<% is_deleted = comment.is_deleted? %>
|
|
37
37
|
<% del_string = is_deleted ? 'undelete' : 'delete' %>
|
|
38
38
|
<%= link_to t("commontator.comment.actions.#{del_string}"),
|
|
39
|
-
commontator.polymorphic_path([del_string, comment]),
|
|
39
|
+
commontator.polymorphic_path([del_string.to_sym, comment]),
|
|
40
40
|
data: is_deleted ? {} : { confirm: t('commontator.comment.actions.confirm_delete') },
|
|
41
41
|
method: :put,
|
|
42
42
|
id: "commontator-comment-#{comment.id}-#{del_string}",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<% is_subscribed = !!thread.subscription_for(user) %>
|
|
8
8
|
<% sub_string = is_subscribed ? 'unsubscribe' : 'subscribe' %>
|
|
9
9
|
<%= link_to t("commontator.subscription.actions.#{sub_string}"),
|
|
10
|
-
commontator.polymorphic_path([sub_string, thread]),
|
|
10
|
+
commontator.polymorphic_path([sub_string.to_sym, thread]),
|
|
11
11
|
method: :put,
|
|
12
12
|
id: "commontator-thread-#{thread.id}-#{sub_string}",
|
|
13
13
|
class: sub_string,
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
<% end %>
|
|
55
55
|
|
|
56
56
|
<%= link_to t("commontator.thread.actions.#{close_string}"),
|
|
57
|
-
commontator.polymorphic_path([close_string, thread]),
|
|
57
|
+
commontator.polymorphic_path([close_string.to_sym, thread]),
|
|
58
58
|
data: is_closed ? {} :
|
|
59
59
|
{ confirm: t('commontator.thread.actions.confirm_close') },
|
|
60
60
|
method: :put,
|
data/lib/commontator/version.rb
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
COMMONTATOR_VERSION = '6.3.
|
|
1
|
+
COMMONTATOR_VERSION = '6.3.2'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: commontator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.3.
|
|
4
|
+
version: 6.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dante Soares
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-10-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -236,7 +236,7 @@ homepage: https://github.com/lml/commontator
|
|
|
236
236
|
licenses:
|
|
237
237
|
- MIT
|
|
238
238
|
metadata: {}
|
|
239
|
-
post_install_message:
|
|
239
|
+
post_install_message:
|
|
240
240
|
rdoc_options: []
|
|
241
241
|
require_paths:
|
|
242
242
|
- lib
|
|
@@ -251,8 +251,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
251
251
|
- !ruby/object:Gem::Version
|
|
252
252
|
version: '0'
|
|
253
253
|
requirements: []
|
|
254
|
-
rubygems_version: 3.
|
|
255
|
-
signing_key:
|
|
254
|
+
rubygems_version: 3.1.4
|
|
255
|
+
signing_key:
|
|
256
256
|
specification_version: 4
|
|
257
257
|
summary: Allows users to comment on any model in your application.
|
|
258
258
|
test_files: []
|