mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Merge pull request #7794 from openfoodfoundation/dependabot/bundler/bigdecimal-3.0.2
Bump bigdecimal from 1.4.2 to 3.0.2
This commit is contained in:
2
Gemfile
2
Gemfile
@@ -66,7 +66,7 @@ gem "active_model_serializers", "0.8.4"
|
||||
gem 'activerecord-session_store'
|
||||
gem 'acts-as-taggable-on', '~> 8.0'
|
||||
gem 'angularjs-file-upload-rails', '~> 2.4.1'
|
||||
gem 'bigdecimal', '1.4.2' # There are issues using later versions of bigdecimal
|
||||
gem 'bigdecimal', '3.0.2'
|
||||
gem 'bootsnap', require: false
|
||||
gem 'custom_error_message', github: 'jeremydurham/custom-err-msg'
|
||||
gem 'dalli'
|
||||
|
||||
@@ -157,7 +157,7 @@ GEM
|
||||
json (~> 1.4)
|
||||
nokogiri (~> 1)
|
||||
bcrypt (3.1.16)
|
||||
bigdecimal (1.4.2)
|
||||
bigdecimal (3.0.2)
|
||||
bindex (0.8.1)
|
||||
bootsnap (1.7.5)
|
||||
msgpack (~> 1.0)
|
||||
@@ -687,7 +687,7 @@ DEPENDENCIES
|
||||
awesome_nested_set
|
||||
awesome_print
|
||||
aws-sdk (= 1.67.0)
|
||||
bigdecimal (= 1.4.2)
|
||||
bigdecimal (= 3.0.2)
|
||||
bootsnap
|
||||
bugsnag
|
||||
bullet
|
||||
|
||||
@@ -76,7 +76,7 @@ module OrderManagement
|
||||
|
||||
allow(subject).to receive(:shipping_methods).and_return(shipping_methods)
|
||||
|
||||
expected_costs = %w[3.00 4.00 5.00].map(&BigDecimal.method(:new))
|
||||
expected_costs = [3.00, 4.00, 5.00]
|
||||
expect(subject.shipping_rates(package).map(&:cost)).to eq expected_costs
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user