Skip to content

Commit

Permalink
Merge pull request #43433 from yahonda/digest_310pre
Browse files Browse the repository at this point in the history
Bump required digest version to 3.1.0.pre for Ruby 3.1
  • Loading branch information
rafaelfranca committed Dec 14, 2021
1 parent 66fd719 commit d5d7eec
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ if RUBY_VERSION >= "3.1"
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

# matrix was removed from default gems in Ruby 3.1, but is used by the `capybara` gem.
# So we need to add it as a dependency until `capybara` is fixed: https://github.com/teamcapybara/capybara/pull/2468
gem "matrix", require: false
Expand Down
4 changes: 4 additions & 0 deletions guides/bug_report_templates/action_mailbox_gem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
# 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: 4 additions & 0 deletions guides/bug_report_templates/action_mailbox_main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
# 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

1 comment on commit d5d7eec

@yahonda
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.