Skip to content

Commit

Permalink
Ruby 3.1.0 installs digest 3.1.0 as standard library
Browse files Browse the repository at this point in the history
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.

#42902
#43424
#43433
  • Loading branch information
yahonda committed Dec 26, 2021
1 parent b6f4177 commit 417ec15
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions Gemfile
Expand Up @@ -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
4 changes: 0 additions & 4 deletions guides/bug_report_templates/action_mailbox_gem.rb
Expand Up @@ -14,10 +14,6 @@
# 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

Expand Down
4 changes: 0 additions & 4 deletions guides/bug_report_templates/action_mailbox_main.rb
Expand Up @@ -13,10 +13,6 @@
# 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

Expand Down

0 comments on commit 417ec15

Please sign in to comment.