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

@ -191,7 +191,7 @@ def database_gemfile_entry # :doc:
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:

@ -597,7 +597,7 @@ def test_config_jdbc_database_when_no_option_given
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