gtt-project / redmine_supply

Redmine plugin to enable supply management for issues.
GNU General Public License v3.0
1 stars 1 forks source link

warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call #8

Closed sanak closed 2 years ago

sanak commented 2 years ago

Problem

% bundle exec rake redmine:plugins:test RAILS_ENV=test NAME=redmine_supply
Run options: --seed 22382

# Running:

/Users/sanak/Build/rb/redmine50/plugins/redmine_supply/lib/redmine_resource_manager/save_resource_category.rb:7: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/sanak/Build/rb/redmine50/plugins/redmine_supply/lib/redmine_resource_manager/save_resource_category.rb:10: warning: The called method `initialize' is defined here
./Users/sanak/Build/rb/redmine50/plugins/redmine_supply/lib/redmine_resource_manager/save_resource_item.rb:7: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/sanak/Build/rb/redmine50/plugins/redmine_supply/lib/redmine_resource_manager/save_resource_item.rb:10: warning: The called method `initialize' is defined here
../Users/sanak/Build/rb/redmine50/plugins/redmine_supply/lib/redmine_supply/action.rb:4: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/sanak/Build/rb/redmine50/plugins/redmine_supply/lib/redmine_supply/save_supply_item.rb:6: warning: The called method `initialize' is defined here
.........../Users/sanak/Build/rb/redmine50/plugins/redmine_supply/lib/redmine_supply/action.rb:4: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/sanak/Build/rb/redmine50/plugins/redmine_supply/lib/redmine_supply/update_stock.rb:6: warning: The called method `initialize' is defined here
...........................

Finished in 6.939263s, 5.9084 runs/s, 47.6996 assertions/s.
41 runs, 331 assertions, 0 failures, 0 errors, 0 skips

To Reproduce Execute bundle exec rake redmine:plugins:test RAILS_ENV=test NAME=redmine_supply with Ruby 2.7 environment.

Expectation Warning should not be shown.

sanak commented 2 years ago

Done by #9. Close this.