decidim-proposals 0.27.5 → 0.27.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/proposals/highlighted_proposals_for_component/show.erb +1 -1
  3. data/app/cells/decidim/proposals/participatory_text_proposal/buttons.erb +2 -2
  4. data/app/cells/decidim/proposals/proposal_tags/show.erb +2 -2
  5. data/app/controllers/decidim/proposals/widgets_controller.rb +11 -1
  6. data/app/models/decidim/proposals/proposal.rb +2 -14
  7. data/app/models/decidim/proposals/valuation_assignment.rb +2 -1
  8. data/app/packs/src/decidim/proposals/admin/proposals.js +7 -0
  9. data/app/permissions/decidim/proposals/permissions.rb +9 -0
  10. data/app/views/decidim/proposals/admin/proposals/_form.html.erb +1 -1
  11. data/app/views/decidim/proposals/admin/proposals/_proposal-tr.html.erb +1 -1
  12. data/app/views/decidim/proposals/admin/proposals/show.html.erb +1 -1
  13. data/app/views/decidim/proposals/admin/proposals/update_attribute.js.erb +2 -1
  14. data/app/views/decidim/proposals/proposals/show.html.erb +3 -1
  15. data/config/locales/ar.yml +1 -4
  16. data/config/locales/bg.yml +156 -2
  17. data/config/locales/ca.yml +28 -26
  18. data/config/locales/cs.yml +5 -3
  19. data/config/locales/de.yml +8 -6
  20. data/config/locales/el.yml +0 -3
  21. data/config/locales/en.yml +2 -0
  22. data/config/locales/es-MX.yml +7 -5
  23. data/config/locales/es-PY.yml +8 -6
  24. data/config/locales/es.yml +18 -16
  25. data/config/locales/eu.yml +5 -3
  26. data/config/locales/fi-plain.yml +7 -5
  27. data/config/locales/fi.yml +6 -4
  28. data/config/locales/fr-CA.yml +8 -6
  29. data/config/locales/fr.yml +8 -6
  30. data/config/locales/ga-IE.yml +7 -0
  31. data/config/locales/gl.yml +1 -3
  32. data/config/locales/he-IL.yml +1 -0
  33. data/config/locales/hu.yml +15 -9
  34. data/config/locales/id-ID.yml +1 -3
  35. data/config/locales/is-IS.yml +4 -3
  36. data/config/locales/it.yml +3 -5
  37. data/config/locales/ja.yml +19 -17
  38. data/config/locales/lt.yml +0 -3
  39. data/config/locales/lv.yml +1 -3
  40. data/config/locales/nl.yml +4 -6
  41. data/config/locales/no.yml +1 -3
  42. data/config/locales/pl.yml +29 -4
  43. data/config/locales/pt-BR.yml +34 -4
  44. data/config/locales/pt.yml +1 -3
  45. data/config/locales/ro-RO.yml +1 -3
  46. data/config/locales/ru.yml +6 -3
  47. data/config/locales/sk.yml +5 -7
  48. data/config/locales/sv.yml +3 -6
  49. data/config/locales/tr-TR.yml +7 -6
  50. data/config/locales/uk.yml +6 -3
  51. data/config/locales/zh-CN.yml +1 -3
  52. data/config/locales/zh-TW.yml +0 -3
  53. data/db/migrate/20240404202756_add_valuation_assignments_count_to_decidim_proposals_proposals.rb +16 -0
  54. data/decidim-proposals.gemspec +40 -0
  55. data/lib/decidim/proposals/proposal_serializer.rb +1 -0
  56. data/lib/decidim/proposals/test/factories.rb +63 -56
  57. data/lib/decidim/proposals/valuatable.rb +2 -1
  58. data/lib/decidim/proposals/version.rb +1 -1
  59. metadata +29 -27
  60. data/config/environment.rb +0 -3
@@ -271,7 +271,6 @@ zh-TW:
271
271
  notification_title: 您的提案 <a href="%{resource_path}">%{resource_title}</a> 已被接受。
272
272
  follower:
273
273
  email_intro: '該提案「%{resource_title}」已被接受。您可以在此頁面上閱讀回應:'
274
- email_outro: 您收到了此通知,是因為您正在關注 "%{resource_title}"。您可以通過前面的鏈接取消關注它。
275
274
  email_subject: 您追蹤的提案已被接受
276
275
  notification_title: <a href="%{resource_path}">%{resource_title}</a>" 提案已經被接受。
277
276
  proposal_evaluating:
@@ -282,7 +281,6 @@ zh-TW:
282
281
  notification_title: 您的提案<a href="%{resource_path}">%{resource_title}</a>正在評估中。
283
282
  follower:
284
283
  email_intro: '該提案“%{resource_title}”正在進行評估。您可以在此頁面上查看答案:'
285
- email_outro: 您收到了此通知,是因為您正在關注 "%{resource_title}"。您可以通過前面的鏈接取消關注它。
286
284
  email_subject: 你追蹤的提案正在評估中
287
285
  notification_title: <a href="%{resource_path}">%{resource_title}</a> 提案正在評估中。
288
286
  proposal_mentioned:
@@ -309,7 +307,6 @@ zh-TW:
309
307
  notification_title: 您的提案<a href="%{resource_path}">%{resource_title}</a>已被拒絕。
310
308
  follower:
311
309
  email_intro: '該提案「%{resource_title}」已被駁回。您可以在此頁面中閱讀回覆:'
312
- email_outro: 您收到了此通知,是因為您正在關注 "%{resource_title}"。您可以通過前面的鏈接取消關注它。
313
310
  email_subject: 您追蹤的提案已被拒絕
314
311
  notification_title: <a href="%{resource_path}">%{resource_title}</a>" 提案已經被拒絕。
315
312
  proposal_update_category:
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ class AddValuationAssignmentsCountToDecidimProposalsProposals < ActiveRecord::Migration[6.1]
4
+ def change
5
+ add_column :decidim_proposals_proposals, :valuation_assignments_count, :integer, default: 0
6
+
7
+ reversible do |dir|
8
+ dir.up do
9
+ Decidim::Proposals::Proposal.reset_column_information
10
+ Decidim::Proposals::Proposal.find_each do |record|
11
+ Decidim::Proposals::Proposal.reset_counters(record.id, :valuation_assignments)
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ $LOAD_PATH.push File.expand_path("lib", __dir__)
4
+
5
+ # Maintain your gem's version:
6
+ require "decidim/proposals/version"
7
+
8
+ # Describe your gem and declare its dependencies:
9
+ Gem::Specification.new do |s|
10
+ s.version = Decidim::Proposals.version
11
+ s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva"]
12
+ s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com"]
13
+ s.license = "AGPL-3.0"
14
+ s.homepage = "https://github.com/decidim/decidim"
15
+ s.required_ruby_version = "~> 3.0.0"
16
+
17
+ s.name = "decidim-proposals"
18
+ s.summary = "Decidim proposals module"
19
+ s.description = "A proposals component for decidim's participatory spaces."
20
+
21
+ s.files = Dir.chdir(__dir__) do
22
+ `git ls-files -z`.split("\x0").select do |f|
23
+ (File.expand_path(f) == __FILE__) ||
24
+ f.start_with?(*%w(app/ config/ db/ lib/ Rakefile README.md))
25
+ end
26
+ end
27
+
28
+ s.add_dependency "decidim-comments", Decidim::Proposals.version
29
+ s.add_dependency "decidim-core", Decidim::Proposals.version
30
+ s.add_dependency "doc2text", "~> 0.4.5"
31
+ s.add_dependency "redcarpet", "~> 3.5", ">= 3.5.1"
32
+
33
+ s.add_development_dependency "decidim-admin", Decidim::Proposals.version
34
+ s.add_development_dependency "decidim-assemblies", Decidim::Proposals.version
35
+ s.add_development_dependency "decidim-budgets", Decidim::Proposals.version
36
+ s.add_development_dependency "decidim-conference", Decidim::Proposals.version
37
+ s.add_development_dependency "decidim-dev", Decidim::Proposals.version
38
+ s.add_development_dependency "decidim-meetings", Decidim::Proposals.version
39
+ s.add_development_dependency "decidim-participatory_processes", Decidim::Proposals.version
40
+ end
@@ -40,6 +40,7 @@ module Decidim
40
40
  state: proposal.state.to_s,
41
41
  reference: proposal.reference,
42
42
  answer: ensure_translatable(proposal.answer),
43
+ answered_at: proposal.answered_at,
43
44
  supports: proposal.proposal_votes_count,
44
45
  endorsements: {
45
46
  total_count: proposal.endorsements.size,
@@ -6,10 +6,12 @@ require "decidim/meetings/test/factories"
6
6
 
7
7
  FactoryBot.define do
8
8
  factory :proposal_component, parent: :component do
9
- name { Decidim::Components::Namer.new(participatory_space.organization.available_locales, :proposals).i18n_name }
9
+ transient do
10
+ skip_injection { false }
11
+ end
12
+ name { generate_component_name(participatory_space.organization.available_locales, :proposals) }
10
13
  manifest_name { :proposals }
11
- participatory_space { create(:participatory_process, :with_steps, organization: organization) }
12
-
14
+ participatory_space { create(:participatory_process, :with_steps, organization: organization, skip_injection: skip_injection) }
13
15
  trait :with_endorsements_enabled do
14
16
  step_settings do
15
17
  {
@@ -250,28 +252,16 @@ FactoryBot.define do
250
252
  skip_injection { false }
251
253
  end
252
254
 
253
- title do
254
- if skip_injection
255
- Decidim::Faker::Localized.localized { generate(:title) }
256
- else
257
- Decidim::Faker::Localized.localized { "<script>alert(\"TITLE\");</script> #{generate(:title)}" }
258
- end
259
- end
260
- body do
261
- if skip_injection
262
- Decidim::Faker::Localized.localized { Faker::Lorem.sentences(number: 3).join("\n") }
263
- else
264
- Decidim::Faker::Localized.localized { "<script>alert(\"TITLE\");</script> #{Faker::Lorem.sentences(number: 3).join("\n")}" }
265
- end
266
- end
267
- component { create(:proposal_component) }
255
+ title { generate_localized_title(:proposal_title, skip_injection: skip_injection) }
256
+ body { generate_localized_description(:proposal_body, skip_injection: skip_injection) }
257
+ component { create(:proposal_component, skip_injection: skip_injection) }
268
258
  published_at { Time.current }
269
259
  address { "#{Faker::Address.street_name}, #{Faker::Address.city}" }
270
260
  latitude { Faker::Address.latitude }
271
261
  longitude { Faker::Address.longitude }
272
262
  cost { 20_000 }
273
- cost_report { { en: "My cost report" } }
274
- execution_period { { en: "My execution period" } }
263
+ cost_report { generate_localized_title(:proposal_cost_report, skip_injection: skip_injection) }
264
+ execution_period { generate_localized_title(:proposal_execution_period, skip_injection: skip_injection) }
275
265
 
276
266
  after(:build) do |proposal, evaluator|
277
267
  proposal.title = if evaluator.title.is_a?(String)
@@ -289,7 +279,7 @@ FactoryBot.define do
289
279
  proposal.body = Decidim::ContentProcessor.parse_with_processor(:hashtag, proposal.body, current_organization: proposal.organization).rewrite
290
280
 
291
281
  if proposal.component
292
- users = evaluator.users || [create(:user, :confirmed, organization: proposal.component.participatory_space.organization)]
282
+ users = evaluator.users || [create(:user, :confirmed, organization: proposal.component.participatory_space.organization, skip_injection: evaluator.skip_injection)]
293
283
  users.each_with_index do |user, idx|
294
284
  user_group = evaluator.user_groups[idx]
295
285
  proposal.coauthorships.build(author: user, user_group: user_group)
@@ -306,18 +296,18 @@ FactoryBot.define do
306
296
  end
307
297
 
308
298
  trait :participant_author do
309
- after :build do |proposal|
299
+ after :build do |proposal, evaluator|
310
300
  proposal.coauthorships.clear
311
- user = build(:user, organization: proposal.component.participatory_space.organization)
301
+ user = build(:user, organization: proposal.component.participatory_space.organization, skip_injection: evaluator.skip_injection)
312
302
  proposal.coauthorships.build(author: user)
313
303
  end
314
304
  end
315
305
 
316
306
  trait :user_group_author do
317
- after :build do |proposal|
307
+ after :build do |proposal, evaluator|
318
308
  proposal.coauthorships.clear
319
- user = create(:user, organization: proposal.component.participatory_space.organization)
320
- user_group = create(:user_group, :verified, organization: user.organization, users: [user])
309
+ user = create(:user, organization: proposal.component.participatory_space.organization, skip_injection: evaluator.skip_injection)
310
+ user_group = create(:user_group, :verified, organization: user.organization, users: [user], skip_injection: evaluator.skip_injection)
321
311
  proposal.coauthorships.build(author: user, user_group: user_group)
322
312
  end
323
313
  end
@@ -330,10 +320,10 @@ FactoryBot.define do
330
320
  end
331
321
 
332
322
  trait :official_meeting do
333
- after :build do |proposal|
323
+ after :build do |proposal, evaluator|
334
324
  proposal.coauthorships.clear
335
- component = build(:meeting_component, participatory_space: proposal.component.participatory_space)
336
- proposal.coauthorships.build(author: build(:meeting, component: component))
325
+ component = build(:meeting_component, participatory_space: proposal.component.participatory_space, skip_injection: evaluator.skip_injection)
326
+ proposal.coauthorships.build(author: build(:meeting, component: component, skip_injection: evaluator.skip_injection))
337
327
  end
338
328
  end
339
329
 
@@ -382,78 +372,89 @@ FactoryBot.define do
382
372
  end
383
373
 
384
374
  trait :hidden do
385
- after :create do |proposal|
386
- create(:moderation, hidden_at: Time.current, reportable: proposal)
375
+ after :create do |proposal, evaluator|
376
+ create(:moderation, hidden_at: Time.current, reportable: proposal, skip_injection: evaluator.skip_injection)
387
377
  end
388
378
  end
389
379
 
390
380
  trait :with_votes do
391
- after :create do |proposal|
392
- create_list(:proposal_vote, 5, proposal: proposal)
381
+ after :create do |proposal, evaluator|
382
+ create_list(:proposal_vote, 5, proposal: proposal, skip_injection: evaluator.skip_injection)
393
383
  end
394
384
  end
395
385
 
396
386
  trait :with_endorsements do
397
- after :create do |proposal|
387
+ after :create do |proposal, evaluator|
398
388
  5.times.collect do
399
- create(:endorsement, resource: proposal, author: build(:user, organization: proposal.participatory_space.organization))
389
+ create(:endorsement, resource: proposal, skip_injection: evaluator.skip_injection,
390
+ author: build(:user, organization: proposal.participatory_space.organization, skip_injection: evaluator.skip_injection))
400
391
  end
401
392
  end
402
393
  end
403
394
 
404
395
  trait :with_amendments do
405
- after :create do |proposal|
406
- create_list(:proposal_amendment, 5, amendable: proposal)
396
+ after :create do |proposal, evaluator|
397
+ create_list(:proposal_amendment, 5, amendable: proposal, skip_injection: evaluator.skip_injection)
407
398
  end
408
399
  end
409
400
 
410
401
  trait :with_photo do
411
- after :create do |proposal|
412
- proposal.attachments << create(:attachment, :with_image, attached_to: proposal)
402
+ after :create do |proposal, evaluator|
403
+ proposal.attachments << create(:attachment, :with_image, attached_to: proposal, skip_injection: evaluator.skip_injection)
413
404
  end
414
405
  end
415
406
 
416
407
  trait :with_document do
417
- after :create do |proposal|
418
- proposal.attachments << create(:attachment, :with_pdf, attached_to: proposal)
408
+ after :create do |proposal, evaluator|
409
+ proposal.attachments << create(:attachment, :with_pdf, attached_to: proposal, skip_injection: evaluator.skip_injection)
419
410
  end
420
411
  end
421
412
  end
422
413
 
423
414
  factory :proposal_vote, class: "Decidim::Proposals::ProposalVote" do
424
- proposal { build(:proposal) }
425
- author { build(:user, organization: proposal.organization) }
415
+ transient do
416
+ skip_injection { false }
417
+ end
418
+ proposal { build(:proposal, skip_injection: skip_injection) }
419
+ author { build(:user, organization: proposal.organization, skip_injection: skip_injection) }
426
420
  end
427
421
 
428
422
  factory :proposal_amendment, class: "Decidim::Amendment" do
429
- amendable { build(:proposal) }
430
- emendation { build(:proposal, component: amendable.component) }
431
- amender { build(:user, organization: amendable.component.participatory_space.organization) }
423
+ transient do
424
+ skip_injection { false }
425
+ end
426
+ amendable { build(:proposal, skip_injection: skip_injection) }
427
+ emendation { build(:proposal, component: amendable.component, skip_injection: skip_injection) }
428
+ amender { build(:user, organization: amendable.component.participatory_space.organization, skip_injection: skip_injection) }
432
429
  state { Decidim::Amendment::STATES.sample }
433
430
  end
434
431
 
435
432
  factory :proposal_note, class: "Decidim::Proposals::ProposalNote" do
433
+ transient do
434
+ skip_injection { false }
435
+ end
436
436
  body { Faker::Lorem.sentences(number: 3).join("\n") }
437
- proposal { build(:proposal) }
438
- author { build(:user, organization: proposal.organization) }
437
+ proposal { build(:proposal, skip_injection: skip_injection) }
438
+ author { build(:user, organization: proposal.organization, skip_injection: skip_injection) }
439
439
  end
440
440
 
441
441
  factory :collaborative_draft, class: "Decidim::Proposals::CollaborativeDraft" do
442
442
  transient do
443
443
  users { nil }
444
+ skip_injection { false }
444
445
  # user_groups correspondence to users is by sorting order
445
446
  user_groups { [] }
446
447
  end
447
448
 
448
- title { "<script>alert(\"TITLE\");</script> #{generate(:title)}" }
449
- body { "<script>alert(\"BODY\");</script>\n#{Faker::Lorem.sentences(number: 3).join("\n")}" }
450
- component { create(:proposal_component) }
449
+ title { generate_localized_title(:collaborative_draft_title, skip_injection: skip_injection)["en"] }
450
+ body { generate_localized_description(:collaborative_draft_body, skip_injection: skip_injection)["en"] }
451
+ component { create(:proposal_component, skip_injection: skip_injection) }
451
452
  address { "#{Faker::Address.street_name}, #{Faker::Address.city}" }
452
453
  state { "open" }
453
454
 
454
455
  after(:build) do |collaborative_draft, evaluator|
455
456
  if collaborative_draft.component
456
- users = evaluator.users || [create(:user, organization: collaborative_draft.component.participatory_space.organization)]
457
+ users = evaluator.users || [create(:user, organization: collaborative_draft.component.participatory_space.organization, skip_injection: evaluator.skip_injection)]
457
458
  users.each_with_index do |user, idx|
458
459
  user_group = evaluator.user_groups[idx]
459
460
  collaborative_draft.coauthorships.build(author: user, user_group: user_group)
@@ -476,17 +477,23 @@ FactoryBot.define do
476
477
  end
477
478
 
478
479
  factory :participatory_text, class: "Decidim::Proposals::ParticipatoryText" do
479
- title { { en: "<script>alert(\"TITLE\");</script> #{generate(:title)}" } }
480
- description { { en: "<script>alert(\"DESCRIPTION\");</script>\n#{Faker::Lorem.sentences(number: 3).join("\n")}" } }
481
- component { create(:proposal_component) }
480
+ transient do
481
+ skip_injection { false }
482
+ end
483
+ title { generate_localized_title(:participatory_text_title, skip_injection: skip_injection) }
484
+ description { generate_localized_description(:participatory_text_description, skip_injection: skip_injection) }
485
+ component { create(:proposal_component, skip_injection: skip_injection) }
482
486
  end
483
487
 
484
488
  factory :valuation_assignment, class: "Decidim::Proposals::ValuationAssignment" do
489
+ transient do
490
+ skip_injection { false }
491
+ end
485
492
  proposal
486
493
  valuator_role do
487
494
  space = proposal.component.participatory_space
488
495
  organization = space.organization
489
- build :participatory_process_user_role, role: :valuator, user: build(:user, organization: organization)
496
+ build :participatory_process_user_role, role: :valuator, skip_injection: skip_injection, user: build(:user, organization: organization, skip_injection: skip_injection)
490
497
  end
491
498
  end
492
499
  end
@@ -8,7 +8,8 @@ module Decidim
8
8
  include Decidim::Comments::Commentable
9
9
 
10
10
  included do
11
- has_many :valuation_assignments, foreign_key: "decidim_proposal_id", dependent: :destroy
11
+ has_many :valuation_assignments, foreign_key: "decidim_proposal_id", dependent: :destroy,
12
+ counter_cache: :valuation_assignments_count, class_name: "Decidim::Proposals::ValuationAssignment"
12
13
 
13
14
  def valuators
14
15
  valuator_role_ids = valuation_assignments.where(proposal: self).pluck(:valuator_role_id)
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds decidim-proposals version.
5
5
  module Proposals
6
6
  def self.version
7
- "0.27.5"
7
+ "0.27.6"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-proposals
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.5
4
+ version: 0.27.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
8
8
  - Marc Riera Casals
9
9
  - Oriol Gual Oliva
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-12-20 00:00:00.000000000 Z
13
+ date: 2024-04-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-comments
@@ -18,28 +18,28 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.27.5
21
+ version: 0.27.6
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: 0.27.5
28
+ version: 0.27.6
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-core
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.27.5
35
+ version: 0.27.6
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.27.5
42
+ version: 0.27.6
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: doc2text
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -80,98 +80,98 @@ dependencies:
80
80
  requirements:
81
81
  - - '='
82
82
  - !ruby/object:Gem::Version
83
- version: 0.27.5
83
+ version: 0.27.6
84
84
  type: :development
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - '='
89
89
  - !ruby/object:Gem::Version
90
- version: 0.27.5
90
+ version: 0.27.6
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: decidim-assemblies
93
93
  requirement: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - '='
96
96
  - !ruby/object:Gem::Version
97
- version: 0.27.5
97
+ version: 0.27.6
98
98
  type: :development
99
99
  prerelease: false
100
100
  version_requirements: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - '='
103
103
  - !ruby/object:Gem::Version
104
- version: 0.27.5
104
+ version: 0.27.6
105
105
  - !ruby/object:Gem::Dependency
106
106
  name: decidim-budgets
107
107
  requirement: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - '='
110
110
  - !ruby/object:Gem::Version
111
- version: 0.27.5
111
+ version: 0.27.6
112
112
  type: :development
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - '='
117
117
  - !ruby/object:Gem::Version
118
- version: 0.27.5
118
+ version: 0.27.6
119
119
  - !ruby/object:Gem::Dependency
120
120
  name: decidim-conference
121
121
  requirement: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - '='
124
124
  - !ruby/object:Gem::Version
125
- version: 0.27.5
125
+ version: 0.27.6
126
126
  type: :development
127
127
  prerelease: false
128
128
  version_requirements: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - '='
131
131
  - !ruby/object:Gem::Version
132
- version: 0.27.5
132
+ version: 0.27.6
133
133
  - !ruby/object:Gem::Dependency
134
134
  name: decidim-dev
135
135
  requirement: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - '='
138
138
  - !ruby/object:Gem::Version
139
- version: 0.27.5
139
+ version: 0.27.6
140
140
  type: :development
141
141
  prerelease: false
142
142
  version_requirements: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - '='
145
145
  - !ruby/object:Gem::Version
146
- version: 0.27.5
146
+ version: 0.27.6
147
147
  - !ruby/object:Gem::Dependency
148
148
  name: decidim-meetings
149
149
  requirement: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - '='
152
152
  - !ruby/object:Gem::Version
153
- version: 0.27.5
153
+ version: 0.27.6
154
154
  type: :development
155
155
  prerelease: false
156
156
  version_requirements: !ruby/object:Gem::Requirement
157
157
  requirements:
158
158
  - - '='
159
159
  - !ruby/object:Gem::Version
160
- version: 0.27.5
160
+ version: 0.27.6
161
161
  - !ruby/object:Gem::Dependency
162
162
  name: decidim-participatory_processes
163
163
  requirement: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - '='
166
166
  - !ruby/object:Gem::Version
167
- version: 0.27.5
167
+ version: 0.27.6
168
168
  type: :development
169
169
  prerelease: false
170
170
  version_requirements: !ruby/object:Gem::Requirement
171
171
  requirements:
172
172
  - - '='
173
173
  - !ruby/object:Gem::Version
174
- version: 0.27.5
174
+ version: 0.27.6
175
175
  description: A proposals component for decidim's participatory spaces.
176
176
  email:
177
177
  - josepjaume@gmail.com
@@ -458,7 +458,6 @@ files:
458
458
  - app/views/decidim/proposals/versions/show.html.erb
459
459
  - config/assets.rb
460
460
  - config/brakeman.ignore
461
- - config/environment.rb
462
461
  - config/locales/am-ET.yml
463
462
  - config/locales/ar-SA.yml
464
463
  - config/locales/ar.yml
@@ -491,6 +490,7 @@ files:
491
490
  - config/locales/ga-IE.yml
492
491
  - config/locales/gl.yml
493
492
  - config/locales/gn-PY.yml
493
+ - config/locales/he-IL.yml
494
494
  - config/locales/hr-HR.yml
495
495
  - config/locales/hr.yml
496
496
  - config/locales/hu.yml
@@ -593,6 +593,8 @@ files:
593
593
  - db/migrate/20210310102839_add_followable_counter_cache_to_proposals.rb
594
594
  - db/migrate/20210310120812_add_followable_counter_cache_to_collaborative_drafts.rb
595
595
  - db/migrate/20210318082934_fix_counters_for_copied_proposals.rb
596
+ - db/migrate/20240404202756_add_valuation_assignments_count_to_decidim_proposals_proposals.rb
597
+ - decidim-proposals.gemspec
596
598
  - lib/decidim/api/proposal_input_filter.rb
597
599
  - lib/decidim/api/proposal_input_sort.rb
598
600
  - lib/decidim/api/proposal_type.rb
@@ -626,23 +628,23 @@ homepage: https://github.com/decidim/decidim
626
628
  licenses:
627
629
  - AGPL-3.0
628
630
  metadata: {}
629
- post_install_message:
631
+ post_install_message:
630
632
  rdoc_options: []
631
633
  require_paths:
632
634
  - lib
633
635
  required_ruby_version: !ruby/object:Gem::Requirement
634
636
  requirements:
635
- - - ">="
637
+ - - "~>"
636
638
  - !ruby/object:Gem::Version
637
- version: '3.0'
639
+ version: 3.0.0
638
640
  required_rubygems_version: !ruby/object:Gem::Requirement
639
641
  requirements:
640
642
  - - ">="
641
643
  - !ruby/object:Gem::Version
642
644
  version: '0'
643
645
  requirements: []
644
- rubygems_version: 3.4.22
645
- signing_key:
646
+ rubygems_version: 3.2.22
647
+ signing_key:
646
648
  specification_version: 4
647
649
  summary: Decidim proposals module
648
650
  test_files: []
@@ -1,3 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Empty line for playing nice with tpope/vim-rails