decidim-pages 0.27.6 → 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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/pages/copy_page.rb +1 -1
  3. data/app/models/decidim/pages/page.rb +1 -1
  4. data/app/presenters/decidim/pages/admin_log/page_presenter.rb +2 -2
  5. data/app/views/decidim/pages/admin/pages/_form.html.erb +6 -7
  6. data/app/views/decidim/pages/admin/pages/edit.html.erb +18 -5
  7. data/app/views/decidim/pages/application/show.html.erb +19 -9
  8. data/config/locales/ar.yml +0 -5
  9. data/config/locales/bg.yml +0 -5
  10. data/config/locales/ca.yml +2 -5
  11. data/config/locales/cs.yml +2 -5
  12. data/config/locales/de.yml +2 -5
  13. data/config/locales/el.yml +0 -5
  14. data/config/locales/en.yml +2 -5
  15. data/config/locales/es-MX.yml +2 -5
  16. data/config/locales/es-PY.yml +2 -5
  17. data/config/locales/es.yml +2 -5
  18. data/config/locales/eu.yml +2 -5
  19. data/config/locales/fi-plain.yml +0 -5
  20. data/config/locales/fi.yml +0 -5
  21. data/config/locales/fr-CA.yml +2 -5
  22. data/config/locales/fr.yml +2 -5
  23. data/config/locales/ga-IE.yml +0 -3
  24. data/config/locales/gl.yml +0 -3
  25. data/config/locales/hu.yml +0 -5
  26. data/config/locales/it.yml +0 -3
  27. data/config/locales/ja.yml +0 -5
  28. data/config/locales/lb.yml +0 -3
  29. data/config/locales/lt.yml +0 -5
  30. data/config/locales/nl.yml +0 -3
  31. data/config/locales/no.yml +0 -3
  32. data/config/locales/pl.yml +0 -5
  33. data/config/locales/pt-BR.yml +0 -5
  34. data/config/locales/pt.yml +0 -3
  35. data/config/locales/ro-RO.yml +0 -5
  36. data/config/locales/sv.yml +0 -3
  37. data/config/locales/zh-TW.yml +0 -5
  38. data/lib/decidim/pages/component.rb +6 -17
  39. data/lib/decidim/pages/seeds.rb +31 -0
  40. data/lib/decidim/pages/version.rb +1 -1
  41. metadata +24 -20
  42. data/config/locales/he-IL.yml +0 -1
  43. data/decidim-pages.gemspec +0 -32
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc7ff092bc2f1f0f7820c6661cbc00d60ee685917138f59492db1c3c265218a8
4
- data.tar.gz: 6f50a5c073bf56769f150dc3ccdb99bf23103792903d00c9e65f7ebb8cc01fc9
3
+ metadata.gz: 59abdbaabc0480482f41c08baa2ed42ab06c6712929f72181ae76f3afaac29a0
4
+ data.tar.gz: 85e8038802d058d366e32d602e611044e89eb3f5339e5ef14a413ddfda97ba40
5
5
  SHA512:
6
- metadata.gz: 0a83f8ca3fc615dead5562ef84edddbe2b5324bfc9b118da99c6b215cd925a137bd6782196602e480d19d4b01bc22d977e3e909175a160930d9b9c0f1c0e166b
7
- data.tar.gz: a7086dd51c94e912f6a6d983ae2898d85cf69d3630aad6ff7cc5eb7e00b879365626d6e06c323e3ffda7ab2f29f9691fe9f21599a3d13a3a8925b36126c83fc9
6
+ metadata.gz: 3d9adb6cc3ee453dbada76a8912d53e7ba5a9fb224f7af7f275aa91bb5d508154194ffc0ef347f6e243fe52aaceb8bd5dbfb75bf2766d121df0c7349a5621f19
7
+ data.tar.gz: d2ec470a42b46030dfa9b7700a20efe672f971b4e4c562c00da8f924b4e82a8073ed47bfa381e39a9fe4153150aa3868340ad4b99132dc672928e8482c56e216
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  module Pages
5
5
  # Command that gets called whenever a component's page has to be duplicated.
6
- # It's need a context with the old component that
6
+ # It is need a context with the old component that
7
7
  # is going to be duplicated on the new one
8
8
  class CopyPage < Decidim::Command
9
9
  def initialize(context)
@@ -19,7 +19,7 @@ module Decidim
19
19
  Decidim::Pages::AdminLog::PagePresenter
20
20
  end
21
21
 
22
- # Public: Pages doesn't have title so we assign the component one to it.
22
+ # Public: Pages do not have title so we assign the component one to it.
23
23
  def title
24
24
  component.name
25
25
  end
@@ -6,8 +6,8 @@ module Decidim
6
6
  # This class holds the logic to present a `Decidim::Page`
7
7
  # for the `AdminLog` log.
8
8
  #
9
- # Usage should be automatic and you shouldn't need to call this class
10
- # directly, but here's an example:
9
+ # Usage should be automatic and you should not need to call this class
10
+ # directly, but here is an example:
11
11
  #
12
12
  # action_log = Decidim::ActionLog.last
13
13
  # view_helpers # => this comes from the views
@@ -1,10 +1,9 @@
1
- <div class="card">
2
- <div class="card-divider">
3
- <h2 class="card-title"><%= title %></h2>
4
- </div>
5
- <div class="card-section">
6
- <div class="row column">
7
- <%= form.translated :editor, :body, lines: 30, label: t("models.components.body", scope: "decidim.pages.admin") %>
1
+ <div class="form__wrapper">
2
+ <div class="card pt-4">
3
+ <div class="card-section">
4
+ <div class="row column">
5
+ <%= form.translated :editor, :body, lines: 30, label: t("models.components.body", scope: "decidim.pages.admin") %>
6
+ </div>
8
7
  </div>
9
8
  </div>
10
9
  </div>
@@ -1,8 +1,21 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
- <%= decidim_form_for(@form, url: page_path, method: :post, html: { class: "form edit_page" }) do |form| %>
3
- <%= render partial: "form", object: form, locals: { title: t(".title") } %>
2
+ <div class="item_show__header">
3
+ <h2 class="item_show__header-title">
4
+ <%= t(".title") %>
5
+ <%= render partial: "decidim/admin/components/resource_action" %>
6
+ </h2>
7
+ </div>
4
8
 
5
- <div class="button--double form-general-submit">
6
- <%= form.submit t(".save") %>
9
+ <div class="item__edit item__edit-1col">
10
+ <div class="item__edit-form">
11
+ <%= decidim_form_for(@form, url: page_path, method: :post, html: { class: "form-defaults form edit_page" }) do |form| %>
12
+ <%= render partial: "form", object: form %>
13
+
14
+ <div class="item__edit-sticky">
15
+ <div class="item__edit-sticky-container">
16
+ <%= form.submit t(".save"), class: "button button__sm button__secondary" %>
17
+ </div>
18
+ </div>
19
+ <% end %>
7
20
  </div>
8
- <% end %>
21
+ </div>
@@ -1,15 +1,25 @@
1
+ <% add_decidim_page_title(translated_attribute(@page.title)) %>
1
2
  <% add_decidim_meta_tags({
2
- description: translated_attribute(@page.body),
3
- }) %>
3
+ description: translated_attribute(@page.body)
4
+ }) %>
4
5
 
5
- <%= render partial: "decidim/shared/component_announcement" %>
6
+ <%= render layout:"layouts/decidim/shared/layout_center" do %>
7
+ <div class="py-12 space-y-12">
6
8
 
7
- <div class="row column">
8
- <div class="row">
9
- <div class="columns medium-7 mediumlarge-8">
10
- <div class="section">
9
+ <div class="text-center">
10
+ <h1 class="h1 decorator inline-block text-left">
11
+ <%= translated_attribute(@page.title) %>
12
+ </h1>
13
+ </div>
14
+
15
+ <%= render partial: "decidim/shared/component_announcement" %>
16
+
17
+ <div class="editor-content">
18
+ <% if translated_attribute(@page.body).empty? || translated_attribute(@page.body) == "<p></p>" %>
19
+ <%= cell("decidim/announcement", t("empty", scope: "decidim.pages.show")) %>
20
+ <% else %>
11
21
  <%= decidim_sanitize_editor_admin translated_attribute(@page.body) %>
12
- </div>
22
+ <% end %>
13
23
  </div>
14
24
  </div>
15
- </div>
25
+ <% end %>
@@ -33,8 +33,3 @@ ar:
33
33
  update:
34
34
  invalid: حدثت مشكلة أثناء حفظ الصفحة.
35
35
  success: تم حفظ الصفحة بنجاح.
36
- home:
37
- hero:
38
- participate_title: المشاركة في مسارات المنصة
39
- sub_hero:
40
- register_title: قم بالتسجيل لإنشاء حساب
@@ -29,8 +29,3 @@ bg:
29
29
  update:
30
30
  invalid: Възникна проблем при запазване на страницата.
31
31
  success: Страницата е успешно съхранена.
32
- home:
33
- hero:
34
- participate_title: Участвайте в процесите на платформата
35
- sub_hero:
36
- register_title: Регистрирайте се, за да си създадете акаунт
@@ -29,8 +29,5 @@ ca:
29
29
  update:
30
30
  invalid: S'ha produït un error en desar la pàgina.
31
31
  success: Pàgina desada correctament.
32
- home:
33
- hero:
34
- participate_title: Participa en els processos de la plataforma
35
- sub_hero:
36
- register_title: Registra't per tenir un compte
32
+ show:
33
+ empty: No hi ha contingut encara en aquesta pàgina.
@@ -31,8 +31,5 @@ cs:
31
31
  update:
32
32
  invalid: Při ukládání stránky došlo k chybám.
33
33
  success: Stránka byla úspěšně uložena.
34
- home:
35
- hero:
36
- participate_title: Účast na procesech platformy
37
- sub_hero:
38
- register_title: Zaregistrujte se pro vytvoření účtu
34
+ show:
35
+ empty: Na této stránce zatím není žádný obsah.
@@ -29,8 +29,5 @@ de:
29
29
  update:
30
30
  invalid: Beim Speichern der Seite sind Fehler aufgetreten.
31
31
  success: Seite erfolgreich gespeichert
32
- home:
33
- hero:
34
- participate_title: Beteiligen Sie sich an den Prozessen auf dieser Plattform
35
- sub_hero:
36
- register_title: Registrieren
32
+ show:
33
+ empty: Es gibt noch keine Inhalte auf dieser Seite.
@@ -29,8 +29,3 @@ el:
29
29
  update:
30
30
  invalid: Υπήρξε ένα πρόβλημα κατά την αποθήκευση της σελίδας.
31
31
  success: Η σελίδα αποθηκεύτηκε με επιτυχία.
32
- home:
33
- hero:
34
- participate_title: Συμμετάσχετε στις διαδικασίες της πλατφόρμας
35
- sub_hero:
36
- register_title: Εγγραφείτε για να δημιουργήσετε ένα λογαριασμό
@@ -29,8 +29,5 @@ en:
29
29
  update:
30
30
  invalid: There was a problem saving the page.
31
31
  success: Page successfully saved.
32
- home:
33
- hero:
34
- participate_title: Participate in the platform's processes
35
- sub_hero:
36
- register_title: Sign up to create an account
32
+ show:
33
+ empty: There are no contents in this page yet.
@@ -29,8 +29,5 @@ es-MX:
29
29
  update:
30
30
  invalid: Ha habido errores al guardar la página.
31
31
  success: Página guardada correctamente.
32
- home:
33
- hero:
34
- participate_title: Participa en los procesos de la plataforma
35
- sub_hero:
36
- register_title: Regístrate para tener una cuenta
32
+ show:
33
+ empty: Todavía no hay ningún contenido en esta página.
@@ -29,8 +29,5 @@ es-PY:
29
29
  update:
30
30
  invalid: Ha habido errores al guardar la página.
31
31
  success: Página guardada correctamente.
32
- home:
33
- hero:
34
- participate_title: Participa en los procesos de la plataforma
35
- sub_hero:
36
- register_title: Regístrate para tener una cuenta
32
+ show:
33
+ empty: Todavía no hay ningún contenido en esta página.
@@ -29,8 +29,5 @@ es:
29
29
  update:
30
30
  invalid: Se ha producido un error al guardar la página.
31
31
  success: Página guardada correctamente.
32
- home:
33
- hero:
34
- participate_title: Participa en los procesos de la plataforma
35
- sub_hero:
36
- register_title: Regístrate para tener una cuenta
32
+ show:
33
+ empty: Todavía no hay ningún contenido en esta página.
@@ -29,8 +29,5 @@ eu:
29
29
  update:
30
30
  invalid: Arazo bat egon da argitalpena gordetzean.
31
31
  success: Orria zuzen gorde da.
32
- home:
33
- hero:
34
- participate_title: Hartu parte plataformako prozesuetan
35
- sub_hero:
36
- register_title: Erregistratu kontu bat edukitzeko
32
+ show:
33
+ empty: Oraindik ez dago edukirik webgune honetan.
@@ -29,8 +29,3 @@ fi-pl:
29
29
  update:
30
30
  invalid: Sivun tallennuksessa tapahtui virheitä.
31
31
  success: Sivu tallennettu onnistuneesti.
32
- home:
33
- hero:
34
- participate_title: Osallistu alustan prosesseihin
35
- sub_hero:
36
- register_title: Luo oma tili alustalle
@@ -29,8 +29,3 @@ fi:
29
29
  update:
30
30
  invalid: Sivun tallennus epäonnistui.
31
31
  success: Sivun tallentaminen onnistui.
32
- home:
33
- hero:
34
- participate_title: Osallistu alustan prosesseihin
35
- sub_hero:
36
- register_title: Luo oma tili alustalle
@@ -29,8 +29,5 @@ fr-CA:
29
29
  update:
30
30
  invalid: Erreurs lors de la sauvegarde de la page.
31
31
  success: Page enregistrée avec succès.
32
- home:
33
- hero:
34
- participate_title: Participer aux concertations de la plateforme
35
- sub_hero:
36
- register_title: Inscrivez-vous pour créer un compte
32
+ show:
33
+ empty: Il n'y a pas encore de contenu dans cette page.
@@ -29,8 +29,5 @@ fr:
29
29
  update:
30
30
  invalid: Erreurs lors de la sauvegarde de la page.
31
31
  success: Page enregistrée avec succès.
32
- home:
33
- hero:
34
- participate_title: Participer aux concertations de la plateforme
35
- sub_hero:
36
- register_title: Inscrivez-vous pour créer un compte
32
+ show:
33
+ empty: Il n'y a pas encore de contenu dans cette page.
@@ -12,6 +12,3 @@ ga:
12
12
  pages:
13
13
  edit:
14
14
  save: Nuashonraigh
15
- home:
16
- sub_hero:
17
- register_title: Cláraigh le cuntas a chruthú
@@ -29,6 +29,3 @@ gl:
29
29
  update:
30
30
  invalid: Produciuse un erro ao gardar a páxina.
31
31
  success: A páxina gardouse correctamente.
32
- home:
33
- sub_hero:
34
- register_title: Rexistrarse para crear unha conta
@@ -29,8 +29,3 @@ hu:
29
29
  update:
30
30
  invalid: Hiba történt az oldal mentése során.
31
31
  success: Oldal mentése sikeres.
32
- home:
33
- hero:
34
- participate_title: Részvétel a platform folyamataiban
35
- sub_hero:
36
- register_title: A fiók létrehozásához iratkozz fel
@@ -29,6 +29,3 @@ it:
29
29
  update:
30
30
  invalid: C'è stato un errore durante il salvataggio della pagina.
31
31
  success: La pagina è stata salvata correttamente.
32
- home:
33
- sub_hero:
34
- register_title: Registrati e crea un account
@@ -28,8 +28,3 @@ ja:
28
28
  update:
29
29
  invalid: ページの保存中に問題が発生しました。
30
30
  success: ページを保存しました。
31
- home:
32
- hero:
33
- participate_title: プラットフォームのプロセスに参加する
34
- sub_hero:
35
- register_title: サインアップしてアカウントを作成
@@ -29,6 +29,3 @@ lb:
29
29
  update:
30
30
  invalid: Beim Speichern der Seite sind Fehler aufgetreten.
31
31
  success: Seite erfolgreich gespeichert
32
- home:
33
- sub_hero:
34
- register_title: Registrieren
@@ -31,8 +31,3 @@ lt:
31
31
  update:
32
32
  invalid: Išsaugant šį puslapį iškilo problema.
33
33
  success: Puslapis išsaugotas.
34
- home:
35
- hero:
36
- participate_title: Dalyvauti platformos procesuose
37
- sub_hero:
38
- register_title: Užsiregistruokite norėdami susikurti paskyrą
@@ -29,6 +29,3 @@ nl:
29
29
  update:
30
30
  invalid: Er zijn fouten opgetreden bij het opslaan van de pagina.
31
31
  success: Pagina is succesvol opgeslagen.
32
- home:
33
- sub_hero:
34
- register_title: Meld je aan voor een account
@@ -29,6 +29,3 @@
29
29
  update:
30
30
  invalid: Det oppsto et problem med å lagre denne siden.
31
31
  success: Siden ble lagret.
32
- home:
33
- sub_hero:
34
- register_title: Registrer deg for å opprette en konto
@@ -31,8 +31,3 @@ pl:
31
31
  update:
32
32
  invalid: Podczas zapisywania strony wystąpił błąd.
33
33
  success: Strona została zapisana.
34
- home:
35
- hero:
36
- participate_title: Weź udział w procesach platformy
37
- sub_hero:
38
- register_title: Zarejestruj się, aby utworzyć konto
@@ -29,8 +29,3 @@ pt-BR:
29
29
  update:
30
30
  invalid: Ocorreu erros ao salvar a página.
31
31
  success: Página salva com sucesso.
32
- home:
33
- hero:
34
- participate_title: Participe dos processos da plataforma
35
- sub_hero:
36
- register_title: Cadastre-se para criar uma conta
@@ -29,6 +29,3 @@ pt:
29
29
  update:
30
30
  invalid: Ocorreu um problema ao guardar a página.
31
31
  success: Pagina guardada com êxito.
32
- home:
33
- sub_hero:
34
- register_title: Registre para criar conta
@@ -30,8 +30,3 @@ ro:
30
30
  update:
31
31
  invalid: A apărut o eroare la salvarea paginii.
32
32
  success: Pagina a fost salvată cu succes.
33
- home:
34
- hero:
35
- participate_title: Participă la procesele platformei
36
- sub_hero:
37
- register_title: Înregistrează-te pentru a crea un cont
@@ -29,6 +29,3 @@ sv:
29
29
  update:
30
30
  invalid: Det gick inte att spara sidan.
31
31
  success: Sidan sparades framgångsrikt.
32
- home:
33
- sub_hero:
34
- register_title: Skapa ett konto
@@ -28,8 +28,3 @@ zh-TW:
28
28
  update:
29
29
  invalid: 保存頁面時出現問題
30
30
  success: 頁面保存成功
31
- home:
32
- hero:
33
- participate_title: 參與平台的流程
34
- sub_hero:
35
- register_title: 註冊以創建帳戶
@@ -1,11 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "decidim/components/namer"
4
-
5
3
  Decidim.register_component(:pages) do |component|
6
4
  component.engine = Decidim::Pages::Engine
7
5
  component.admin_engine = Decidim::Pages::AdminEngine
8
6
  component.icon = "media/images/decidim_pages.svg"
7
+ component.icon_key = "pages-line"
9
8
  component.serializes_specific_data = true
10
9
  component.specific_data_serializer_class_name = "Decidim::Pages::DataSerializer"
11
10
  component.specific_data_importer_class_name = "Decidim::Pages::DataImporter"
@@ -15,19 +14,19 @@ Decidim.register_component(:pages) do |component|
15
14
 
16
15
  component.on(:create) do |instance|
17
16
  Decidim::Pages::CreatePage.call(instance) do
18
- on(:invalid) { raise "Can't create page" }
17
+ on(:invalid) { raise "Cannot create page" }
19
18
  end
20
19
  end
21
20
 
22
21
  component.on(:destroy) do |instance|
23
22
  Decidim::Pages::DestroyPage.call(instance) do
24
- on(:error) { raise "Can't destroy page" }
23
+ on(:error) { raise "Cannot destroy page" }
25
24
  end
26
25
  end
27
26
 
28
27
  component.on(:copy) do |context|
29
28
  Decidim::Pages::CopyPage.call(context) do
30
- on(:invalid) { raise "Can't duplicate page" }
29
+ on(:invalid) { raise "Cannot duplicate page" }
31
30
  end
32
31
  end
33
32
 
@@ -51,18 +50,8 @@ Decidim.register_component(:pages) do |component|
51
50
  end
52
51
 
53
52
  component.seeds do |participatory_space|
54
- component = Decidim::Component.create!(
55
- name: Decidim::Components::Namer.new(participatory_space.organization.available_locales, :pages).i18n_name,
56
- manifest_name: :pages,
57
- published_at: Time.current,
58
- participatory_space: participatory_space
59
- )
53
+ require "decidim/pages/seeds"
60
54
 
61
- Decidim::Pages::Page.create!(
62
- component: component,
63
- body: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
64
- Decidim::Faker::Localized.paragraph(sentence_count: 3)
65
- end
66
- )
55
+ Decidim::Pages::Seeds.new(participatory_space:).call
67
56
  end
68
57
  end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "decidim/components/namer"
4
+
5
+ module Decidim
6
+ module Pages
7
+ class Seeds
8
+ attr_reader :participatory_space
9
+
10
+ def initialize(participatory_space:)
11
+ @participatory_space = participatory_space
12
+ end
13
+
14
+ def call
15
+ component = Decidim::Component.create!(
16
+ name: Decidim::Components::Namer.new(participatory_space.organization.available_locales, :pages).i18n_name,
17
+ manifest_name: :pages,
18
+ published_at: Time.current,
19
+ participatory_space:
20
+ )
21
+
22
+ Decidim::Pages::Page.create!(
23
+ component:,
24
+ body: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
25
+ Decidim::Faker::Localized.paragraph(sentence_count: 3)
26
+ end
27
+ )
28
+ end
29
+ end
30
+ end
31
+ end
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-pages version.
5
5
  module Pages
6
6
  def self.version
7
- "0.27.6"
7
+ "0.28.0.rc4"
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-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.6
4
+ version: 0.28.0.rc4
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: 2024-04-30 00:00:00.000000000 Z
13
+ date: 2023-12-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,42 +18,42 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.27.6
21
+ version: 0.28.0.rc4
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.6
28
+ version: 0.28.0.rc4
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-dev
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.27.6
35
+ version: 0.28.0.rc4
36
36
  type: :development
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.6
42
+ version: 0.28.0.rc4
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: decidim-participatory_processes
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.27.6
49
+ version: 0.28.0.rc4
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 0.27.6
56
+ version: 0.28.0.rc4
57
57
  description: A pages component for decidim's participatory processes.
58
58
  email:
59
59
  - josepjaume@gmail.com
@@ -118,7 +118,6 @@ files:
118
118
  - config/locales/ga-IE.yml
119
119
  - config/locales/gl.yml
120
120
  - config/locales/gn-PY.yml
121
- - config/locales/he-IL.yml
122
121
  - config/locales/hr-HR.yml
123
122
  - config/locales/hr.yml
124
123
  - config/locales/hu.yml
@@ -171,7 +170,6 @@ files:
171
170
  - db/migrate/20170110145040_remove_commentable_flag_from_pages.rb
172
171
  - db/migrate/20170220091402_remove_page_feature_titles.rb
173
172
  - db/migrate/20180305133658_rename_features_to_components_at_pages.rb
174
- - decidim-pages.gemspec
175
173
  - lib/decidim/api/page_type.rb
176
174
  - lib/decidim/api/pages_type.rb
177
175
  - lib/decidim/pages.rb
@@ -180,28 +178,34 @@ files:
180
178
  - lib/decidim/pages/api.rb
181
179
  - lib/decidim/pages/component.rb
182
180
  - lib/decidim/pages/engine.rb
181
+ - lib/decidim/pages/seeds.rb
183
182
  - lib/decidim/pages/version.rb
184
- homepage: https://github.com/decidim/decidim
183
+ homepage: https://decidim.org
185
184
  licenses:
186
185
  - AGPL-3.0
187
- metadata: {}
188
- post_install_message:
186
+ metadata:
187
+ bug_tracker_uri: https://github.com/decidim/decidim/issues
188
+ documentation_uri: https://docs.decidim.org/
189
+ funding_uri: https://opencollective.com/decidim
190
+ homepage_uri: https://decidim.org
191
+ source_code_uri: https://github.com/decidim/decidim
192
+ post_install_message:
189
193
  rdoc_options: []
190
194
  require_paths:
191
195
  - lib
192
196
  required_ruby_version: !ruby/object:Gem::Requirement
193
197
  requirements:
194
- - - "~>"
198
+ - - ">="
195
199
  - !ruby/object:Gem::Version
196
- version: 3.0.0
200
+ version: '3.1'
197
201
  required_rubygems_version: !ruby/object:Gem::Requirement
198
202
  requirements:
199
- - - ">="
203
+ - - ">"
200
204
  - !ruby/object:Gem::Version
201
- version: '0'
205
+ version: 1.3.1
202
206
  requirements: []
203
- rubygems_version: 3.2.22
204
- signing_key:
207
+ rubygems_version: 3.4.20
208
+ signing_key:
205
209
  specification_version: 4
206
210
  summary: Decidim pages module
207
211
  test_files: []
@@ -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
- # Maintain your gem's version:
6
- require "decidim/pages/version"
7
-
8
- # Describe your gem and declare its dependencies:
9
- Gem::Specification.new do |s|
10
- s.version = Decidim::Pages.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-pages"
18
- s.summary = "Decidim pages module"
19
- s.description = "A pages component for decidim's participatory processes."
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-core", Decidim::Pages.version
29
-
30
- s.add_development_dependency "decidim-dev", Decidim::Pages.version
31
- s.add_development_dependency "decidim-participatory_processes", Decidim::Pages.version
32
- end