Commit b626875 1 parent 9efeebd commit b626875 Copy full SHA for b626875
File tree 1 file changed +22
-25
lines changed
1 file changed +22
-25
lines changed Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
- RAILS_VERSIONS = %w[
4
- 7.0.8
5
- 7.1.3
6
- 7.2.0
7
- ] . freeze
3
+ appraise 'activerecord_7.0.8' do
4
+ gem 'activerecord' , '7.0.8'
8
5
9
- RAILS_VERSIONS . each do |version |
10
- appraise "activerecord_#{ version } " do
11
- gem 'activerecord' , version
12
-
13
- case version
14
- when "7.0.8"
15
- # Fix: LoadError: cannot load such file -- base64
16
- install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.3.0") }' do
17
- gem "base64"
18
- gem "bigdecimal"
19
- gem "mutex_m"
20
- gem "drb"
21
- gem "logger"
22
- end
6
+ # Fix: LoadError: cannot load such file -- base64
7
+ install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.3.0") }' do
8
+ gem 'base64'
9
+ gem 'bigdecimal'
10
+ gem 'mutex_m'
11
+ gem 'drb'
12
+ gem 'logger'
13
+ end
14
+ end
23
15
24
- when "7.1.3"
25
- # Fix: warning: logger was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0. Add logger to your Gemfile or gemspec.
26
- install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") }' do
27
- gem "logger"
28
- end
29
- end
16
+ appraise 'activerecord_7.1.3' do
17
+ gem 'activerecord' , '7.1.3'
30
18
19
+ # Fix:
20
+ # warning: logger was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0.
21
+ # Add logger to your Gemfile or gemspec.
22
+ install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") }' do
23
+ gem 'logger'
31
24
end
32
25
end
26
+
27
+ appraise 'activerecord_7.2.0' do
28
+ gem 'activerecord' , '7.2.0'
29
+ end
You can’t perform that action at this time.
0 commit comments