Merge pull request #31236 from y-yagi/use_puma_311_in_new_apps

Use Puma 3.11 in newly generated applications
This commit is contained in:
Guillermo Iguaran 2017-11-27 00:36:05 -05:00 committed by GitHub
commit 28333d62ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

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

@ -457,7 +457,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.7'"
assert_gem "puma", "'~> 3.11'"
end
def test_generator_if_skip_puma_is_given