Skip to content

Commit

Permalink
Refactor lib/decidim/verify_wo_registration/version.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
tramuntanal committed Jun 15, 2023
1 parent 189ad68 commit 0ad6da3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
Current version is defined at `lib/decidim/verify_wo_registration/version.rb`

## Version 0.0.4

- Refactors in lib/decidim/verify_wo_registration/version.rb

## Version 0.0.3

- Make module compatible with Decidim 0.26
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 @@ -18,11 +18,11 @@ Gem::Specification.new do |s|

s.files = Dir['{app,config,lib}/**/*', 'LICENSE-MIT.txt', 'Rakefile', 'README.md']

DECIDIM_VER = '>= 0.26'
s.add_dependency 'decidim-budgets', DECIDIM_VER
s.add_dependency 'decidim-core', DECIDIM_VER
s.add_dependency 'decidim-proposals', DECIDIM_VER
s.add_development_dependency 'decidim', DECIDIM_VER
s.add_development_dependency 'decidim-dev', DECIDIM_VER
s.add_development_dependency 'decidim-participatory_processes', DECIDIM_VER

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
end
9 changes: 8 additions & 1 deletion lib/decidim/verify_wo_registration/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,15 @@
module Decidim
# This holds the decidim-meetings version.
module VerifyWoRegistration
VERSION = '0.0.4'
DECIDIM_VER = '>= 0.26'

def self.version
'0.0.3'
VERSION
end

def self.decidim_version
DECIDIM_VER
end
end
end

0 comments on commit 0ad6da3

Please sign in to comment.