Skip to content

Revert "Exclude Rails 4.2 + ruby-head build (#1825)" #1851

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 25, 2018

Conversation

koic
Copy link
Contributor

@koic koic commented Dec 25, 2018

Follow up of #1825 (comment).
And this reverts commit c48cf46.

Summary

This PR restores Rails 4.2 + ruby-head (2.6) build.

Ruby 2.6.0 has been released.
https://www.ruby-lang.org/en/news/2018/12/25/ruby-2-6-0-released/

BigDecimal.new has been replaced with deprecation rather than deletion.

% ruby -rbigdecimal -ve 'BigDecimal.new(42)'
ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin17]
-e:1: warning: BigDecimal.new is deprecated; use BigDecimal() method instead.

Follow up of rails#1825 (comment).
And this reverts commit c48cf46.

### Summary

This PR restores Rails 4.2 + ruby-head (2.6) build.

Ruby 2.6.0 has been released.
https://www.ruby-lang.org/en/news/2018/12/25/ruby-2-6-0-released/

`BigDecimal.new` has been replaced with deprecation rather than deletion.

```console
% ruby -rbigdecimal -ve 'BigDecimal.new(42)'
ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin17]
-e:1: warning: BigDecimal.new is deprecated; use BigDecimal() method instead.
```
@gauravtiwari gauravtiwari merged commit 2c0a8dc into rails:master Dec 25, 2018
@koic koic deleted the restore_rails_4_2_with_ruby_2_6 branch December 25, 2018 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants