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

Generate new apps with latest puma version

This commit is contained in:
Carlos Antonio da Silva 2019-08-19 09:20:02 -03:00
parent 102133be6e
commit 2a3f759eef
2 changed files with 2 additions and 2 deletions

View file

@ -191,7 +191,7 @@ module Rails
def web_server_gemfile_entry # :doc:
return [] if options[:skip_puma]
comment = "Use Puma as the app server"
GemfileEntry.new("puma", "~> 3.11", comment)
GemfileEntry.new("puma", "~> 4.1", comment)
end
def include_all_railties? # :doc:

View file

@ -597,7 +597,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
def test_generator_defaults_to_puma_version
run_generator [destination_root]
assert_gem "puma", "'~> 3.11'"
assert_gem "puma", "'~> 4.1'"
end
def test_generator_if_skip_puma_is_given