File tree 2 files changed +18
-3
lines changed
2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 17
17
matrix :
18
18
include :
19
19
# Edge Rails (7.1) builds >= 2.7
20
+ - ruby : ' 3.1'
21
+ allow_failure : true
22
+ env :
23
+ RAILS_VERSION : ' main'
20
24
- ruby : ' 3.0'
21
25
allow_failure : true
22
26
env :
@@ -28,19 +32,19 @@ jobs:
28
32
29
33
# Rails 7.0 builds >= 2.7
30
34
- ruby : 3.1
31
- allow_failure : true
32
35
env :
33
36
RAILS_VERSION : ' ~> 7.0.0'
34
37
- ruby : ' 3.0'
35
- allow_failure : true
36
38
env :
37
39
RAILS_VERSION : ' ~> 7.0.0'
38
40
- ruby : 2.7
39
- allow_failure : true
40
41
env :
41
42
RAILS_VERSION : ' ~> 7.0.0'
42
43
43
44
# Rails 6.1 builds >= 2.5
45
+ - ruby : ' 3.1'
46
+ env :
47
+ RAILS_VERSION : ' ~> 6.1.0'
44
48
- ruby : ' 3.0'
45
49
env :
46
50
RAILS_VERSION : ' ~> 6.1.0'
Original file line number Diff line number Diff line change 25
25
gem "puma"
26
26
gem 'activerecord-jdbcsqlite3-adapter', platforms: [:jruby]
27
27
gem 'selenium-webdriver', require: false
28
+
29
+ # This is required for Ruby 3.1 and Rails 6.1.x as of time
30
+ # of writing, because in Ruby 3.1 these gems are no longer
31
+ # automatically included. This issue was fixed on the Rails
32
+ # side in Rails 7.0.1, but is not yet fixed in the Rails 6.1.x
33
+ # branch. Discussion can be found here - https://github.com/mikel/mail/pull/1439
34
+ if RUBY_VERSION >= '3.1' && version.split(' ').last < '7.0'
35
+ gem 'net-smtp', require: false
36
+ gem 'net-imap', require: false
37
+ gem 'net-pop', require: false
38
+ end
28
39
end
You can’t perform that action at this time.
0 commit comments