rails / jbuilder

Jbuilder: generate JSON objects with a Builder-style DSL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New release for Ruby 2.7

connorshea opened this issue · comments

I saw a deprecation warning from jbuilder when trying my test suite on Ruby 2.7, and it looks like it was already fixed in jbuilder master. Could we get a new release with the fix? :)

jbuilder-2.9.1/lib/jbuilder.rb:188: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/Users/xx/.gem/ruby/2.7.0/gems/jbuilder-2.9.1/lib/jbuilder.rb:66: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead

Yes please!

Same problem. Any news about this?

It's pretty annoying that I now have to pull in the git master branch in my Gemfile 🤔

Thanks!

Thanks a lot @kaspth !