Skip to content

Commit

Permalink
No need to check for Ruby version on the bug reports template anymore
Browse files Browse the repository at this point in the history
Those libraries are being defined as dependency of the right frameworks
now.
  • Loading branch information
rafaelfranca committed Jan 6, 2022
1 parent ea7e58c commit 1717237
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions guides/bug_report_templates/action_mailbox_gem.rb
Expand Up @@ -10,11 +10,6 @@
# Activate the gem you are reporting the issue against.
gem "rails", "~> 7.0.0"
gem "sqlite3"
if RUBY_VERSION >= "3.1"
# 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
end
end

require "active_record/railtie"
Expand Down
5 changes: 0 additions & 5 deletions guides/bug_report_templates/action_mailbox_main.rb
Expand Up @@ -9,11 +9,6 @@

gem "rails", github: "rails/rails", branch: "main"
gem "sqlite3"
if RUBY_VERSION >= "3.1"
# 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
end
end

require "active_record/railtie"
Expand Down

0 comments on commit 1717237

Please sign in to comment.