decidim-pages 0.27.5 → 0.28.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) 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/ca.yml +2 -5
  10. data/config/locales/cs.yml +2 -5
  11. data/config/locales/de.yml +2 -5
  12. data/config/locales/el.yml +0 -5
  13. data/config/locales/en.yml +2 -5
  14. data/config/locales/es-MX.yml +2 -5
  15. data/config/locales/es-PY.yml +2 -5
  16. data/config/locales/es.yml +2 -5
  17. data/config/locales/eu.yml +2 -5
  18. data/config/locales/fi-plain.yml +0 -5
  19. data/config/locales/fi.yml +0 -5
  20. data/config/locales/fr-CA.yml +2 -5
  21. data/config/locales/fr.yml +2 -5
  22. data/config/locales/gl.yml +0 -3
  23. data/config/locales/hu.yml +0 -5
  24. data/config/locales/it.yml +0 -3
  25. data/config/locales/ja.yml +0 -5
  26. data/config/locales/lb.yml +0 -3
  27. data/config/locales/lt.yml +0 -5
  28. data/config/locales/nl.yml +0 -3
  29. data/config/locales/no.yml +0 -3
  30. data/config/locales/pl.yml +0 -3
  31. data/config/locales/pt-BR.yml +0 -5
  32. data/config/locales/pt.yml +0 -3
  33. data/config/locales/ro-RO.yml +0 -5
  34. data/config/locales/sv.yml +0 -3
  35. data/config/locales/zh-TW.yml +0 -5
  36. data/lib/decidim/pages/component.rb +6 -17
  37. data/lib/decidim/pages/seeds.rb +31 -0
  38. data/lib/decidim/pages/version.rb +1 -1
  39. metadata +20 -15
  40. data/config/environment.rb +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7dac7c5e3b507651aa0f109aee04c896a3907cb28784f7b63fb8a0ab67b7a99
4
- data.tar.gz: 8511cb5b75bfc996c4e82df4888e8e5c97f409b714c0b9e6cd232d94ea9cceef
3
+ metadata.gz: 59abdbaabc0480482f41c08baa2ed42ab06c6712929f72181ae76f3afaac29a0
4
+ data.tar.gz: 85e8038802d058d366e32d602e611044e89eb3f5339e5ef14a413ddfda97ba40
5
5
  SHA512:
6
- metadata.gz: 57f8f6a1e0a1b5435b65dcb16916f3753fbf8af0aa9d8a6dcaccac0ccc1548c6d57ada26a60289d87c080b72e29da43cbff2499610fabd893a4f6aebac5f697f
7
- data.tar.gz: a42cabc8627a3393a980ed35838db6b09381f3644e33919a91237aa3ee4f04b6a3989065cf72dc453ebfc5cf194093b8103ed71621d6286a2bcc4ba0e086a375
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,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.
@@ -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,6 +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
- sub_hero:
36
- 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.5"
7
+ "0.28.0.rc4"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.5
4
+ version: 0.28.0.rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-12-20 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.5
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.5
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.5
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.5
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.5
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.5
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
@@ -86,7 +86,6 @@ files:
86
86
  - app/views/decidim/pages/admin/pages/edit.html.erb
87
87
  - app/views/decidim/pages/application/show.html.erb
88
88
  - config/assets.rb
89
- - config/environment.rb
90
89
  - config/locales/am-ET.yml
91
90
  - config/locales/ar-SA.yml
92
91
  - config/locales/ar.yml
@@ -179,11 +178,17 @@ files:
179
178
  - lib/decidim/pages/api.rb
180
179
  - lib/decidim/pages/component.rb
181
180
  - lib/decidim/pages/engine.rb
181
+ - lib/decidim/pages/seeds.rb
182
182
  - lib/decidim/pages/version.rb
183
- homepage: https://github.com/decidim/decidim
183
+ homepage: https://decidim.org
184
184
  licenses:
185
185
  - AGPL-3.0
186
- metadata: {}
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
187
192
  post_install_message:
188
193
  rdoc_options: []
189
194
  require_paths:
@@ -192,14 +197,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
197
  requirements:
193
198
  - - ">="
194
199
  - !ruby/object:Gem::Version
195
- version: '3.0'
200
+ version: '3.1'
196
201
  required_rubygems_version: !ruby/object:Gem::Requirement
197
202
  requirements:
198
- - - ">="
203
+ - - ">"
199
204
  - !ruby/object:Gem::Version
200
- version: '0'
205
+ version: 1.3.1
201
206
  requirements: []
202
- rubygems_version: 3.4.22
207
+ rubygems_version: 3.4.20
203
208
  signing_key:
204
209
  specification_version: 4
205
210
  summary: Decidim pages module
@@ -1,3 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Empty line for playing nice with tpope/vim-rails