decidim-sortitions 0.27.10 → 0.28.0.rc4

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.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/sortitions/sortition_cell.rb +1 -1
  3. data/app/cells/decidim/sortitions/sortition_l_cell.rb +26 -0
  4. data/app/cells/decidim/sortitions/sortition_metadata_cell.rb +66 -0
  5. data/app/commands/decidim/sortitions/admin/create_sortition.rb +2 -2
  6. data/app/commands/decidim/sortitions/admin/destroy_sortition.rb +1 -1
  7. data/app/commands/decidim/sortitions/admin/update_sortition.rb +1 -1
  8. data/app/controllers/decidim/sortitions/admin/sortitions_controller.rb +11 -11
  9. data/app/controllers/decidim/sortitions/sortitions_controller.rb +0 -1
  10. data/app/helpers/decidim/sortitions/admin/sortitions_helper.rb +1 -0
  11. data/app/helpers/decidim/sortitions/sortitions_helper.rb +25 -1
  12. data/app/models/decidim/sortitions/sortition.rb +3 -3
  13. data/app/packs/entrypoints/decidim_sortitions.js +3 -0
  14. data/app/packs/stylesheets/sortitions.scss +31 -0
  15. data/app/permissions/decidim/sortitions/permissions.rb +0 -14
  16. data/app/presenters/decidim/sortitions/admin_log/sortition_presenter.rb +2 -2
  17. data/app/queries/decidim/sortitions/admin/participatory_space_proposal_components.rb +1 -1
  18. data/app/views/decidim/sortitions/admin/sortitions/_form.html.erb +29 -31
  19. data/app/views/decidim/sortitions/admin/sortitions/confirm_destroy.html.erb +24 -15
  20. data/app/views/decidim/sortitions/admin/sortitions/edit.html.erb +26 -22
  21. data/app/views/decidim/sortitions/admin/sortitions/index.html.erb +47 -54
  22. data/app/views/decidim/sortitions/admin/sortitions/new.html.erb +16 -10
  23. data/app/views/decidim/sortitions/admin/sortitions/show.html.erb +42 -46
  24. data/app/views/decidim/sortitions/sortitions/_proposal.html.erb +1 -1
  25. data/app/views/decidim/sortitions/sortitions/_results_count.html.erb +3 -3
  26. data/app/views/decidim/sortitions/sortitions/_sortitions.html.erb +10 -11
  27. data/app/views/decidim/sortitions/sortitions/_tags.html.erb +0 -1
  28. data/app/views/decidim/sortitions/sortitions/index.html.erb +14 -17
  29. data/app/views/decidim/sortitions/sortitions/index.js.erb +0 -5
  30. data/app/views/decidim/sortitions/sortitions/show.html.erb +123 -118
  31. data/config/locales/ar.yml +2 -24
  32. data/config/locales/bg.yml +1 -144
  33. data/config/locales/ca.yml +10 -21
  34. data/config/locales/cs.yml +7 -22
  35. data/config/locales/de.yml +10 -21
  36. data/config/locales/el.yml +6 -19
  37. data/config/locales/en.yml +14 -25
  38. data/config/locales/es-MX.yml +9 -20
  39. data/config/locales/es-PY.yml +9 -20
  40. data/config/locales/es.yml +9 -20
  41. data/config/locales/eu.yml +25 -32
  42. data/config/locales/fi-plain.yml +7 -20
  43. data/config/locales/fi.yml +27 -40
  44. data/config/locales/fr-CA.yml +7 -20
  45. data/config/locales/fr.yml +10 -21
  46. data/config/locales/ga-IE.yml +0 -6
  47. data/config/locales/gl.yml +2 -22
  48. data/config/locales/hu.yml +2 -22
  49. data/config/locales/id-ID.yml +2 -19
  50. data/config/locales/is-IS.yml +2 -16
  51. data/config/locales/it.yml +2 -21
  52. data/config/locales/ja.yml +7 -19
  53. data/config/locales/lt.yml +6 -22
  54. data/config/locales/lv.yml +2 -22
  55. data/config/locales/nl.yml +2 -21
  56. data/config/locales/no.yml +2 -21
  57. data/config/locales/pl.yml +2 -28
  58. data/config/locales/pt-BR.yml +3 -25
  59. data/config/locales/pt.yml +2 -21
  60. data/config/locales/ro-RO.yml +5 -21
  61. data/config/locales/ru.yml +2 -22
  62. data/config/locales/sk.yml +2 -23
  63. data/config/locales/sr-CS.yml +0 -6
  64. data/config/locales/sv.yml +7 -26
  65. data/config/locales/tr-TR.yml +3 -21
  66. data/config/locales/uk.yml +2 -22
  67. data/config/locales/zh-CN.yml +2 -20
  68. data/config/locales/zh-TW.yml +5 -18
  69. data/lib/decidim/sortitions/component.rb +5 -7
  70. data/lib/decidim/sortitions/engine.rb +8 -3
  71. data/lib/decidim/sortitions/seeds.rb +24 -0
  72. data/lib/decidim/sortitions/test/factories.rb +11 -16
  73. data/lib/decidim/sortitions/version.rb +1 -1
  74. metadata +28 -31
  75. data/app/cells/decidim/sortitions/sortition_m/data.erb +0 -15
  76. data/app/cells/decidim/sortitions/sortition_m/footer.erb +0 -13
  77. data/app/cells/decidim/sortitions/sortition_m_cell.rb +0 -55
  78. data/app/controllers/decidim/sortitions/widgets_controller.rb +0 -30
  79. data/app/packs/stylesheets/decidim/sortitions/_sortitions.scss +0 -49
  80. data/app/views/decidim/sortitions/sortition_widgets/show.html.erb +0 -4
  81. data/app/views/decidim/sortitions/sortitions/_filters.html.erb +0 -39
  82. data/app/views/decidim/sortitions/sortitions/_filters_small_view.html.erb +0 -18
  83. data/app/views/decidim/sortitions/sortitions/_sortitions_count.html.erb +0 -1
  84. data/config/locales/he-IL.yml +0 -1
  85. data/decidim-sortitions.gemspec +0 -32
  86. data/lib/tasks/decidim/.keep +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-sortitions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.10
4
+ version: 0.28.0.rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Salvador Perez Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-20 00:00:00.000000000 Z
11
+ date: 2023-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,70 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.27.10
19
+ version: 0.28.0.rc4
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.27.10
26
+ version: 0.28.0.rc4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-comments
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.27.10
33
+ version: 0.28.0.rc4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.27.10
40
+ version: 0.28.0.rc4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.27.10
47
+ version: 0.28.0.rc4
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.27.10
54
+ version: 0.28.0.rc4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-proposals
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.27.10
61
+ version: 0.28.0.rc4
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.27.10
68
+ version: 0.28.0.rc4
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: decidim-dev
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 0.27.10
75
+ version: 0.28.0.rc4
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 0.27.10
82
+ version: 0.28.0.rc4
83
83
  description: This module makes possible to select amont a set of proposal by sortition
84
84
  email:
85
85
  - jsperezg@gmail.com
@@ -90,9 +90,8 @@ files:
90
90
  - README.md
91
91
  - Rakefile
92
92
  - app/cells/decidim/sortitions/sortition_cell.rb
93
- - app/cells/decidim/sortitions/sortition_m/data.erb
94
- - app/cells/decidim/sortitions/sortition_m/footer.erb
95
- - app/cells/decidim/sortitions/sortition_m_cell.rb
93
+ - app/cells/decidim/sortitions/sortition_l_cell.rb
94
+ - app/cells/decidim/sortitions/sortition_metadata_cell.rb
96
95
  - app/commands/decidim/sortitions/admin/create_sortition.rb
97
96
  - app/commands/decidim/sortitions/admin/destroy_sortition.rb
98
97
  - app/commands/decidim/sortitions/admin/update_sortition.rb
@@ -101,7 +100,6 @@ files:
101
100
  - app/controllers/decidim/sortitions/admin/sortitions_controller.rb
102
101
  - app/controllers/decidim/sortitions/application_controller.rb
103
102
  - app/controllers/decidim/sortitions/sortitions_controller.rb
104
- - app/controllers/decidim/sortitions/widgets_controller.rb
105
103
  - app/events/decidim/sortitions/create_sortition_event.rb
106
104
  - app/forms/decidim/sortitions/admin/destroy_sortition_form.rb
107
105
  - app/forms/decidim/sortitions/admin/edit_sortition_form.rb
@@ -112,7 +110,7 @@ files:
112
110
  - app/models/decidim/sortitions/sortition.rb
113
111
  - app/packs/entrypoints/decidim_sortitions.js
114
112
  - app/packs/images/decidim/sortitions/icon.svg
115
- - app/packs/stylesheets/decidim/sortitions/_sortitions.scss
113
+ - app/packs/stylesheets/sortitions.scss
116
114
  - app/permissions/decidim/sortitions/admin/permissions.rb
117
115
  - app/permissions/decidim/sortitions/permissions.rb
118
116
  - app/presenters/decidim/sortitions/admin_log/sortition_presenter.rb
@@ -126,10 +124,7 @@ files:
126
124
  - app/views/decidim/sortitions/admin/sortitions/index.html.erb
127
125
  - app/views/decidim/sortitions/admin/sortitions/new.html.erb
128
126
  - app/views/decidim/sortitions/admin/sortitions/show.html.erb
129
- - app/views/decidim/sortitions/sortition_widgets/show.html.erb
130
127
  - app/views/decidim/sortitions/sortitions/_count.html.erb
131
- - app/views/decidim/sortitions/sortitions/_filters.html.erb
132
- - app/views/decidim/sortitions/sortitions/_filters_small_view.html.erb
133
128
  - app/views/decidim/sortitions/sortitions/_linked_sortitions.html.erb
134
129
  - app/views/decidim/sortitions/sortitions/_proposal.html.erb
135
130
  - app/views/decidim/sortitions/sortitions/_proposal_badge.html.erb
@@ -138,7 +133,6 @@ files:
138
133
  - app/views/decidim/sortitions/sortitions/_sortition_author.html.erb
139
134
  - app/views/decidim/sortitions/sortitions/_sortition_cancel_author.html.erb
140
135
  - app/views/decidim/sortitions/sortitions/_sortitions.html.erb
141
- - app/views/decidim/sortitions/sortitions/_sortitions_count.html.erb
142
136
  - app/views/decidim/sortitions/sortitions/_tags.html.erb
143
137
  - app/views/decidim/sortitions/sortitions/index.html.erb
144
138
  - app/views/decidim/sortitions/sortitions/index.js.erb
@@ -176,7 +170,6 @@ files:
176
170
  - config/locales/ga-IE.yml
177
171
  - config/locales/gl.yml
178
172
  - config/locales/gn-PY.yml
179
- - config/locales/he-IL.yml
180
173
  - config/locales/hr-HR.yml
181
174
  - config/locales/hr.yml
182
175
  - config/locales/hu.yml
@@ -240,7 +233,6 @@ files:
240
233
  - db/migrate/20181017110803_make_sortitions_authors_polymorphic.rb
241
234
  - db/migrate/20200320105926_index_foreign_keys_in_decidim_sortitions_sortitions.rb
242
235
  - db/migrate/20200827154036_add_commentable_counter_cache_to_sortitions.rb
243
- - decidim-sortitions.gemspec
244
236
  - lib/decidim/api/sortition_type.rb
245
237
  - lib/decidim/api/sortitions_type.rb
246
238
  - lib/decidim/sortitions.rb
@@ -249,29 +241,34 @@ files:
249
241
  - lib/decidim/sortitions/api.rb
250
242
  - lib/decidim/sortitions/component.rb
251
243
  - lib/decidim/sortitions/engine.rb
244
+ - lib/decidim/sortitions/seeds.rb
252
245
  - lib/decidim/sortitions/test/factories.rb
253
246
  - lib/decidim/sortitions/version.rb
254
- - lib/tasks/decidim/.keep
255
- homepage: https://github.com/decidim/decidim
247
+ homepage: https://decidim.org
256
248
  licenses:
257
249
  - AGPL-3.0
258
- metadata: {}
250
+ metadata:
251
+ bug_tracker_uri: https://github.com/decidim/decidim/issues
252
+ documentation_uri: https://docs.decidim.org/
253
+ funding_uri: https://opencollective.com/decidim
254
+ homepage_uri: https://decidim.org
255
+ source_code_uri: https://github.com/decidim/decidim
259
256
  post_install_message:
260
257
  rdoc_options: []
261
258
  require_paths:
262
259
  - lib
263
260
  required_ruby_version: !ruby/object:Gem::Requirement
264
261
  requirements:
265
- - - "~>"
262
+ - - ">="
266
263
  - !ruby/object:Gem::Version
267
- version: 3.0.0
264
+ version: '3.1'
268
265
  required_rubygems_version: !ruby/object:Gem::Requirement
269
266
  requirements:
270
- - - ">="
267
+ - - ">"
271
268
  - !ruby/object:Gem::Version
272
- version: '0'
269
+ version: 1.3.1
273
270
  requirements: []
274
- rubygems_version: 3.2.22
271
+ rubygems_version: 3.4.20
275
272
  signing_key:
276
273
  specification_version: 4
277
274
  summary: Decidim sortitions module
@@ -1,15 +0,0 @@
1
- <div class="card__icondata">
2
- <ul class="card-data">
3
- <li class="card-data__item">
4
- <%= icon "random-seed", class: "icon--big", aria_label: t("decidim.sortitions.sortitions.sortition.random_seed"), role: "img" %>
5
- </li>
6
- <li class="card-data__item">
7
- <div class="text-left">
8
- <strong class="heading4">
9
- <%= model.seed %>
10
- </strong>
11
- &nbsp;<small aria-hidden="true"><%= t("decidim.sortitions.sortitions.sortition.random_seed") %></small>
12
- </div>
13
- </li>
14
- </ul>
15
- </div>
@@ -1,13 +0,0 @@
1
- <div class="card__footer">
2
- <div class="card__support">
3
- <div>
4
- <strong class="text-large">
5
- <%= proposals_count %>
6
- </strong>
7
- <small class="text-medium">
8
- <%= t("decidim.sortitions.sortitions.sortition.selected_proposals", count: proposals_count) %>
9
- </small>
10
- </div>
11
- <%= link_to t("decidim.sortitions.sortitions.sortition.view"), resource_path, class: "card__button button--sc button small secondary light" %>
12
- </div>
13
- </div>
@@ -1,55 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "cell/partial"
4
-
5
- module Decidim
6
- module Sortitions
7
- # This cell renders a sortition with its M-size card.
8
- class SortitionMCell < Decidim::CardMCell
9
- include Decidim::Sortitions::Engine.routes.url_helpers
10
-
11
- private
12
-
13
- def has_author?
14
- false
15
- end
16
-
17
- def has_state?
18
- true
19
- end
20
-
21
- # Even though we need to render the badge, we can't do it in the normal
22
- # way, because the paragraph comes from a user input and contains HTML.
23
- # This causes the badge and the paragraph to appear in different lines.
24
- # In order to fix it, check the `description` method.
25
- def has_badge?
26
- false
27
- end
28
-
29
- def badge_name
30
- return t("filters.cancelled", scope: "decidim.sortitions.sortitions") if model.cancelled?
31
-
32
- t("filters.active", scope: "decidim.sortitions.sortitions")
33
- end
34
-
35
- def state_classes
36
- return ["muted"] if model.cancelled?
37
-
38
- ["success"]
39
- end
40
-
41
- def proposals_count
42
- @proposals_count = model.proposals.count
43
- end
44
-
45
- # In order to render the badge inline with the paragraph text we need to
46
- # find the opening `<p>` tag and include the badge right after it. This
47
- # makes the layout look good.
48
- def description
49
- text = decidim_sanitize_editor(translated_attribute(model.additional_info), strip_tags: true)
50
- text.sub!(/<p>/, "<p>#{render :badge}")
51
- html_truncate(text, length: 100)
52
- end
53
- end
54
- end
55
- end
@@ -1,30 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Decidim
4
- module Sortitions
5
- class WidgetsController < Decidim::WidgetsController
6
- helper Decidim::SanitizeHelper
7
- helper Sortitions::SortitionsHelper
8
-
9
- def show
10
- enforce_permission_to :embed, :sortition, sortition: model if model
11
-
12
- super
13
- end
14
-
15
- private
16
-
17
- def model
18
- @model ||= Sortition.where(component: current_component).find(params[:sortition_id])
19
- end
20
-
21
- def iframe_url
22
- @iframe_url ||= sortition_widget_url(model)
23
- end
24
-
25
- def permission_class_chain
26
- [Decidim::Sortitions::Permissions]
27
- end
28
- end
29
- end
30
- end
@@ -1,49 +0,0 @@
1
- #sortition-details{
2
- margin-bottom: 1.5rem;
3
- }
4
-
5
- .sortition-details{
6
- padding: 0;
7
- display: flex;
8
- flex-flow: row wrap;
9
- justify-content: flex-start;
10
- align-items: stretch;
11
- align-content: stretch;
12
-
13
- .sortition-details-item{
14
- width: 33.3%;
15
-
16
- @include breakpoint(large down){
17
- width: 33.3%;
18
- }
19
-
20
- @include breakpoint(medium down){
21
- width: 49.9%;
22
- }
23
-
24
- @include breakpoint(smallmedium down){
25
- width: 100%;
26
- }
27
-
28
- display: inline-block;
29
- padding: 1em;
30
- border: $border;
31
- background: $white;
32
-
33
- .sortition-details-title{
34
- margin-right: .5rem;
35
- font-weight: bolder;
36
- }
37
-
38
- .sortition-details-text{
39
- letter-spacing: .03em;
40
- font-size: 90%;
41
- text-transform: uppercase;
42
- color: #3d393c;
43
- font-weight: 600;
44
- line-height: 1;
45
- vertical-align: middle;
46
- height: 1.5em;
47
- }
48
- }
49
- }
@@ -1,4 +0,0 @@
1
- <% content_for(:title, decidim_html_escape(translated_attribute(model.title))) %>
2
- <p>
3
- <%= decidim_sanitize_editor html_truncate(translated_attribute(model.additional_info), length: 100, separator: "...") %>
4
- </p>
@@ -1,39 +0,0 @@
1
- <%= render partial: "decidim/shared/filter_form_help", locals: { skip_to_id: "sortitions" } %>
2
-
3
- <%= filter_form_for filter do |form| %>
4
- <div class="filters__section">
5
- <div class="filters__search">
6
- <div class="input-group">
7
- <%= form.search_field :search_text_cont, label: false, class: "input-group-field", placeholder: t(".search"), title: t(".search"), "aria-label": t(".search"), data: { disable_dynamic_change: true } %>
8
- <div class="input-group-button">
9
- <button type="submit" class="button" aria-controls="sortitions">
10
- <%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %>
11
- </button>
12
- </div>
13
- </div>
14
- </div>
15
- </div>
16
-
17
- <% if current_participatory_space.categories.any? %>
18
- <%= form.categories_select :with_category,
19
- current_participatory_space.categories,
20
- {
21
- legend_title: t(".category"),
22
- disable_parents: false,
23
- label: "",
24
- include_blank: t(".category_prompt"),
25
- aria_label: t(".category")
26
- },
27
- "aria-label": t(".category"),
28
- "aria-controls": "sortitions" %>
29
- <% end %>
30
-
31
- <%= form.collection_radio_buttons :with_any_state,
32
- [["all", t(".all")], ["active", t(".active")], ["cancelled", t(".cancelled")]],
33
- :first,
34
- :last,
35
- { legend_title: t(".state") },
36
- "aria-controls": "sortitions" %>
37
-
38
- <%= hidden_field_tag :order, order, id: nil, class: "order_filter" %>
39
- <% end %>
@@ -1,18 +0,0 @@
1
- <div class="filters-controls hide-for-mediumlarge">
2
- <button data-open="filter-box" class="filters-controls__trigger" aria-controls="filter-box" aria-haspopup="dialog">
3
- <%= t ".filter" %>
4
- <%= icon "caret-bottom", class: "icon--small float-right", aria_label: t(".unfold"), role: "img" %>
5
- </button>
6
- </div>
7
-
8
- <div class="reveal" id="filter-box" data-reveal role="dialog" aria-modal="true" aria-labelledby="filter-box-label">
9
- <div class="reveal__header">
10
- <h3 id="filter-box-label" class="reveal__title"><%= t ".filter_by" %>:</h3>
11
- <button class="close-button" data-close aria-label="<%= t(".close_modal") %>" type="button">
12
- <span aria-hidden="true">&times;</span>
13
- </button>
14
- </div>
15
- <div class="filters">
16
- <%= render partial: "filters", locals: { type: :small } %>
17
- </div>
18
- </div>
@@ -1 +0,0 @@
1
- <%= t(".count", count: @sortitions.total_count) %>
@@ -1 +0,0 @@
1
- he:
@@ -1,32 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- $LOAD_PATH.push File.expand_path("lib", __dir__)
4
-
5
- require "decidim/sortitions/version"
6
-
7
- Gem::Specification.new do |s|
8
- s.version = Decidim::Sortitions.version
9
- s.authors = ["Juan Salvador Perez Garcia"]
10
- s.email = ["jsperezg@gmail.com"]
11
- s.license = "AGPL-3.0"
12
- s.homepage = "https://github.com/decidim/decidim"
13
- s.required_ruby_version = "~> 3.0.0"
14
-
15
- s.name = "decidim-sortitions"
16
- s.summary = "Decidim sortitions module"
17
- s.description = "This module makes possible to select amont a set of proposal by sortition"
18
-
19
- s.files = Dir.chdir(__dir__) do
20
- `git ls-files -z`.split("\x0").select do |f|
21
- (File.expand_path(f) == __FILE__) ||
22
- f.start_with?(*%w(app/ config/ db/ lib/ Rakefile README.md))
23
- end
24
- end
25
-
26
- s.add_dependency "decidim-admin", Decidim::Sortitions.version
27
- s.add_dependency "decidim-comments", Decidim::Sortitions.version
28
- s.add_dependency "decidim-core", Decidim::Sortitions.version
29
- s.add_dependency "decidim-proposals", Decidim::Sortitions.version
30
-
31
- s.add_development_dependency "decidim-dev", Decidim::Sortitions.version
32
- end
File without changes