decidim-debates 0.26.2 → 0.27.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/debates/admin/close_debate.rb +1 -1
  3. data/app/commands/decidim/debates/admin/create_debate.rb +1 -1
  4. data/app/commands/decidim/debates/admin/update_debate.rb +1 -1
  5. data/app/commands/decidim/debates/close_debate.rb +1 -1
  6. data/app/commands/decidim/debates/create_debate.rb +1 -1
  7. data/app/commands/decidim/debates/update_debate.rb +1 -1
  8. data/app/controllers/decidim/debates/admin/debate_closes_controller.rb +0 -1
  9. data/app/controllers/decidim/debates/debates_controller.rb +8 -18
  10. data/app/controllers/decidim/debates/orderable.rb +3 -3
  11. data/app/forms/decidim/debates/admin/close_debate_form.rb +4 -2
  12. data/app/forms/decidim/debates/admin/debate_form.rb +2 -2
  13. data/app/forms/decidim/debates/close_debate_form.rb +4 -2
  14. data/app/forms/decidim/debates/debate_form.rb +6 -5
  15. data/app/helpers/decidim/debates/application_helper.rb +1 -1
  16. data/app/models/decidim/debates/debate.rb +16 -2
  17. data/app/serializers/decidim/debates/{data_portability_debate_serializer.rb → download_your_data_debate_serializer.rb} +2 -2
  18. data/app/services/decidim/debates/debate_search.rb +13 -24
  19. data/app/views/decidim/debates/debates/_filters.html.erb +5 -5
  20. data/config/locales/ar.yml +2 -1
  21. data/config/locales/bg.yml +1 -0
  22. data/config/locales/ca.yml +2 -1
  23. data/config/locales/cs.yml +3 -2
  24. data/config/locales/de.yml +5 -1
  25. data/config/locales/el.yml +1 -1
  26. data/config/locales/en.yml +1 -1
  27. data/config/locales/es-MX.yml +2 -1
  28. data/config/locales/es-PY.yml +2 -1
  29. data/config/locales/es.yml +2 -1
  30. data/config/locales/eu.yml +1 -1
  31. data/config/locales/fi-plain.yml +2 -1
  32. data/config/locales/fi.yml +2 -1
  33. data/config/locales/fr-CA.yml +2 -1
  34. data/config/locales/fr.yml +2 -1
  35. data/config/locales/ga-IE.yml +1 -1
  36. data/config/locales/gl.yml +2 -1
  37. data/config/locales/hu.yml +66 -1
  38. data/config/locales/id-ID.yml +1 -1
  39. data/config/locales/is-IS.yml +2 -2
  40. data/config/locales/it.yml +2 -1
  41. data/config/locales/ja.yml +2 -1
  42. data/config/locales/lb.yml +1 -0
  43. data/config/locales/lt.yml +244 -0
  44. data/config/locales/lv.yml +1 -1
  45. data/config/locales/nl.yml +2 -1
  46. data/config/locales/no.yml +2 -1
  47. data/config/locales/pl.yml +1 -1
  48. data/config/locales/pt-BR.yml +1 -1
  49. data/config/locales/pt.yml +1 -1
  50. data/config/locales/ro-RO.yml +2 -1
  51. data/config/locales/ru.yml +1 -1
  52. data/config/locales/sk.yml +1 -1
  53. data/config/locales/sl.yml +1 -0
  54. data/config/locales/sr-CS.yml +1 -0
  55. data/config/locales/sv.yml +2 -1
  56. data/config/locales/tr-TR.yml +1 -1
  57. data/config/locales/uk.yml +1 -1
  58. data/config/locales/zh-CN.yml +1 -1
  59. data/db/migrate/20181016132850_add_organization_as_author_to_debates.rb +2 -0
  60. data/lib/decidim/debates/test/factories.rb +1 -1
  61. data/lib/decidim/debates/version.rb +1 -1
  62. metadata +15 -15
@@ -1,3 +1,4 @@
1
+ ---
1
2
  sv:
2
3
  activemodel:
3
4
  attributes:
@@ -115,11 +116,11 @@ sv:
115
116
  all: Alla
116
117
  category: Kategori
117
118
  category_prompt: Välj en kategori
118
- citizens: Medborgare
119
119
  commented: Kommenterade
120
120
  my_debates: Mina debatter
121
121
  official: Officiell
122
122
  origin: Ursprung
123
+ participants: Deltagare
123
124
  scope: Omfång
124
125
  search: Sök
125
126
  state: Status
@@ -1,3 +1,4 @@
1
+ ---
1
2
  tr:
2
3
  activemodel:
3
4
  attributes:
@@ -114,7 +115,6 @@ tr:
114
115
  all: Tümü
115
116
  category: Kategori
116
117
  category_prompt: Bir kategori seç
117
- citizens: Vatandaşlar
118
118
  commented: Yorum yaptı
119
119
  my_debates: Tartışmalarım
120
120
  official: Resmi
@@ -1,3 +1,4 @@
1
+ ---
1
2
  uk:
2
3
  activemodel:
3
4
  attributes:
@@ -82,7 +83,6 @@ uk:
82
83
  all: Усі
83
84
  category: Категорія
84
85
  category_prompt: Оберіть категорію
85
- citizens: Громадяни
86
86
  official: Службове
87
87
  origin: Джерело
88
88
  search: Шукати
@@ -1,3 +1,4 @@
1
+ ---
1
2
  zh-CN:
2
3
  activemodel:
3
4
  attributes:
@@ -106,7 +107,6 @@ zh-CN:
106
107
  all: 所有的
107
108
  category: 类别
108
109
  category_prompt: 选择一个类别
109
- citizens: Citizens
110
110
  commented: 已评论
111
111
  my_debates: 我的辩论
112
112
  official: 官方的
@@ -5,9 +5,11 @@ class AddOrganizationAsAuthorToDebates < ActiveRecord::Migration[5.2]
5
5
  self.table_name = :decidim_debates_debates
6
6
  include Decidim::HasComponent
7
7
  end
8
+
8
9
  class User < ApplicationRecord
9
10
  self.table_name = :decidim_users
10
11
  end
12
+
11
13
  def change
12
14
  add_column :decidim_debates_debates, :decidim_author_type, :string
13
15
 
@@ -28,7 +28,7 @@ FactoryBot.define do
28
28
  end_time { 1.day.from_now }
29
29
  end
30
30
 
31
- trait :citizen_author do
31
+ trait :participant_author do
32
32
  start_time { nil }
33
33
  end_time { nil }
34
34
  author do
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-debates version.
5
5
  module Debates
6
6
  def self.version
7
- "0.26.2"
7
+ "0.27.0.rc2"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-debates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.2
4
+ version: 0.27.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2022-06-14 00:00:00.000000000 Z
14
+ date: 2022-09-19 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: decidim-comments
@@ -19,56 +19,56 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.26.2
22
+ version: 0.27.0.rc2
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.26.2
29
+ version: 0.27.0.rc2
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: decidim-core
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
34
  - - '='
35
35
  - !ruby/object:Gem::Version
36
- version: 0.26.2
36
+ version: 0.27.0.rc2
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - '='
42
42
  - !ruby/object:Gem::Version
43
- version: 0.26.2
43
+ version: 0.27.0.rc2
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: decidim-admin
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
48
  - - '='
49
49
  - !ruby/object:Gem::Version
50
- version: 0.26.2
50
+ version: 0.27.0.rc2
51
51
  type: :development
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - '='
56
56
  - !ruby/object:Gem::Version
57
- version: 0.26.2
57
+ version: 0.27.0.rc2
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: decidim-dev
60
60
  requirement: !ruby/object:Gem::Requirement
61
61
  requirements:
62
62
  - - '='
63
63
  - !ruby/object:Gem::Version
64
- version: 0.26.2
64
+ version: 0.27.0.rc2
65
65
  type: :development
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - '='
70
70
  - !ruby/object:Gem::Version
71
- version: 0.26.2
71
+ version: 0.27.0.rc2
72
72
  description: A debates component for decidim's participatory spaces.
73
73
  email:
74
74
  - josepjaume@gmail.com
@@ -134,7 +134,7 @@ files:
134
134
  - app/queries/decidim/debates/metrics/debate_followers_metric_measure.rb
135
135
  - app/queries/decidim/debates/metrics/debate_participants_metric_measure.rb
136
136
  - app/queries/decidim/debates/metrics/debates_metric_manage.rb
137
- - app/serializers/decidim/debates/data_portability_debate_serializer.rb
137
+ - app/serializers/decidim/debates/download_your_data_debate_serializer.rb
138
138
  - app/services/decidim/debates/debate_search.rb
139
139
  - app/services/decidim/debates/diff_renderer.rb
140
140
  - app/views/decidim/debates/admin/debate_closes/edit.html.erb
@@ -270,14 +270,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
270
270
  requirements:
271
271
  - - ">="
272
272
  - !ruby/object:Gem::Version
273
- version: '2.7'
273
+ version: '3.0'
274
274
  required_rubygems_version: !ruby/object:Gem::Requirement
275
275
  requirements:
276
- - - ">="
276
+ - - ">"
277
277
  - !ruby/object:Gem::Version
278
- version: '0'
278
+ version: 1.3.1
279
279
  requirements: []
280
- rubygems_version: 3.1.6
280
+ rubygems_version: 3.2.22
281
281
  signing_key:
282
282
  specification_version: 4
283
283
  summary: Decidim debates module