decidim-comments 0.32.0.rc2 → 0.32.0
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/cells/decidim/comments/comments/inline.erb +6 -6
- data/app/packs/src/decidim/comments/comments.component.test.js +1 -2
- data/app/packs/src/decidim/comments/comments.js +1 -1
- data/app/packs/src/decidim/comments/comments_mobile_modal.js +2 -6
- data/app/packs/stylesheets/comments.scss +4 -4
- data/app/views/decidim/comments/admin/shared/_availability_fields.html.erb +1 -1
- data/config/locales/ar.yml +0 -4
- data/config/locales/bg.yml +0 -4
- data/config/locales/ca-IT.yml +4 -4
- data/config/locales/ca.yml +4 -4
- data/config/locales/cs.yml +2 -4
- data/config/locales/de.yml +0 -4
- data/config/locales/el.yml +0 -4
- data/config/locales/en.yml +4 -4
- data/config/locales/es-MX.yml +4 -4
- data/config/locales/es-PY.yml +4 -4
- data/config/locales/es.yml +4 -4
- data/config/locales/eu.yml +4 -4
- data/config/locales/fi-plain.yml +4 -4
- data/config/locales/fi.yml +4 -4
- data/config/locales/fr-CA.yml +0 -4
- data/config/locales/fr.yml +0 -4
- data/config/locales/gl.yml +0 -4
- data/config/locales/hu.yml +0 -4
- data/config/locales/id-ID.yml +0 -4
- data/config/locales/is-IS.yml +0 -4
- data/config/locales/it.yml +0 -4
- data/config/locales/ja.yml +4 -4
- data/config/locales/lb.yml +0 -4
- data/config/locales/lt.yml +0 -4
- data/config/locales/lv.yml +0 -4
- data/config/locales/nl.yml +0 -4
- data/config/locales/no.yml +0 -4
- data/config/locales/pl.yml +0 -4
- data/config/locales/pt-BR.yml +0 -4
- data/config/locales/pt.yml +0 -4
- data/config/locales/ro-RO.yml +0 -4
- data/config/locales/ru.yml +0 -4
- data/config/locales/sk.yml +0 -4
- data/config/locales/sv.yml +4 -4
- data/config/locales/tr-TR.yml +0 -4
- data/config/locales/uk.yml +0 -4
- data/config/locales/zh-CN.yml +0 -4
- data/config/locales/zh-TW.yml +0 -4
- data/decidim-comments.gemspec +1 -1
- data/lib/decidim/comments/engine.rb +0 -11
- data/lib/decidim/comments/version.rb +1 -1
- metadata +7 -7
data/decidim-comments.gemspec
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
$LOAD_PATH.push File.expand_path("lib", __dir__)
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |s|
|
|
6
|
-
version = "0.32.0
|
|
6
|
+
version = "0.32.0"
|
|
7
7
|
s.version = version
|
|
8
8
|
s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva"]
|
|
9
9
|
s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com"]
|
|
@@ -34,17 +34,6 @@ module Decidim
|
|
|
34
34
|
Decidim::Api::MutationType.include MutationExtensions
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
initializer "decidim_comments.stats" do
|
|
38
|
-
Decidim.stats.register :comments_count,
|
|
39
|
-
priority: StatsRegistry::HIGH_PRIORITY,
|
|
40
|
-
icon_name: "chat-1-line",
|
|
41
|
-
tooltip_key: "comments_count" do |organization|
|
|
42
|
-
Decidim.component_manifests.sum do |component|
|
|
43
|
-
component.stats.filter(tag: :comments).with_context(organization.published_components).map { |_name, value| value }.compact_blank.sum
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
37
|
initializer "decidim_comments.register_icons" do
|
|
49
38
|
common_parameters = { category: "action", engine: :comments }
|
|
50
39
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: decidim-comments
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.32.0
|
|
4
|
+
version: 0.32.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josep Jaume Rey Peroy
|
|
@@ -17,14 +17,14 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - '='
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: 0.32.0
|
|
20
|
+
version: 0.32.0
|
|
21
21
|
type: :runtime
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - '='
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version: 0.32.0
|
|
27
|
+
version: 0.32.0
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
29
|
name: redcarpet
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -51,28 +51,28 @@ dependencies:
|
|
|
51
51
|
requirements:
|
|
52
52
|
- - '='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 0.32.0
|
|
54
|
+
version: 0.32.0
|
|
55
55
|
type: :development
|
|
56
56
|
prerelease: false
|
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - '='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 0.32.0
|
|
61
|
+
version: 0.32.0
|
|
62
62
|
- !ruby/object:Gem::Dependency
|
|
63
63
|
name: decidim-dev
|
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - '='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 0.32.0
|
|
68
|
+
version: 0.32.0
|
|
69
69
|
type: :development
|
|
70
70
|
prerelease: false
|
|
71
71
|
version_requirements: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
73
|
- - '='
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 0.32.0
|
|
75
|
+
version: 0.32.0
|
|
76
76
|
description: Pluggable comments system for some components.
|
|
77
77
|
email:
|
|
78
78
|
- josepjaume@gmail.com
|