Skip to content

Commit

Permalink
need base64, bigdecimal and mutex_m for ruby >= 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Dec 27, 2024
1 parent 8e5cc7a commit 60c9643
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

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

if RUBY_VERSION >= '3.4'
gem 'base64'
gem 'bigdecimal'
gem 'mutex_m'
end

gem 'tzinfo'

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

0 comments on commit 60c9643

Please sign in to comment.