1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Ruby 3.1.0 installs digest 3.1.0 as standard library

No need to add digest gem explicitly anymore.

Refer:
https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/

> Standard libraries updates
> The following default gem are updated.
> digest 3.1.0

This commit is kind of reverting these pull requests.

https://github.com/rails/rails/pull/42902
https://github.com/rails/rails/pull/43424
https://github.com/rails/rails/pull/43433
This commit is contained in:
Yasuo Honda 2021-12-26 11:07:46 +09:00
parent b6f4177a6d
commit 417ec15f5d
3 changed files with 0 additions and 11 deletions

View file

@ -183,7 +183,4 @@ if RUBY_VERSION >= "3.1"
gem "net-smtp", require: false
gem "net-imap", require: false
gem "net-pop", require: false
# digest gem, which is one of the default gems has bumped to 3.1.0.pre for ruby 3.1.0dev.
gem "digest", "~> 3.1.0.pre", require: false
end

View file

@ -14,10 +14,6 @@ gemfile(true) do
# net-smtp, net-imap and net-pop were removed from default gems in Ruby 3.1, but is used by the `mail` gem.
# So we need to add them as dependencies until `mail` is fixed: https://github.com/mikel/mail/pull/1439
gem "net-smtp", require: false
# digest gem, which is one of the default gems has bumped to 3.1.0.pre for ruby 3.1.0dev.
# Also `net-smtp` v0.2.2 adds dependency to digest gem which attempts to install digest 3.0.0.
gem "digest", "~> 3.1.0.pre", require: false
end
end

View file

@ -13,10 +13,6 @@ gemfile(true) do
# net-smtp, net-imap and net-pop were removed from default gems in Ruby 3.1, but is used by the `mail` gem.
# So we need to add them as dependencies until `mail` is fixed: https://github.com/mikel/mail/pull/1439
gem "net-smtp", require: false
# digest gem, which is one of the default gems has bumped to 3.1.0.pre for ruby 3.1.0dev.
# Also `net-smtp` v0.2.2 adds dependency to digest gem which attempts to install digest 3.0.0.
gem "digest", "~> 3.1.0.pre", require: false
end
end