Skip to content

Commit

Permalink
Upgrade to Decidim v0.27 requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
tramuntanal committed Jun 15, 2023
1 parent 709bb1f commit 4acf508
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.5
3.0.2
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog
Current version is defined at `lib/decidim/verify_wo_registration/version.rb`

## Version 0.1.0

- Upgrade min Decidim version to v0.27.
- The rectify gem has been removed from the Decidim v0.27 stack. Thus, also removed from this module.

## Version 0.0.4

- Refactor lib/decidim/verify_wo_registration/version.rb
Expand Down
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source 'https://rubygems.org'

ruby RUBY_VERSION

DECIDIM_VERSION = { git: 'https://github.com/decidim/decidim', branch: "release/0.26-stable" }.freeze
DECIDIM_VERSION = { git: 'https://github.com/decidim/decidim', branch: "release/0.27-stable" }.freeze
gem 'decidim-budgets', DECIDIM_VERSION
gem 'decidim-core', DECIDIM_VERSION
gem 'decidim-proposals', DECIDIM_VERSION
Expand All @@ -25,7 +25,7 @@ group :development do
gem 'faker', '~> 2.14'
gem 'letter_opener_web', '~> 1.3'
gem 'listen', '~> 3.1'
gem 'spring', '~> 2.0'
gem 'spring-watcher-listen', '~> 2.0'
gem 'spring'#, '~> 2.0'
gem 'spring-watcher-listen'#, '~> 2.0'
gem 'web-console', '~> 3.5'
end
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Decidim
module VerifyWoRegistration
# A command with all the business logic to verify and impersonate (managed user).
class DoVerifyWoRegistration < Rectify::Command
class DoVerifyWoRegistration < Decidim::Command
# Public: Initializes the command.
#
# form - The form with the authorization info
Expand Down
14 changes: 7 additions & 7 deletions decidim-verify_wo_registration.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Gem::Specification.new do |s|
s.email = ['[email protected]']
s.license = 'MIT'
s.homepage = 'https://github.com/CodiTramuntana/decidim-verify_wo_registration'
s.required_ruby_version = '>= 2.5'
s.required_ruby_version = '>= 3.0.2'

s.name = 'decidim-verify_wo_registration'
s.summary = 'Adds the hability for proposals and budgets components to allow users to give support without being registered.'
Expand All @@ -19,10 +19,10 @@ Gem::Specification.new do |s|
s.files = Dir['{app,config,lib}/**/*', 'LICENSE-MIT.txt', 'Rakefile', 'README.md']


s.add_dependency 'decidim-budgets', Decidim::VerifyWoRegistration.version
s.add_dependency 'decidim-core', Decidim::VerifyWoRegistration.version
s.add_dependency 'decidim-proposals', Decidim::VerifyWoRegistration.version
s.add_development_dependency 'decidim', Decidim::VerifyWoRegistration.version
s.add_development_dependency 'decidim-dev', Decidim::VerifyWoRegistration.version
s.add_development_dependency 'decidim-participatory_processes', Decidim::VerifyWoRegistration.version
s.add_dependency 'decidim-budgets', Decidim::VerifyWoRegistration.decidim_version
s.add_dependency 'decidim-core', Decidim::VerifyWoRegistration.decidim_version
s.add_dependency 'decidim-proposals', Decidim::VerifyWoRegistration.decidim_version
s.add_development_dependency 'decidim', Decidim::VerifyWoRegistration.decidim_version
s.add_development_dependency 'decidim-dev', Decidim::VerifyWoRegistration.decidim_version
s.add_development_dependency 'decidim-participatory_processes', Decidim::VerifyWoRegistration.decidim_version
end
4 changes: 2 additions & 2 deletions lib/decidim/verify_wo_registration/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
module Decidim
# This holds the decidim-meetings version.
module VerifyWoRegistration
VERSION = '0.0.4'
DECIDIM_VER = '>= 0.26'
VERSION = '0.1.0'
DECIDIM_VER = '>= 0.27'

def self.version
VERSION
Expand Down

0 comments on commit 4acf508

Please sign in to comment.