decidim-sortitions 0.28.0 → 0.28.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e6e67f03a182f5fb70ee117309a2fd2410acd70c4fca467f4c2898502b70fc7
4
- data.tar.gz: ad7331af5e82870080a8696e99831e54ff472bf882a49f79f42706dc039c1054
3
+ metadata.gz: fe7075f02df2c278d2e0138dbac38a859359048f9cbb708faf9f40733edeb284
4
+ data.tar.gz: d5f238fe3d11adb3748ef758caa0b6890db4e63a7ae794f5f2fe4a5b19e1836e
5
5
  SHA512:
6
- metadata.gz: c5554084c134e82ec1b9ce18f764d0e9599629519619cecd9e5c8b8634275b665c7f1464f24ad62f5610a81dd6866ed2bbac316aef9d03e0358fbe39b9de12b5
7
- data.tar.gz: aa3e427f386178a513f760108e228fe9dc3a4b069fec4cb247de71822203decf13bc09c43f5def616634af18939492e9bd6ececb04650c821519bc7ea48bf683
6
+ metadata.gz: a98b04f77bc12d9fdab7b318fc3c974b061498d9049f7cde25de040ed80c6fb00351f4f4686d06e6d2fc400370e906cbbae5f5847e76119a01b5e33d5ce25fd8
7
+ data.tar.gz: d589c9c2592e5a0161ef9a643e4c2ca205d5a21eb2a04f7927c0a4ce3780f6bf10a7b56eca03abd4838f30f51d9a627e501764d07b0edebb6e8faef8e517f496
@@ -1,9 +1,9 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
 
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title") %>
6
- </h2>
6
+ </h1>
7
7
  </div>
8
8
 
9
9
  <div class="item__edit item__edit-1col">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(translated_attribute(sortition.title)) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t ".title" %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -1,13 +1,13 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="card">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title") %>
6
6
  <% if allowed_to? :create, :sortition %>
7
7
  <%= link_to t("actions.new_sortition", scope: "decidim.sortitions.admin"), new_sortition_path, class: "button button__sm button__secondary" %>
8
8
  <% end %>
9
9
  <%= render partial: "decidim/admin/components/resource_action" %>
10
- </h2>
10
+ </h1>
11
11
  </div>
12
12
  <div class="table-scroll">
13
13
  <table class="table-list">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t ".title" %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -1,9 +1,9 @@
1
1
  <% add_decidim_page_title(translated_attribute(sortition.title)) %>
2
2
  <div class="card" id="sortition">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= decidim_html_escape(translated_attribute(sortition.title)) %>
6
- </h2>
6
+ </h1>
7
7
  </div>
8
8
  <div class="table-scroll">
9
9
  <table class="table-list sortition">
@@ -3,6 +3,138 @@ bg:
3
3
  activemodel:
4
4
  attributes:
5
5
  sortition:
6
- additional_info: Сортиране на информация
6
+ additional_info: Информация за сортировката
7
7
  decidim_category_id: Категории от набора от предложения, в които искате да приложите жребий
8
8
  decidim_proposals_component_id: Предложенията са зададени
9
+ dice: Резултат от хвърлянето на зара. Хвърлете 6-странен зар или потърсете друг произволен начин за генериране на число от 1 до 6 и въведете тук полученото число пред няколко свидетели. Това допринася за качеството и гаранции за случайността на резултата
10
+ target_items: Брой на предложенията, които да бъдат избрани (указва броя на предложенията, които искате да бъдат избрани чрез хвърляне на жребий от групата предложения, които сте избрали по-рано)
11
+ title: Заглавие
12
+ witnesses: Свидетели
13
+ models:
14
+ decidim/sortitions/create_sortition_event: Сортиране
15
+ activerecord:
16
+ models:
17
+ decidim/sortitions/sortition:
18
+ one: Сортиране
19
+ other: Сортирания
20
+ decidim:
21
+ components:
22
+ sortitions:
23
+ actions:
24
+ comment: Коментар
25
+ name: Сортирания
26
+ settings:
27
+ global:
28
+ comments_enabled: Коментарите са разрешени
29
+ comments_max_length: Максимална дължина на коментарите (Оставете 0 за стойност по подразбиране)
30
+ events:
31
+ sortitions:
32
+ sortition_created:
33
+ email_intro: Сортировката „%{resource_title}“ беше добавена към пространството за участие „%{participatory_space_title}“, което следвате.
34
+ email_outro: Получавате това известие, защото следвате "%{participatory_space_title}". Може да премахнете следването чрез предходния линк.
35
+ email_subject: Беше добавена нова сортировка в(ъв) %{participatory_space_title}
36
+ notification_title: Сортировката <a href="%{resource_path}">%{resource_title}</a> беше добавена в(ъв) %{participatory_space_title}
37
+ sortitions:
38
+ admin:
39
+ actions:
40
+ destroy: Отмяна на сортировката
41
+ edit: Редактирай
42
+ new_sortition: Нова сортировка
43
+ show: Детайли за сортировката
44
+ models:
45
+ sortition:
46
+ fields:
47
+ category: Категория
48
+ created_at: Дата на създаване
49
+ decidim_proposals_component: Компонент Предложения
50
+ dice: Зар
51
+ reference: Препоръка
52
+ request_timestamp: Време за теглене на жребий
53
+ seed: Seed
54
+ target_items: Елементи за селектиране
55
+ title: Заглавие
56
+ sortitions:
57
+ confirm_destroy:
58
+ confirm_destroy: Наистина ли искате да отмените тази сортировка?
59
+ destroy: Отмяна на сортировка
60
+ title: Отменяне на сортировката
61
+ create:
62
+ error: Възникна проблем при създаването на нова сортировка.
63
+ success: Сортировката беше създадена успешно.
64
+ destroy:
65
+ error: Сортировката не може бъде отменена.
66
+ success: Сортировката беше отменена успешно.
67
+ edit:
68
+ title: Актуализирайте информацията за сортировката
69
+ update: Актуализация
70
+ form:
71
+ all_categories: Всички категории
72
+ select_proposal_component: Изберете набора от предложения
73
+ index:
74
+ title: Сортировки
75
+ new:
76
+ confirm: Когато натиснете бутона „Напред“, системата ще запише датата и часа (с точност до секунди) и заедно с хвърлянето на зара тази информация ще се използва за генериране на избор на случаен принцип. Действието няма да може да бъде отменено — когато щракнете върху бутона, резултатът от жребия ще бъде публикуван заедно с въведените в този формуляр данни и няма да подлежи на промяна. Моля, прегледайте съдържанието внимателно.
77
+ create: Създаване
78
+ title: Нова сортировка
79
+ show:
80
+ selected_proposals: Избрани предложения за жребия
81
+ update:
82
+ error: Възникна проблем при актуализирането на сортировката.
83
+ success: Сортировката беше актуализирана успешно.
84
+ admin_log:
85
+ sortition:
86
+ create: "%{user_name} създаде сортировка %{resource_name} в пространството %{space_name}"
87
+ delete: "%{user_name} отмени сортировката %{resource_name} в пространството %{space_name}"
88
+ update: "%{user_name} актуализира сортировката %{resource_name} в пространството %{space_name}"
89
+ sortitions:
90
+ count:
91
+ proposals_count:
92
+ one: 1 предложение
93
+ other: "%{count} предложения"
94
+ filters:
95
+ active: Активно
96
+ all: Всички
97
+ cancelled: Отменено
98
+ category: Категория
99
+ state: Статус
100
+ index:
101
+ empty: Все още няма сортировки.
102
+ linked_sortitions:
103
+ selected_proposals: Избрани предложения
104
+ orders:
105
+ label: 'Подреждане на сортировките по:'
106
+ random: Случаен
107
+ recent: Скорошни
108
+ results_count:
109
+ count:
110
+ one: Избрано предложение
111
+ other: Избрани предложения
112
+ show:
113
+ algorithm: Код на алгоритъма за жребия в сортировката
114
+ any_category: от всички категории
115
+ cancelled: Отменена сортировка
116
+ candidate_proposal_ids: Ред и ID номерата на предложенията в сортировката
117
+ candidate_proposals_info: 'Сортирането беше извършено сред следните предложения (%{category_label}), със следните идентификатори (с удебелен шрифт избраните предложения) '
118
+ category: от категорията %{category}
119
+ dice_result: Резултат от жребия
120
+ introduction: 'Тази страница съдържа резултатите от сортирането %{reference}. Чрез това сортиране, %{target_items} брой резултати са избрани на случаен принцип и с равно вероятностно разпределение от набора от предложения, показани по-долу. Заедно с резултатите, информацията, показана на тази страница, предоставя цялата информация, необходима за максимизиране на гаранциите и за възпроизвеждане на резултатите. Ключът към качеството на това сортиране е двойната случайност, осигурена от хвърлянето на зарове (потвърдено от свидетели) и точното време на сортирането, което осигурява вход за алгоритъм, който генерира случаен избор. Времето за начало за сортирането е толкова точно (секунди), че е невъзможно да се контролира от хора, като по този начин се осигурява двоен „неконтролируем“ вход, за да се гарантира справедлив резултат. '
121
+ mathematical_result: Резулатат (Зарове х Разбъркване)
122
+ proposals_selected_by_sortition: Избрани чрез (жребий) сортировка предложения
123
+ sortition_reproducibility_details: Подробности за възпроизвеждане на сортировката
124
+ time_seed: Време за разбъркване
125
+ witnesses: Свидетели
126
+ sortition:
127
+ random_seed: Случаен подбор
128
+ selected_proposals:
129
+ one: избрано предложение
130
+ other: избрани предложения
131
+ sortition_author:
132
+ deleted: Изтрит участник
133
+ sortition_cancel_author:
134
+ deleted: Изтрит участник
135
+ sortitions_count:
136
+ count:
137
+ one: 1 сортировка
138
+ other: "%{count} сортировки"
139
+ statistics:
140
+ sortitions_count: Сортировки
@@ -31,7 +31,7 @@ ca:
31
31
  sortitions:
32
32
  sortition_created:
33
33
  email_intro: El sorteig "%{resource_title}" s'ha afegit a "%{participatory_space_title}" que segueixes.
34
- email_outro: Has rebut aquesta notificació perquè estàs seguint "%{participatory_space_title}". Pots deixar de seguir-lo des de l'enllaç anterior.
34
+ email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de seguir-lo des de l'enllaç anterior.
35
35
  email_subject: Nou sorteig afegit a %{participatory_space_title}
36
36
  notification_title: El sorteig <a href="%{resource_path}">%{resource_title}</a> s'ha afegit a %{participatory_space_title}
37
37
  sortitions:
@@ -96,7 +96,7 @@ de:
96
96
  all: Alle
97
97
  cancelled: Abgebrochen
98
98
  category: Kategorie
99
- state: Zustand
99
+ state: Status
100
100
  index:
101
101
  empty: Es gibt noch keine Sortierungen.
102
102
  linked_sortitions:
@@ -0,0 +1 @@
1
+ he:
@@ -22,6 +22,8 @@ pl:
22
22
  decidim:
23
23
  components:
24
24
  sortitions:
25
+ actions:
26
+ comment: Skomentuj
25
27
  name: Wybory losowe
26
28
  settings:
27
29
  global:
@@ -39,6 +41,7 @@ pl:
39
41
  actions:
40
42
  destroy: Anuluj wybór losowy
41
43
  edit: Edytuj
44
+ new_sortition: Nowy wybór przez losowanie
42
45
  show: Szczegóły dotyczące wyboru losowego
43
46
  models:
44
47
  sortition:
@@ -59,6 +62,10 @@ pl:
59
62
  title: Anulowanie wyboru losowego
60
63
  create:
61
64
  error: Wystąpił błąd podczas tworzenia nowego wyboru losowego.
65
+ success: Wybór losowy został utworzony.
66
+ destroy:
67
+ error: Nie można anulować wyboru przez losowanie.
68
+ success: Wybór losowy został anulowany.
62
69
  edit:
63
70
  title: Zaktualizuj informacje o wyborze losowym
64
71
  update: Aktualizuj
@@ -68,12 +75,14 @@ pl:
68
75
  index:
69
76
  title: Wybór losowy
70
77
  new:
78
+ confirm: Naciśnięcie przycisku dalej sprawi, że platforma zapisze datę i godzinę (z dokładnością do sekund) wraz z wynikiem rzutu kostką. Informacje te zostaną wykorzystane do dokonania losowego wyboru. Nie można cofnąć tej operacji; po kliknięciu przycisku wynik losowania zostanie opublikowany wraz z danymi wpisanymi w formularzu i nie będzie można modyfikować jego treści. Prosimy o uważne sprawdzenie jego treści.
71
79
  create: Utwórz
72
80
  title: Nowy wybór losowy
73
81
  show:
74
82
  selected_proposals: Propozycje wskazane do losowania
75
83
  update:
76
84
  error: Wystąpił błąd podczas aktualizacji wyboru losowego.
85
+ success: Wybór losowy został zaktualizowany.
77
86
  admin_log:
78
87
  sortition:
79
88
  create: "%{user_name} utworzył(a) wybór losowy %{resource_name} w %{space_name}"
@@ -92,6 +101,8 @@ pl:
92
101
  cancelled: Anulowane
93
102
  category: Kategoria
94
103
  state: Status
104
+ index:
105
+ empty: Nie ma jeszcze żadnych wyborów przez losowanie.
95
106
  linked_sortitions:
96
107
  selected_proposals: Wybrane propozycje
97
108
  orders:
@@ -135,3 +146,5 @@ pl:
135
146
  few: "%{count} wyborów losowych"
136
147
  many: "%{count} wybory losowe"
137
148
  other: "%{count} wybory losowe"
149
+ statistics:
150
+ sortitions_count: Wybory przez losowanie
@@ -11,7 +11,7 @@ pt-BR:
11
11
  title: Título
12
12
  witnesses: Testemunhas
13
13
  models:
14
- decidim/sortitions/create_sortition_event: Sorteio
14
+ decidim/sortitions/create_sortition_event: Classificação
15
15
  activerecord:
16
16
  models:
17
17
  decidim/sortitions/sortition:
@@ -20,6 +20,8 @@ pt-BR:
20
20
  decidim:
21
21
  components:
22
22
  sortitions:
23
+ actions:
24
+ comment: Comentário
23
25
  name: Sorteios
24
26
  settings:
25
27
  global:
@@ -37,6 +39,7 @@ pt-BR:
37
39
  actions:
38
40
  destroy: Cancelar a classificação
39
41
  edit: Editar
42
+ new_sortition: Novo Sorteio
40
43
  show: Detalhes da classificação
41
44
  models:
42
45
  sortition:
@@ -57,6 +60,10 @@ pt-BR:
57
60
  title: Cancelamento da classificação
58
61
  create:
59
62
  error: Ocorreu um erro ao criar uma nova classificação.
63
+ success: Sorteio criado com sucesso.
64
+ destroy:
65
+ error: Não é possível cancelar o sorteio.
66
+ success: Sorteio cancelado com sucesso.
60
67
  edit:
61
68
  title: Atualizar as informações sobre a classificação
62
69
  update: Atualizar
@@ -73,6 +80,7 @@ pt-BR:
73
80
  selected_proposals: Propostas selecionadas para sorteio
74
81
  update:
75
82
  error: Houve um erro ao atualizar a classificação.
83
+ success: Sorteio atualizado com sucesso.
76
84
  admin_log:
77
85
  sortition:
78
86
  create: "%{user_name} criou a classificação %{resource_name} em %{space_name}"
@@ -89,6 +97,8 @@ pt-BR:
89
97
  cancelled: Cancelado
90
98
  category: Categoria
91
99
  state: Estado
100
+ index:
101
+ empty: Ainda não há sorteios ainda.
92
102
  linked_sortitions:
93
103
  selected_proposals: Propostas selecionadas
94
104
  orders:
@@ -89,6 +89,8 @@ tr:
89
89
  cancelled: İptal edildi
90
90
  category: Kategori
91
91
  state: Statü
92
+ index:
93
+ empty: Henüz bir sıralama yok.
92
94
  linked_sortitions:
93
95
  selected_proposals: Seçili teklifler
94
96
  orders:
@@ -0,0 +1,39 @@
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://decidim.org"
13
+ s.metadata = {
14
+ "bug_tracker_uri" => "https://github.com/decidim/decidim/issues",
15
+ "documentation_uri" => "https://docs.decidim.org/",
16
+ "funding_uri" => "https://opencollective.com/decidim",
17
+ "homepage_uri" => "https://decidim.org",
18
+ "source_code_uri" => "https://github.com/decidim/decidim"
19
+ }
20
+ s.required_ruby_version = "~> 3.1.0"
21
+
22
+ s.name = "decidim-sortitions"
23
+ s.summary = "Decidim sortitions module"
24
+ s.description = "This module makes possible to select amont a set of proposal by sortition"
25
+
26
+ s.files = Dir.chdir(__dir__) do
27
+ `git ls-files -z`.split("\x0").select do |f|
28
+ (File.expand_path(f) == __FILE__) ||
29
+ f.start_with?(*%w(app/ config/ db/ lib/ Rakefile README.md))
30
+ end
31
+ end
32
+
33
+ s.add_dependency "decidim-admin", Decidim::Sortitions.version
34
+ s.add_dependency "decidim-comments", Decidim::Sortitions.version
35
+ s.add_dependency "decidim-core", Decidim::Sortitions.version
36
+ s.add_dependency "decidim-proposals", Decidim::Sortitions.version
37
+
38
+ s.add_development_dependency "decidim-dev", Decidim::Sortitions.version
39
+ end
@@ -7,16 +7,22 @@ require "decidim/participatory_processes/test/factories"
7
7
 
8
8
  FactoryBot.define do
9
9
  factory :sortition_component, parent: :component do
10
- name { Decidim::Components::Namer.new(participatory_space.organization.available_locales, :sortitions).i18n_name }
10
+ transient do
11
+ skip_injection { false }
12
+ end
13
+ name { generate_component_name(participatory_space.organization.available_locales, :sortitions, skip_injection:) }
11
14
  manifest_name { :sortitions }
12
- participatory_space { create(:participatory_process, :with_steps, organization:) }
15
+ participatory_space { create(:participatory_process, :with_steps, organization:, skip_injection:) }
13
16
  end
14
17
 
15
18
  factory :sortition, class: "Decidim::Sortitions::Sortition" do
16
- component { create(:sortition_component) }
17
- decidim_proposals_component { create(:proposal_component, organization: component.organization) }
19
+ transient do
20
+ skip_injection { false }
21
+ end
22
+ component { create(:sortition_component, skip_injection:) }
23
+ decidim_proposals_component { create(:proposal_component, organization: component.organization, skip_injection:) }
18
24
 
19
- title { generate_localized_title }
25
+ title { generate_localized_title(:sortition_title, skip_injection:) }
20
26
  author do
21
27
  create(:user, :admin, organization: component.organization) if component
22
28
  end
@@ -24,15 +30,15 @@ FactoryBot.define do
24
30
  dice { Faker::Number.between(from: 1, to: 6).to_i }
25
31
  target_items { Faker::Number.between(from: 1, to: 5).to_i }
26
32
  request_timestamp { Time.now.utc }
27
- witnesses { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_title } }
28
- additional_info { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_title } }
29
- selected_proposals { create_list(:proposal, target_items, component: decidim_proposals_component).pluck(:id) }
33
+ witnesses { generate_localized_description(:sortition_witnesses, skip_injection:) }
34
+ additional_info { generate_localized_description(:sortition_additional_info, skip_injection:) }
35
+ selected_proposals { create_list(:proposal, target_items, component: decidim_proposals_component, skip_injection:).pluck(:id) }
30
36
  candidate_proposals { selected_proposals }
31
37
 
32
38
  trait :cancelled do
33
39
  cancelled_on { Time.now.utc }
34
- cancel_reason { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_title } }
35
- cancelled_by_user { create(:user, :admin, organization: component.organization) if component }
40
+ cancel_reason { generate_localized_description(:sortition_cancel_reason, skip_injection:) }
41
+ cancelled_by_user { create(:user, :admin, organization: component.organization, skip_injection:) if component }
36
42
  end
37
43
  end
38
44
  end
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  module Sortitions
5
5
  def self.version
6
- "0.28.0"
6
+ "0.28.2"
7
7
  end
8
8
  end
9
9
  end
File without changes
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.28.0
4
+ version: 0.28.2
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: 2023-12-20 00:00:00.000000000 Z
11
+ date: 2024-07-16 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.28.0
19
+ version: 0.28.2
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.28.0
26
+ version: 0.28.2
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.28.0
33
+ version: 0.28.2
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.28.0
40
+ version: 0.28.2
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.28.0
47
+ version: 0.28.2
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.28.0
54
+ version: 0.28.2
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.28.0
61
+ version: 0.28.2
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.28.0
68
+ version: 0.28.2
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.28.0
75
+ version: 0.28.2
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.28.0
82
+ version: 0.28.2
83
83
  description: This module makes possible to select amont a set of proposal by sortition
84
84
  email:
85
85
  - jsperezg@gmail.com
@@ -138,7 +138,6 @@ files:
138
138
  - app/views/decidim/sortitions/sortitions/index.js.erb
139
139
  - app/views/decidim/sortitions/sortitions/show.html.erb
140
140
  - config/assets.rb
141
- - config/environment.rb
142
141
  - config/locales/am-ET.yml
143
142
  - config/locales/ar-SA.yml
144
143
  - config/locales/ar.yml
@@ -171,6 +170,7 @@ files:
171
170
  - config/locales/ga-IE.yml
172
171
  - config/locales/gl.yml
173
172
  - config/locales/gn-PY.yml
173
+ - config/locales/he-IL.yml
174
174
  - config/locales/hr-HR.yml
175
175
  - config/locales/hr.yml
176
176
  - config/locales/hu.yml
@@ -234,6 +234,7 @@ files:
234
234
  - db/migrate/20181017110803_make_sortitions_authors_polymorphic.rb
235
235
  - db/migrate/20200320105926_index_foreign_keys_in_decidim_sortitions_sortitions.rb
236
236
  - db/migrate/20200827154036_add_commentable_counter_cache_to_sortitions.rb
237
+ - decidim-sortitions.gemspec
237
238
  - lib/decidim/api/sortition_type.rb
238
239
  - lib/decidim/api/sortitions_type.rb
239
240
  - lib/decidim/sortitions.rb
@@ -245,6 +246,7 @@ files:
245
246
  - lib/decidim/sortitions/seeds.rb
246
247
  - lib/decidim/sortitions/test/factories.rb
247
248
  - lib/decidim/sortitions/version.rb
249
+ - lib/tasks/decidim/.keep
248
250
  homepage: https://decidim.org
249
251
  licenses:
250
252
  - AGPL-3.0
@@ -260,16 +262,16 @@ require_paths:
260
262
  - lib
261
263
  required_ruby_version: !ruby/object:Gem::Requirement
262
264
  requirements:
263
- - - ">="
265
+ - - "~>"
264
266
  - !ruby/object:Gem::Version
265
- version: '3.1'
267
+ version: 3.1.0
266
268
  required_rubygems_version: !ruby/object:Gem::Requirement
267
269
  requirements:
268
270
  - - ">="
269
271
  - !ruby/object:Gem::Version
270
272
  version: '0'
271
273
  requirements: []
272
- rubygems_version: 3.4.22
274
+ rubygems_version: 3.3.7
273
275
  signing_key:
274
276
  specification_version: 4
275
277
  summary: Decidim sortitions module
@@ -1,3 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Empty line for playing nice with tpope/vim-rails