From 3df489160ae1493c505b6d2065ebdbdb4acbf66b Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 16 May 2022 15:36:24 +0200 Subject: [PATCH 1/3] Fix missing graphql-ws --- scripts/install | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 0585b26..a6e0cf8 100755 --- a/scripts/install +++ b/scripts/install @@ -192,6 +192,7 @@ pushd "$final_path/live" bundle install ynh_exec_warn_less ynh_exec_as $app env RAILS_ENV=production RACK_ENV=production $ynh_ruby_load_path bin/rails db:migrate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn add rails-ujs + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn add graphql-ws ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean sed -i 's/require "decidim\/rails"/require "decidim\/rails"\nrequire "action_cable\/engine"/' config/application.rb diff --git a/scripts/upgrade b/scripts/upgrade index 02aacd1..87d5a51 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -169,6 +169,7 @@ then ynh_exec_warn_less ynh_exec_as $app env RAILS_ENV=production RACK_ENV=production $ynh_ruby_load_path bin/rails decidim:upgrade ynh_exec_warn_less ynh_exec_as $app env RAILS_ENV=production RACK_ENV=production $ynh_ruby_load_path bin/rails db:migrate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn add rails-ujs + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn add graphql-ws ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean ynh_exec_warn_less ynh_exec_as $app env RAILS_ENV=production RACK_ENV=production $ynh_ruby_load_path bin/rails assets:precompile From db38abee8bf0487c725a9510ee83d6bbdeb89d2f Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 20 May 2022 20:34:29 +0200 Subject: [PATCH 2/3] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 619296b..ea97540 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "description": { "en": "Participatory democracy framework," }, - "version": "0.26.1~ynh1", + "version": "0.26.1~ynh2", "url": "https://decidim.org/", "upstream": { "license": "AGPL-3.0-or-later", From df91f4438a9d544caabdae77df7eaa5a3521f282 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 20 May 2022 18:34:33 +0000 Subject: [PATCH 3/3] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9248b65..0f5fc8f 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Decidim is a participatory democracy framework, written in Ruby on Rails, originally developed for the Barcelona City government online and offline participation website. Installing these libraries will provide you a generator and gems to help you develop web applications -**Shipped version:** 0.26.1~ynh1 +**Shipped version:** 0.26.1~ynh2 **Demo:** https://decidim.org/demo/ diff --git a/README_fr.md b/README_fr.md index 744aa08..4eef023 100644 --- a/README_fr.md +++ b/README_fr.md @@ -14,7 +14,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Decidim is a participatory democracy framework, written in Ruby on Rails, originally developed for the Barcelona City government online and offline participation website. Installing these libraries will provide you a generator and gems to help you develop web applications -**Version incluse :** 0.26.1~ynh1 +**Version incluse :** 0.26.1~ynh2 **Démo :** https://decidim.org/demo/