slacker icon indicating copy to clipboard operation
slacker copied to clipboard

Warning on test run: slacker.rb:53: warning: Using the last argument as keyword parameters is deprecated

Open ssg47 opened this issue 3 years ago • 0 comments

I've just done an offline installation of slacker on Windows (file versions below) and followed the instructions to run a test project:

slacker_new my_project

Edited ./my_project/database.yml to provide server/database settings and run slacker:

slacker
SqlTestDb (hostname.foo.bar.com)
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/slacker-1.0.24/lib/slacker.rb:53: warning: Using the last argument as keyword par
ameters is deprecated
.C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/slacker-1.0.24/lib/slacker.rb:53: warning: Using the last argument as keyword pa
rameters is deprecated
.C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/slacker-1.0.24/lib/slacker.rb:53: warning: Using the last argument as keyword pa
rameters is deprecated
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/slacker-1.0.24/lib/slacker.rb:53: warning: Using the last argument as keyword par
ameters is deprecated
.C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/slacker-1.0.24/lib/slacker.rb:53: warning: Using the last argument as keyword pa
rameters is deprecated
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/slacker-1.0.24/lib/slacker.rb:53: warning: Using the last argument as keyword par
ameters is deprecated
.C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/slacker-1.0.24/lib/slacker.rb:53: warning: Using the last argument as keyword pa
rameters is deprecated
.C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/slacker-1.0.24/lib/slacker.rb:53: warning: Using the last argument as keyword pa
rameters is deprecated
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/slacker-1.0.24/lib/slacker.rb:53: warning: Using the last argument as keyword par
ameters is deprecated
..C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/slacker-1.0.24/lib/slacker.rb:53: warning: Using the last argument as keyword p
arameters is deprecated
.C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/slacker-1.0.24/lib/slacker.rb:53: warning: Using the last argument as keyword pa
rameters is deprecated
.C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/slacker-1.0.24/lib/slacker.rb:53: warning: Using the last argument as keyword pa
rameters is deprecated
.C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/slacker-1.0.24/lib/slacker.rb:53: warning: Using the last argument as keyword pa
rameters is deprecated
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/slacker-1.0.24/lib/slacker.rb:53: warning: Using the last argument as keyword par
ameters is deprecated
.

Finished in 1.16 seconds (files took 2.19 seconds to load)
11 examples, 0 failures

I found this but, frankly, Ruby isn't my thing (yet) and I don't really understand it).

File versions

Gems:

bundler-1.17.3.gem
diff-lcs-1.5.0.gem
rspec-3.10.0.gem
rspec-core-3.10.1.gem
rspec-expectations-3.10.1.gem
rspec-mocks-3.10.2.gem
rspec-support-3.10.3.gem
ruby-odbc-0.99999.gem
slacker-1.0.24.gem
tiny_tds-2.1.5.gem

and these mingw packages:

mingw-w64-x86_64-ca-certificates-20210119-1
mingw-w64-x86_64-freetds-1.2.6-2
mingw-w64-x86_64-libtasn1-4.18.0-1  
mingw-w64-x86_64-openssl-1.1.1.l-1  
mingw-w64-x86_64-p11-kit-0.24.0-1  
mingw-w64-x86_64-libffi-3.3-4  

ssg47 avatar Jan 17 '22 07:01 ssg47