lib/rails/generators/app_base.rb in railties-6.0.0.rc1 vs lib/rails/generators/app_base.rb in railties-6.0.0.rc2

- old
+ new

@@ -280,11 +280,11 @@ [ GemfileEntry.path("rails", Rails::Generators::RAILS_DEV_PATH) ] elsif options.edge? [ - GemfileEntry.github("rails", "rails/rails") + GemfileEntry.github("rails", "rails/rails", "6-0-stable") ] else [GemfileEntry.version("rails", rails_version_specifier, "Bundle edge Rails instead: gem 'rails', github: 'rails/rails'")] @@ -320,10 +320,10 @@ end end def jbuilder_gemfile_entry comment = "Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder" - GemfileEntry.new "jbuilder", "~> 2.5", comment, {}, options[:api] + GemfileEntry.new "jbuilder", "~> 2.7", comment, {}, options[:api] end def javascript_gemfile_entry if options[:skip_javascript] || options[:skip_turbolinks] []