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:
parent
102133be6e
commit
2a3f759eef
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue