decidim-pages 0.27.9 → 0.28.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/commands/decidim/pages/copy_page.rb +1 -1
- data/app/models/decidim/pages/page.rb +1 -1
- data/app/presenters/decidim/pages/admin_log/page_presenter.rb +2 -2
- data/app/views/decidim/pages/admin/pages/_form.html.erb +6 -7
- data/app/views/decidim/pages/admin/pages/edit.html.erb +18 -5
- data/app/views/decidim/pages/application/show.html.erb +19 -9
- data/config/locales/ar.yml +0 -5
- data/config/locales/bg.yml +0 -5
- data/config/locales/ca.yml +2 -5
- data/config/locales/cs.yml +2 -5
- data/config/locales/de.yml +2 -5
- data/config/locales/el.yml +0 -5
- data/config/locales/en.yml +2 -5
- data/config/locales/es-MX.yml +2 -5
- data/config/locales/es-PY.yml +2 -5
- data/config/locales/es.yml +2 -5
- data/config/locales/eu.yml +2 -5
- data/config/locales/fi-plain.yml +0 -5
- data/config/locales/fi.yml +0 -5
- data/config/locales/fr-CA.yml +2 -5
- data/config/locales/fr.yml +2 -5
- data/config/locales/ga-IE.yml +0 -3
- data/config/locales/gl.yml +0 -3
- data/config/locales/hu.yml +0 -5
- data/config/locales/it.yml +0 -3
- data/config/locales/ja.yml +0 -5
- data/config/locales/lb.yml +0 -3
- data/config/locales/lt.yml +0 -5
- data/config/locales/nl.yml +0 -3
- data/config/locales/no.yml +0 -3
- data/config/locales/pl.yml +0 -5
- data/config/locales/pt-BR.yml +0 -5
- data/config/locales/pt.yml +0 -3
- data/config/locales/ro-RO.yml +0 -5
- data/config/locales/sv.yml +1 -4
- data/config/locales/zh-TW.yml +0 -5
- data/lib/decidim/pages/component.rb +6 -17
- data/lib/decidim/pages/seeds.rb +31 -0
- data/lib/decidim/pages/version.rb +1 -1
- metadata +21 -17
- data/config/locales/he-IL.yml +0 -1
- data/decidim-pages.gemspec +0 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59abdbaabc0480482f41c08baa2ed42ab06c6712929f72181ae76f3afaac29a0
|
4
|
+
data.tar.gz: 85e8038802d058d366e32d602e611044e89eb3f5339e5ef14a413ddfda97ba40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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)
|
@@ -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
|
10
|
-
# directly, but here
|
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="
|
2
|
-
<div class="card-
|
3
|
-
<
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
-
|
3
|
-
|
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
|
-
|
6
|
-
|
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
|
-
|
21
|
+
</div>
|
@@ -1,15 +1,25 @@
|
|
1
|
+
<% add_decidim_page_title(translated_attribute(@page.title)) %>
|
1
2
|
<% add_decidim_meta_tags({
|
2
|
-
|
3
|
-
}) %>
|
3
|
+
description: translated_attribute(@page.body)
|
4
|
+
}) %>
|
4
5
|
|
5
|
-
<%= render
|
6
|
+
<%= render layout:"layouts/decidim/shared/layout_center" do %>
|
7
|
+
<div class="py-12 space-y-12">
|
6
8
|
|
7
|
-
<div class="
|
8
|
-
|
9
|
-
|
10
|
-
|
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
|
-
|
22
|
+
<% end %>
|
13
23
|
</div>
|
14
24
|
</div>
|
15
|
-
|
25
|
+
<% end %>
|
data/config/locales/ar.yml
CHANGED
data/config/locales/bg.yml
CHANGED
@@ -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: Регистрирайте се, за да си създадете акаунт
|
data/config/locales/ca.yml
CHANGED
@@ -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
|
-
|
33
|
-
|
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.
|
data/config/locales/cs.yml
CHANGED
@@ -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
|
-
|
35
|
-
|
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.
|
data/config/locales/de.yml
CHANGED
@@ -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
|
-
|
33
|
-
|
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.
|
data/config/locales/el.yml
CHANGED
@@ -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: Εγγραφείτε για να δημιουργήσετε ένα λογαριασμό
|
data/config/locales/en.yml
CHANGED
@@ -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
|
-
|
33
|
-
|
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.
|
data/config/locales/es-MX.yml
CHANGED
@@ -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
|
-
|
33
|
-
|
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.
|
data/config/locales/es-PY.yml
CHANGED
@@ -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
|
-
|
33
|
-
|
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.
|
data/config/locales/es.yml
CHANGED
@@ -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
|
-
|
33
|
-
|
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.
|
data/config/locales/eu.yml
CHANGED
@@ -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
|
-
|
33
|
-
|
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.
|
data/config/locales/fi-plain.yml
CHANGED
data/config/locales/fi.yml
CHANGED
data/config/locales/fr-CA.yml
CHANGED
@@ -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
|
-
|
33
|
-
|
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.
|
data/config/locales/fr.yml
CHANGED
@@ -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
|
-
|
33
|
-
|
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.
|
data/config/locales/ga-IE.yml
CHANGED
data/config/locales/gl.yml
CHANGED
data/config/locales/hu.yml
CHANGED
data/config/locales/it.yml
CHANGED
data/config/locales/ja.yml
CHANGED
data/config/locales/lb.yml
CHANGED
data/config/locales/lt.yml
CHANGED
data/config/locales/nl.yml
CHANGED
data/config/locales/no.yml
CHANGED
data/config/locales/pl.yml
CHANGED
data/config/locales/pt-BR.yml
CHANGED
data/config/locales/pt.yml
CHANGED
data/config/locales/ro-RO.yml
CHANGED
data/config/locales/sv.yml
CHANGED
data/config/locales/zh-TW.yml
CHANGED
@@ -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 "
|
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 "
|
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 "
|
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
|
-
|
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::
|
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
|
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.
|
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:
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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,27 +178,33 @@ 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://
|
183
|
+
homepage: https://decidim.org
|
185
184
|
licenses:
|
186
185
|
- AGPL-3.0
|
187
|
-
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
|
188
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.
|
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:
|
205
|
+
version: 1.3.1
|
202
206
|
requirements: []
|
203
|
-
rubygems_version: 3.
|
207
|
+
rubygems_version: 3.4.20
|
204
208
|
signing_key:
|
205
209
|
specification_version: 4
|
206
210
|
summary: Decidim pages module
|
data/config/locales/he-IL.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
he:
|
data/decidim-pages.gemspec
DELETED
@@ -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
|