diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 84f0ba3..bef0533 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,6 +44,8 @@ jobs: ruby: 3.0.2 - gemfile: gemfiles/decidim_0.27.gemfile ruby: 2.7.5 + - gemfile: gemfiles/decidim_0.27.gemfile + ruby: 3.0.2 steps: - uses: actions/checkout@v2 with: diff --git a/Gemfile b/Gemfile index f06f4a9..056e666 100644 --- a/Gemfile +++ b/Gemfile @@ -4,8 +4,9 @@ source "https://rubygems.org" ruby RUBY_VERSION -gem "decidim", "~> 0.26.0" +gem "decidim", github: "decidim/decidim", ref: "release/0.26-stable" gem "decidim-custom_proposal_states", path: "." +gem "decidim-elections", github: "decidim/decidim", ref: "release/0.26-stable" gem "bootsnap" gem "uglifier", "~> 4.1" @@ -13,7 +14,7 @@ gem "uglifier", "~> 4.1" group :development, :test do gem "faker" - gem "decidim-dev", "~> 0.26.0" + gem "decidim-dev", github: "decidim/decidim", ref: "release/0.26-stable" gem "rubocop-performance" gem "simplecov", require: false diff --git a/Gemfile.lock b/Gemfile.lock index 7622cba..e7ef016 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,9 +1,191 @@ +GIT + remote: https://github.com/decidim/decidim.git + revision: 7ddd2f6643bd1620b2138779f83208527f05cbf5 + ref: release/0.26-stable + specs: + decidim (0.26.8) + decidim-accountability (= 0.26.8) + decidim-admin (= 0.26.8) + decidim-api (= 0.26.8) + decidim-assemblies (= 0.26.8) + decidim-blogs (= 0.26.8) + decidim-budgets (= 0.26.8) + decidim-comments (= 0.26.8) + decidim-core (= 0.26.8) + decidim-debates (= 0.26.8) + decidim-forms (= 0.26.8) + decidim-generators (= 0.26.8) + decidim-meetings (= 0.26.8) + decidim-pages (= 0.26.8) + decidim-participatory_processes (= 0.26.8) + decidim-proposals (= 0.26.8) + decidim-sortitions (= 0.26.8) + decidim-surveys (= 0.26.8) + decidim-system (= 0.26.8) + decidim-templates (= 0.26.8) + decidim-verifications (= 0.26.8) + decidim-accountability (0.26.8) + decidim-comments (= 0.26.8) + decidim-core (= 0.26.8) + decidim-admin (0.26.8) + active_link_to (~> 1.0) + decidim-core (= 0.26.8) + devise (~> 4.7) + devise-i18n (~> 1.2) + devise_invitable (~> 2.0, >= 2.0.9) + decidim-api (0.26.8) + graphql (~> 1.12, < 1.13) + rack-cors (~> 1.0) + redcarpet (~> 3.5, >= 3.5.1) + decidim-assemblies (0.26.8) + decidim-core (= 0.26.8) + decidim-blogs (0.26.8) + decidim-admin (= 0.26.8) + decidim-comments (= 0.26.8) + decidim-core (= 0.26.8) + decidim-budgets (0.26.8) + decidim-comments (= 0.26.8) + decidim-core (= 0.26.8) + decidim-comments (0.26.8) + decidim-core (= 0.26.8) + redcarpet (~> 3.5, >= 3.5.1) + decidim-core (0.26.8) + active_link_to (~> 1.0) + acts_as_list (~> 0.9) + batch-loader (~> 1.2) + browser (~> 2.7) + carrierwave (~> 2.2.1) + cells-erb (~> 0.1.0) + cells-rails (~> 0.1.3) + charlock_holmes (~> 0.7) + date_validator (~> 0.9.0) + decidim-api (= 0.26.8) + devise (~> 4.7) + devise-i18n (~> 1.2) + diffy (~> 3.3) + doorkeeper (~> 5.1) + doorkeeper-i18n (~> 4.0) + file_validators (~> 2.1) + fog-local (~> 0.6) + foundation_rails_helper + geocoder (~> 1.7.5) + hashdiff (>= 0.4.0, < 2.0.0) + invisible_captcha (~> 0.12) + kaminari (~> 1.2, >= 1.2.1) + loofah (~> 2.3.1) + mime-types (>= 1.16, < 4.0) + mini_magick (~> 4.9) + mustache (~> 1.1.0) + omniauth (~> 2.0) + omniauth-facebook (~> 5.0) + omniauth-google-oauth2 (~> 1.0) + omniauth-rails_csrf_protection (~> 1.0) + omniauth-twitter (~> 1.4) + paper_trail (~> 12.0) + pg (~> 1.1.4, < 2) + pg_search (~> 2.2) + premailer-rails (~> 1.10) + rack (~> 2.2, >= 2.2.3) + rack-attack (~> 6.0) + rails (~> 6.0.4) + rails-i18n (~> 6.0) + ransack (~> 2.4.1) + rectify (~> 0.13.0) + redis (~> 4.1) + request_store (~> 1.5.0) + rubyXL (~> 3.4) + rubyzip (~> 2.0) + searchlight (~> 4.1) + seven_zip_ruby (~> 1.3) + social-share-button (~> 1.2, >= 1.2.1) + valid_email2 (~> 2.1) + webpacker (= 6.0.0.rc.5) + wisper (~> 2.0) + decidim-debates (0.26.8) + decidim-comments (= 0.26.8) + decidim-core (= 0.26.8) + decidim-dev (0.26.8) + axe-core-rspec (~> 4.1.0) + byebug (~> 11.0) + capybara (~> 3.24) + db-query-matchers (~> 0.10.0) + decidim (= 0.26.8) + erb_lint (~> 0.0.35) + factory_bot_rails (~> 4.8) + i18n-tasks (~> 0.9.18) + mdl (~> 0.5) + nokogiri (~> 1.12) + puma (~> 5.0) + rails-controller-testing (~> 1.0) + rspec-cells (~> 0.3.4) + rspec-html-matchers (~> 0.9.1) + rspec-rails (~> 4.0) + rspec-retry (~> 0.6.2) + rspec_junit_formatter (~> 0.3.0) + rubocop (~> 0.92.0) + rubocop-rails (~> 2.8) + rubocop-rspec (= 1.43.2) + selenium-webdriver (~> 3.142) + simplecov (~> 0.19.0) + simplecov-cobertura (~> 1.3.1) + system_test_html_screenshots (~> 0.2) + w3c_rspec_validators (~> 0.3.0) + webmock (~> 3.6) + wisper-rspec (~> 1.0) + decidim-elections (0.26.8) + decidim-bulletin_board (= 0.22.3) + decidim-core (= 0.26.8) + decidim-forms (= 0.26.8) + decidim-proposals (= 0.26.8) + rack-attack (~> 6.0) + voting_schemes-dummy (= 0.22.3) + voting_schemes-electionguard (= 0.22.3) + decidim-forms (0.26.8) + decidim-core (= 0.26.8) + wicked_pdf (~> 2.1) + wkhtmltopdf-binary (~> 0.12) + decidim-generators (0.26.8) + decidim-core (= 0.26.8) + decidim-meetings (0.26.8) + decidim-core (= 0.26.8) + decidim-forms (= 0.26.8) + icalendar (~> 2.5) + decidim-pages (0.26.8) + decidim-core (= 0.26.8) + decidim-participatory_processes (0.26.8) + decidim-core (= 0.26.8) + decidim-proposals (0.26.8) + decidim-comments (= 0.26.8) + decidim-core (= 0.26.8) + doc2text (~> 0.4.4) + redcarpet (~> 3.5, >= 3.5.1) + decidim-sortitions (0.26.8) + decidim-admin (= 0.26.8) + decidim-comments (= 0.26.8) + decidim-core (= 0.26.8) + decidim-proposals (= 0.26.8) + decidim-surveys (0.26.8) + decidim-core (= 0.26.8) + decidim-forms (= 0.26.8) + decidim-templates (= 0.26.8) + decidim-system (0.26.8) + active_link_to (~> 1.0) + decidim-core (= 0.26.8) + devise (~> 4.7) + devise-i18n (~> 1.2) + devise_invitable (~> 2.0, >= 2.0.9) + decidim-templates (0.26.8) + decidim-core (= 0.26.8) + decidim-forms (= 0.26.8) + decidim-verifications (0.26.8) + decidim-core (= 0.26.8) + PATH remote: . specs: decidim-custom_proposal_states (0.26.8) - decidim-core (~> 0.26.0) - decidim-proposals (~> 0.26.0) + decidim-core (>= 0.26.0, < 0.28.0) + decidim-proposals (>= 0.26.0, < 0.28.0) GEM remote: https://rubygems.org/ @@ -83,7 +265,7 @@ GEM ice_nine (~> 0.11.0) thread_safe (~> 0.3, >= 0.3.1) batch-loader (1.5.0) - bcrypt (3.1.19) + bcrypt (3.1.20) better_html (1.0.16) actionview (>= 4.0) activesupport (>= 4.0) @@ -107,7 +289,7 @@ GEM rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) - carrierwave (2.2.4) + carrierwave (2.2.5) activemodel (>= 5.0.0) activesupport (>= 5.0.0) addressable (~> 2.6) @@ -145,193 +327,31 @@ GEM crass (1.0.6) css_parser (1.16.0) addressable - date (3.3.3) + date (3.3.4) date_validator (0.9.0) activemodel activesupport db-query-matchers (0.10.0) activesupport (>= 4.0, < 7) rspec (~> 3.0) - decidim (0.26.7) - decidim-accountability (= 0.26.7) - decidim-admin (= 0.26.7) - decidim-api (= 0.26.7) - decidim-assemblies (= 0.26.7) - decidim-blogs (= 0.26.7) - decidim-budgets (= 0.26.7) - decidim-comments (= 0.26.7) - decidim-core (= 0.26.7) - decidim-debates (= 0.26.7) - decidim-forms (= 0.26.7) - decidim-generators (= 0.26.7) - decidim-meetings (= 0.26.7) - decidim-pages (= 0.26.7) - decidim-participatory_processes (= 0.26.7) - decidim-proposals (= 0.26.7) - decidim-sortitions (= 0.26.7) - decidim-surveys (= 0.26.7) - decidim-system (= 0.26.7) - decidim-templates (= 0.26.7) - decidim-verifications (= 0.26.7) - decidim-accountability (0.26.7) - decidim-comments (= 0.26.7) - decidim-core (= 0.26.7) - decidim-admin (0.26.7) - active_link_to (~> 1.0) - decidim-core (= 0.26.7) - devise (~> 4.7) - devise-i18n (~> 1.2) - devise_invitable (~> 2.0) - decidim-api (0.26.7) - graphql (~> 1.12, < 1.13) - rack-cors (~> 1.0) - redcarpet (~> 3.5, >= 3.5.1) - decidim-assemblies (0.26.7) - decidim-core (= 0.26.7) - decidim-blogs (0.26.7) - decidim-admin (= 0.26.7) - decidim-comments (= 0.26.7) - decidim-core (= 0.26.7) - decidim-budgets (0.26.7) - decidim-comments (= 0.26.7) - decidim-core (= 0.26.7) - decidim-comments (0.26.7) - decidim-core (= 0.26.7) - redcarpet (~> 3.5, >= 3.5.1) - decidim-core (0.26.7) - active_link_to (~> 1.0) - acts_as_list (~> 0.9) - batch-loader (~> 1.2) - browser (~> 2.7) - carrierwave (~> 2.2.1) - cells-erb (~> 0.1.0) - cells-rails (~> 0.1.3) - charlock_holmes (~> 0.7) - date_validator (~> 0.9.0) - decidim-api (= 0.26.7) - devise (~> 4.7) - devise-i18n (~> 1.2) - diffy (~> 3.3) - doorkeeper (~> 5.1) - doorkeeper-i18n (~> 4.0) - file_validators (~> 2.1) - fog-local (~> 0.6) - foundation_rails_helper - geocoder (~> 1.7.5) - hashdiff (>= 0.4.0, < 2.0.0) - invisible_captcha (~> 0.12) - kaminari (~> 1.2, >= 1.2.1) - loofah (~> 2.3.1) - mime-types (>= 1.16, < 4.0) - mini_magick (~> 4.9) - mustache (~> 1.1.0) - omniauth (~> 2.0) - omniauth-facebook (~> 5.0) - omniauth-google-oauth2 (~> 1.0) - omniauth-rails_csrf_protection (~> 1.0) - omniauth-twitter (~> 1.4) - paper_trail (~> 12.0) - pg (~> 1.1.4, < 2) - pg_search (~> 2.2) - premailer-rails (~> 1.10) - rack (~> 2.2, >= 2.2.3) - rack-attack (~> 6.0) - rails (~> 6.0.4) - rails-i18n (~> 6.0) - ransack (~> 2.4.1) - rectify (~> 0.13.0) - redis (~> 4.1) - request_store (~> 1.5.0) - rubyXL (~> 3.4) - rubyzip (~> 2.0) - searchlight (~> 4.1) - seven_zip_ruby (~> 1.3) - social-share-button (~> 1.2, >= 1.2.1) - valid_email2 (~> 2.1) - webpacker (= 6.0.0.rc.5) - wisper (~> 2.0) - decidim-debates (0.26.7) - decidim-comments (= 0.26.7) - decidim-core (= 0.26.7) - decidim-dev (0.26.7) - axe-core-rspec (~> 4.1.0) + decidim-bulletin_board (0.22.3) byebug (~> 11.0) - capybara (~> 3.24) - db-query-matchers (~> 0.10.0) - decidim (= 0.26.7) - erb_lint (~> 0.0.35) - factory_bot_rails (~> 4.8) - i18n-tasks (~> 0.9.18) - mdl (~> 0.5) - nokogiri (~> 1.12) - puma (~> 5.0) - rails-controller-testing (~> 1.0) - rspec-cells (~> 0.3.4) - rspec-html-matchers (~> 0.9.1) - rspec-rails (~> 4.0) - rspec-retry (~> 0.6.2) - rspec_junit_formatter (~> 0.3.0) - rubocop (~> 0.92.0) - rubocop-rails (~> 2.8) - rubocop-rspec (= 1.43.2) - selenium-webdriver (~> 3.142) - simplecov (~> 0.19.0) - simplecov-cobertura (~> 1.3.1) - system_test_html_screenshots (~> 0.2) - w3c_rspec_validators (~> 0.3.0) - webmock (~> 3.6) - wisper-rspec (~> 1.0) - decidim-forms (0.26.7) - decidim-core (= 0.26.7) - wicked_pdf (~> 2.1) - wkhtmltopdf-binary (~> 0.12) - decidim-generators (0.26.7) - decidim-core (= 0.26.7) - decidim-meetings (0.26.7) - decidim-core (= 0.26.7) - decidim-forms (= 0.26.7) - icalendar (~> 2.5) - decidim-pages (0.26.7) - decidim-core (= 0.26.7) - decidim-participatory_processes (0.26.7) - decidim-core (= 0.26.7) - decidim-proposals (0.26.7) - decidim-comments (= 0.26.7) - decidim-core (= 0.26.7) - doc2text (~> 0.4.4) - redcarpet (~> 3.5, >= 3.5.1) - decidim-sortitions (0.26.7) - decidim-admin (= 0.26.7) - decidim-comments (= 0.26.7) - decidim-core (= 0.26.7) - decidim-proposals (= 0.26.7) - decidim-surveys (0.26.7) - decidim-core (= 0.26.7) - decidim-forms (= 0.26.7) - decidim-templates (= 0.26.7) - decidim-system (0.26.7) - active_link_to (~> 1.0) - decidim-core (= 0.26.7) - devise (~> 4.7) - devise-i18n (~> 1.2) - devise_invitable (~> 2.0) - decidim-templates (0.26.7) - decidim-core (= 0.26.7) - decidim-forms (= 0.26.7) - decidim-verifications (0.26.7) - decidim-core (= 0.26.7) + graphlient (~> 0.4.0) + jwt (~> 2.2.2) + rails (~> 6.0, >= 5.0.0) + wisper (~> 2.0.0) declarative-builder (0.1.0) declarative-option (< 0.2.0) declarative-option (0.1.0) descendants_tracker (0.0.4) thread_safe (~> 0.3, >= 0.3.1) - devise (4.9.2) + devise (4.9.3) bcrypt (~> 3.0) orm_adapter (~> 0.1) railties (>= 4.1.0) responders warden (~> 1.2.3) - devise-i18n (1.11.0) + devise-i18n (1.12.0) devise (>= 4.9.0) devise_invitable (2.0.9) actionmailer (>= 5.0) @@ -342,7 +362,7 @@ GEM nokogiri (>= 1.13.2, < 1.15.0) rubyzip (~> 2.3.0) docile (1.4.0) - doorkeeper (5.6.6) + doorkeeper (5.6.8) railties (>= 5) doorkeeper-i18n (4.0.1) dumb_delegator (1.0.0) @@ -358,8 +378,8 @@ GEM erbse (0.1.4) temple erubi (1.12.0) - excon (0.103.0) - execjs (2.9.0) + excon (0.105.0) + execjs (2.9.1) factory_bot (4.11.1) activesupport (>= 3.0.0) factory_bot_rails (4.11.1) @@ -367,11 +387,32 @@ GEM railties (>= 3.0.0) faker (3.2.2) i18n (>= 1.8.11, < 2) - faraday (2.7.10) - faraday-net_http (>= 2.0, < 3.1) + faraday (1.10.3) + faraday-em_http (~> 1.0) + faraday-em_synchrony (~> 1.0) + faraday-excon (~> 1.1) + faraday-httpclient (~> 1.0) + faraday-multipart (~> 1.0) + faraday-net_http (~> 1.0) + faraday-net_http_persistent (~> 1.0) + faraday-patron (~> 1.0) + faraday-rack (~> 1.0) + faraday-retry (~> 1.0) ruby2_keywords (>= 0.0.4) - faraday-net_http (3.0.2) - ffi (1.15.5) + faraday-em_http (1.0.0) + faraday-em_synchrony (1.0.0) + faraday-excon (1.1.0) + faraday-httpclient (1.0.1) + faraday-multipart (1.0.4) + multipart-post (~> 2) + faraday-net_http (1.0.1) + faraday-net_http_persistent (1.2.0) + faraday-patron (1.0.0) + faraday-rack (1.0.0) + faraday-retry (1.0.3) + faraday_middleware (1.2.0) + faraday (~> 1.0) + ffi (1.16.3) file_validators (2.3.0) activemodel (>= 3.2) mime-types (>= 1.0) @@ -391,7 +432,14 @@ GEM geocoder (1.7.5) globalid (1.1.0) activesupport (>= 5.0) + graphlient (0.4.0) + faraday (>= 1.0) + faraday_middleware + graphql-client graphql (1.12.24) + graphql-client (0.18.0) + activesupport (>= 3.0) + graphql hashdiff (1.0.1) hashie (5.0.0) highline (2.1.0) @@ -419,7 +467,7 @@ GEM invisible_captcha (0.13.0) rails (>= 3.2.0) json (2.7.0) - jwt (2.7.1) + jwt (2.2.3) kaminari (1.2.2) activesupport (>= 4.1.0) kaminari-actionview (= 1.2.2) @@ -466,7 +514,7 @@ GEM method_source (1.0.0) mime-types (3.5.1) mime-types-data (~> 3.2015) - mime-types-data (3.2023.0808) + mime-types-data (3.2023.1003) mini_magick (4.12.0) mini_mime (1.1.5) minitest (5.20.0) @@ -477,17 +525,18 @@ GEM chef-utils msgpack (1.7.2) multi_xml (0.6.0) + multipart-post (2.3.0) mustache (1.1.1) - net-imap (0.3.7) + net-imap (0.4.7) date net-protocol net-pop (0.1.2) net-protocol - net-protocol (0.2.1) + net-protocol (0.2.2) timeout - net-smtp (0.3.3) + net-smtp (0.4.0) net-protocol - nio4r (2.5.9) + nio4r (2.7.0) nokogiri (1.14.5-x86_64-linux) racc (~> 1.4) oauth (1.1.0) @@ -546,10 +595,10 @@ GEM actionmailer (>= 3) net-smtp premailer (~> 1.7, >= 1.7.9) - public_suffix (5.0.3) + public_suffix (5.0.4) puma (5.6.7) nio4r (~> 2.0) - racc (1.7.1) + racc (1.7.3) rack (2.2.8) rack-attack (6.7.0) rack (>= 1.0, < 4) @@ -596,7 +645,7 @@ GEM rake (>= 0.8.7) thor (>= 0.20.3, < 2.0) rainbow (3.1.1) - rake (13.0.6) + rake (13.1.0) ransack (2.4.2) activerecord (>= 5.2.4) activesupport (>= 5.2.4) @@ -615,7 +664,7 @@ GEM regexp_parser (2.8.2) request_store (1.5.1) rack (>= 1.4) - responders (3.1.0) + responders (3.1.1) actionpack (>= 5.2) railties (>= 5.2) rexml (3.2.6) @@ -674,7 +723,7 @@ GEM rubocop-rspec (1.43.2) rubocop (~> 0.87) ruby-progressbar (1.13.0) - ruby-vips (2.1.4) + ruby-vips (2.2.0) ffi (~> 1.12) ruby2_keywords (0.0.5) rubyXL (3.4.25) @@ -713,13 +762,13 @@ GEM ssrf_filter (1.1.2) system_test_html_screenshots (0.2.0) actionpack (>= 5.2, < 6.1.a) - temple (0.10.2) + temple (0.10.3) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) - thor (1.2.2) + thor (1.3.0) thread_safe (0.3.6) tilt (2.3.0) - timeout (0.4.0) + timeout (0.4.1) tomlrb (2.0.3) tzinfo (1.2.11) thread_safe (~> 0.1) @@ -736,6 +785,10 @@ GEM coercible (~> 1.0) descendants_tracker (~> 0.0, >= 0.0.3) equalizer (~> 0.0, >= 0.0.9) + voting_schemes-dummy (0.22.3) + rails (>= 5.0.0) + voting_schemes-electionguard (0.22.3) + rails (>= 5.0.0) w3c_rspec_validators (0.3.0) rails rspec @@ -770,16 +823,17 @@ GEM wkhtmltopdf-binary (0.12.6.6) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.6.11) + zeitwerk (2.6.12) PLATFORMS x86_64-linux DEPENDENCIES bootsnap - decidim (~> 0.26.0) + decidim! decidim-custom_proposal_states! - decidim-dev (~> 0.26.0) + decidim-dev! + decidim-elections! faker letter_opener_web (~> 1.3) listen (~> 3.1) diff --git a/bin/bundle b/bin/bundle new file mode 100755 index 0000000..dea3524 --- /dev/null +++ b/bin/bundle @@ -0,0 +1,62 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +require "rubygems" + +m = Module.new do + extend self + + def invoked_as_script? + File.expand_path($PROGRAM_NAME) == File.expand_path(__FILE__) + end + + def cli_arg_version + return unless invoked_as_script? # don't want to hijack other binstubs + return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update` + + bundler_version = nil + update_index = nil + ARGV.each_with_index do |a, i| + bundler_version = a if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN + next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/ + + bundler_version = Regexp.last_match(1) || ">= 0.a" + update_index = i + end + bundler_version + end + + def gemfile + File.expand_path("../Gemfile", __dir__) + end + + def lockfile + "#{gemfile}.lock" + end + + def lockfile_version + return unless File.file?(lockfile) + + lockfile_contents = File.read(lockfile) + + regexp = /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/ + + regexp.match(lockfile_contents)[1] + end + + def bundler_version + @bundler_version ||= cli_arg_version || lockfile_version + end + + def load_bundler! + activate_bundler(bundler_version) + end + + def activate_bundler(bundler_version) + gem "bundler", bundler_version + end +end + +m.load_bundler! + +load Gem.bin_path("bundler", "bundle") if m.invoked_as_script? diff --git a/decidim-custom_proposal_states.gemspec b/decidim-custom_proposal_states.gemspec index 604a2ee..ff3e843 100644 --- a/decidim-custom_proposal_states.gemspec +++ b/decidim-custom_proposal_states.gemspec @@ -18,6 +18,11 @@ Gem::Specification.new do |s| s.files = Dir["{app,config,lib}/**/*", "LICENSE-AGPLv3.txt", "Rakefile", "README.md"] - s.add_dependency "decidim-core", "~> 0.26.0" - s.add_dependency "decidim-proposals", "~> 0.26.0" + s.add_dependency "decidim-core", ">= 0.26.0", "< 0.28.0" + s.add_dependency "decidim-proposals", ">= 0.26.0", "< 0.28.0" + s.add_development_dependency "decidim-accountability", ">= 0.26.0", "< 0.28.0" + s.add_development_dependency "decidim-budgets", ">= 0.26.0", "< 0.28.0" + s.add_development_dependency "decidim-dev", ">= 0.26.0", "< 0.28.0" + s.add_development_dependency "decidim-elections", ">= 0.26.0", "< 0.28.0" + s.add_development_dependency "decidim-sortitions", ">= 0.26.0", "< 0.28.0" end diff --git a/gemfiles/decidim_0.26.gemfile b/gemfiles/decidim_0.26.gemfile index 9621d6a..7f46001 100644 --- a/gemfiles/decidim_0.26.gemfile +++ b/gemfiles/decidim_0.26.gemfile @@ -4,8 +4,9 @@ source "https://rubygems.org" ruby RUBY_VERSION -gem "decidim", "~> 0.26.0" +gem "decidim", github: "decidim/decidim", ref: "release/0.26-stable" gem "decidim-custom_proposal_states", path: ".." +gem "decidim-elections", github: "decidim/decidim", ref: "release/0.26-stable" gem "bootsnap" gem "uglifier", "~> 4.1" @@ -13,7 +14,7 @@ gem "uglifier", "~> 4.1" group :development, :test do gem "faker" - gem "decidim-dev", "~> 0.26.0" + gem "decidim-dev", github: "decidim/decidim", ref: "release/0.26-stable" gem "rubocop-performance" gem "simplecov", require: false diff --git a/gemfiles/decidim_0.27.gemfile b/gemfiles/decidim_0.27.gemfile index 9621d6a..83dd0f9 100644 --- a/gemfiles/decidim_0.27.gemfile +++ b/gemfiles/decidim_0.27.gemfile @@ -4,8 +4,9 @@ source "https://rubygems.org" ruby RUBY_VERSION -gem "decidim", "~> 0.26.0" +gem "decidim", "~> 0.27.0" gem "decidim-custom_proposal_states", path: ".." +gem "decidim-elections", "~> 0.27.0" gem "bootsnap" gem "uglifier", "~> 4.1" @@ -13,7 +14,7 @@ gem "uglifier", "~> 4.1" group :development, :test do gem "faker" - gem "decidim-dev", "~> 0.26.0" + gem "decidim-dev", "~> 0.27.0" gem "rubocop-performance" gem "simplecov", require: false