|
1 | | -appraise 'activesupport4.1' do |
2 | | - gem "activesupport", "~> 4.1.0" |
| 1 | +if RUBY_VERSION < "3.0" |
| 2 | + appraise 'activesupport5.0' do |
| 3 | + gem "activesupport", "~> 5.0.0" |
| 4 | + end |
| 5 | + |
| 6 | + appraise 'activesupport5.1' do |
| 7 | + gem "activesupport", "~> 5.1.0" |
| 8 | + end |
| 9 | + |
| 10 | + appraise 'activesupport5.2' do |
| 11 | + gem "activesupport", "~> 5.2.0" |
| 12 | + end |
| 13 | +end |
| 14 | + |
| 15 | +appraise 'activesupport6.0' do |
| 16 | + gem "activesupport", "~> 6.0.0" |
| 17 | + |
| 18 | + # ruby 3.3+ |
| 19 | + gem "base64" |
| 20 | + gem "bigdecimal" |
| 21 | + gem "mutex_m" |
| 22 | + # ruby 3.4+ |
| 23 | + gem "benchmark" |
| 24 | + gem "logger" |
| 25 | + |
| 26 | + # Fix https://github.com/rails/rails/issues/54260 |
| 27 | + gem 'concurrent-ruby', "1.3.4" |
3 | 28 | end |
4 | 29 |
|
5 | | -appraise 'activesupport4.2' do |
6 | | - gem "activesupport", "~> 4.2.0" |
| 30 | +appraise 'activesupport6.1' do |
| 31 | + gem "activesupport", "~> 6.1.0" |
| 32 | + |
| 33 | + # ruby 3.3+ |
| 34 | + gem "base64" |
| 35 | + gem "bigdecimal" |
| 36 | + gem "mutex_m" |
| 37 | + # ruby 3.4+ |
| 38 | + gem "benchmark" |
| 39 | + gem "logger" |
| 40 | + |
| 41 | + # Fix https://github.com/rails/rails/issues/54260 |
| 42 | + gem 'concurrent-ruby', "1.3.4" |
7 | 43 | end |
8 | 44 |
|
9 | | -appraise 'activesupport5.0' do |
10 | | - gem "activesupport", "~> 5.0.0" |
| 45 | +if RUBY_VERSION >= "2.7" |
| 46 | + appraise 'activesupport7.0' do |
| 47 | + gem "activesupport", "~> 7.0.0" |
| 48 | + end |
11 | 49 | end |
12 | 50 |
|
13 | | -appraise 'activesupport5.1' do |
14 | | - gem "activesupport", "~> 5.1.0" |
| 51 | +if RUBY_VERSION >= "3.1" |
| 52 | + appraise 'activesupport7.1' do |
| 53 | + gem "activesupport", "~> 7.1.0" |
| 54 | + end |
15 | 55 | end |
16 | 56 |
|
17 | | -appraise 'activesupport5.2' do |
18 | | - gem "activesupport", "~> 5.2.0beta2" |
| 57 | +if RUBY_VERSION >= "3.2" |
| 58 | + appraise 'activesupport7.2' do |
| 59 | + gem "activesupport", "~> 7.2.0" |
| 60 | + end |
| 61 | + |
| 62 | + appraise 'activesupport8.0' do |
| 63 | + gem "activesupport", "~> 8.0.0" |
| 64 | + end |
| 65 | + |
| 66 | + appraise 'activesupport8.1' do |
| 67 | + gem "activesupport", "~> 8.1.0" |
| 68 | + end |
19 | 69 | end |
0 commit comments