Merge pull request #6441 from luisramos0/ruby24

Bump to ruby 2.4.4
This commit is contained in:
Matt-Yorkley
2020-12-31 15:31:45 +01:00
committed by GitHub
4 changed files with 4 additions and 3 deletions

View File

@@ -1 +1 @@
2.3.7
2.4.4

View File

@@ -1,7 +1,7 @@
# frozen_string_literal: true
source 'https://rubygems.org'
ruby "2.3.7"
ruby "2.4.4"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}.git" }
gem 'i18n'

View File

@@ -836,7 +836,7 @@ DEPENDENCIES
wkhtmltopdf-binary
RUBY VERSION
ruby 2.3.7p456
ruby 2.4.4p296
BUNDLED WITH
1.17.3

View File

@@ -115,6 +115,7 @@ module Spree
when :password
value.to_s
when :decimal
value = 0 if value.blank?
BigDecimal(value.to_s).round(2, BigDecimal::ROUND_HALF_UP)
when :integer
value.to_i