diff options
author | Anton Rieder <1301152+aried3r@users.noreply.github.com> | 2019-05-23 17:21:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-23 17:21:34 +0200 |
commit | 1fe26f7f8b515f376180034dcce5a6105f646e74 (patch) | |
tree | 969cc624c03a17444e9a3814d6bae95ead91b1e0 | |
parent | eba859d867454cd441f29ff15d8dbf442e51919c (diff) | |
download | rails-1fe26f7f8b515f376180034dcce5a6105f646e74.tar.gz rails-1fe26f7f8b515f376180034dcce5a6105f646e74.tar.bz2 rails-1fe26f7f8b515f376180034dcce5a6105f646e74.zip |
Bump Gemfile entry jbuilder version
jbuilder 2.6.4 is the first version that relaxes the version constraint to allow
Rails 6. I also did some more tests in #25183, although not with 2.6.4
explicitly.
To simplify the version requirement, I went for 2.7.
https://github.com/rails/jbuilder/blob/v2.6.4/jbuilder.gemspec
https://github.com/rails/rails/issues/25183#issuecomment-494342406
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 8782a85391..303073d867 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -322,7 +322,7 @@ module Rails 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 |