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

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

Open
ssg47 opened this issue Jan 17, 2022 · 0 comments

Comments

@ssg47
Copy link

ssg47 commented Jan 17, 2022

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 added a commit to ssg47/slacker that referenced this issue Jan 31, 2022
Fix issue vassilvk#43 and increase version number
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