zold-io / zold

An Experimental Non-Blockchain Cryptocurrency for Fast Micro Payments
https://www.zold.io
MIT License
195 stars 53 forks source link

Getting lots of warning when running zold #787

Open victornoel opened 4 years ago

victornoel commented 4 years ago

Describe the bug

Everytime I run zold, its output always starts with:

/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop.rb:23: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop/options.rb:27: warning: The called method `initialize' is defined here
/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop/options.rb:32: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop/parser.rb:13: warning: The called method `initialize' is defined here
/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop/options.rb:85: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop/options.rb:51: warning: The called method `on' is defined here
/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop/options.rb:55: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop/option.rb:30: warning: The called method `initialize' is defined here

To Reproduce Steps to reproduce the behaviour:

  1. install zold with ruby 2.7.0 gem install zold
  2. run zold zold --help

Expected behavior

No warnings.

0crat commented 4 years ago

@yegor256/z please, pay attention to this issue