Skip to content
Permalink
Browse files

Generate new apps with latest puma version

  • Loading branch information
carlosantoniodasilva committed Aug 19, 2019
1 parent 102133b commit 2a3f759eef10352bedce5f13b12dbdda30aacab2
Showing with 2 additions and 2 deletions.
  1. +1 −1 railties/lib/rails/generators/app_base.rb
  2. +1 −1 railties/test/generators/app_generator_test.rb
@@ -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

0 comments on commit 2a3f759

Please sign in to comment.
You can’t perform that action at this time.