Skip to content

Commit 60c9643

Browse files
committed
need base64, bigdecimal and mutex_m for ruby >= 3.4
1 parent 8e5cc7a commit 60c9643

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Appraisals

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
def appgen(gems) # rubocop:disable Metrics/CyclomaticComplexity
3+
def appgen(gems) # rubocop:disable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
44
description = gems.map{ |name, version| "#{name} #{version}" }.join(', ')
55
appraise "ruby-#{RUBY_VERSION[/\d+\.\d+/]} #{description}" do
66
gems.each do |name, version|
@@ -21,6 +21,12 @@ def appgen(gems) # rubocop:disable Metrics/CyclomaticComplexity
2121
gem 'loofah', '< 2.21.0'
2222
end
2323

24+
if RUBY_VERSION >= '3.4'
25+
gem 'base64'
26+
gem 'bigdecimal'
27+
gem 'mutex_m'
28+
end
29+
2430
gem 'tzinfo'
2531

2632
gem 'sprockets-rails' if gems['railties'] != '~> 3.2' && !gems['sprockets-rails']

0 commit comments

Comments
 (0)