Skip to content

Commit

Permalink
Remove conditional on bigdecimal
Browse files Browse the repository at this point in the history
- bigdecimal installs and works fine on all supported ruby versions
- The condition was checking for ruby version to be greater than 6.19,
  which will not happen soon
- The condition is also evaluated on `rubygems`, and it is not correct

Close #1085
  • Loading branch information
tagliala committed Mar 13, 2024
1 parent 69d654b commit 815b618
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions money.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ Gem::Specification.new do |s|
s.description = "A Ruby Library for dealing with money and currency conversion."
s.license = "MIT"


s.add_dependency "bigdecimal", "~> 3.1" if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('6.19.0')
s.add_dependency "bigdecimal"
s.add_dependency 'i18n', [">= 0.6.4", '<= 2']

s.add_development_dependency "bundler"
Expand Down

0 comments on commit 815b618

Please sign in to comment.