Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings on Ruby 2.7 #649

Open
4 of 18 tasks
axelson opened this issue Nov 7, 2020 · 0 comments
Open
4 of 18 tasks

Warnings on Ruby 2.7 #649

axelson opened this issue Nov 7, 2020 · 0 comments

Comments

@axelson
Copy link

axelson commented Nov 7, 2020

  • I tried updating to the latest version (using master)
    • I can't, there is an issue
    • This is about an < latest
      • I understand older versions may be unsupported
  • I Am on Windows
    • Ubuntu Bash on Windows
    • Fedora Bash on Windows
    • Other Bash on Windows
  • I Am on Linux
    • Ubuntu
    • Fedora
    • CentOS
    • Redhat
    • Debian
  • I am on macOS 10.13
  • I am on macOS 10.14
  • I'm on Docker
    • I understand Docker may be unsupported

(I use multiple operating systems)

Description

Running jekyll build on ruby 2.7 results in warnings about passing the last argument as keyword parameters (after adding a few assets).

Steps

  • Use Ruby 2.7.1
  • Build project

Output

$ jekyll build
/Users/jason/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/bundler/gems/jekyll-assets-056d2c88719e/lib/jekyll/assets/proxy.rb:55: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/jason/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/bundler/gems/jekyll-assets-056d2c88719e/lib/jekyll/assets/extensible.rb:107: warning: The called method `for?' is defined here
/Users/jason/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/bundler/gems/jekyll-assets-056d2c88719e/lib/jekyll/assets/patches/writer.rb:28: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/jason/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/bundler/gems/jekyll-assets-056d2c88719e/lib/jekyll/assets/patches/writer.rb:53: warning: The called method `after_hook' is defined here
/Users/jason/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/bundler/gems/jekyll-assets-056d2c88719e/lib/jekyll/assets/plugins/srcmap.rb:26: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/jason/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/bundler/gems/jekyll-assets-056d2c88719e/lib/jekyll/assets/plugins/srcmap.rb:39: warning: The called method `path' is defined here
/Users/jason/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/bundler/gems/jekyll-assets-056d2c88719e/lib/jekyll/assets/env.rb:61: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/jason/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/sprockets-4.0.2/lib/sprockets/environment.rb:30: warning: The called method `find_asset' is defined here
/Users/jason/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/bundler/gems/jekyll-assets-056d2c88719e/lib/jekyll/assets/patches/cached_environment.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/jason/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/sprockets-4.0.2/lib/sprockets/base.rb:78: warning: The called method `find_asset' is defined here
/Users/jason/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/bundler/gems/jekyll-assets-056d2c88719e/lib/jekyll/assets/plugins/srcmap/writer.rb:172: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/jason/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/bundler/gems/jekyll-assets-056d2c88719e/lib/jekyll/assets/plugins/srcmap.rb:39: warning: The called method `path' is defined here

Expected

No warnings about keyword parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant