-
-
Notifications
You must be signed in to change notification settings - Fork 357
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
Add Tests ruby 2.7 and 3.0 for integration test #393
Conversation
@@ -11,7 +11,7 @@ def setup_db(position_options = {}) | |||
|
|||
# AR caches columns options like defaults etc. Clear them! | |||
ActiveRecord::Base.connection.create_table :mixins do |t| | |||
t.column :pos, :integer, position_options unless position_options[:positive] && sqlite | |||
t.column :pos, :integer, **position_options unless position_options[:positive] && sqlite |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ruby 2.7.3 warning
❯ rake test
Run options: --seed 34339
# Running:
#{HOME}/acts_as_list/test/test_list.rb:14: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/#{HOME}/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/activerecord-6.1.3.1/lib/active_record/connection_adapters/abstract/schema_definitions.rb:401: warning: The called method `column' is defined here
..................................................................................................................................................................................................
Finished in 15.685896s, 12.3678 runs/s, 62.0940 assertions/s.
194 runs, 974 assertions, 0 failures, 0 errors, 0 skips
d8f618d
to
c6fcbf5
Compare
c6fcbf5
to
a83dde6
Compare
gemfile: gemfiles/rails_4_2.gemfile | ||
# Ruby 2.7 warning `sqlite3-1.3.13/lib/sqlite3/statement.rb:108: warning: rb_tainted_str_new is deprecated` | ||
# and job wil exceed the maximum log length | ||
# see also: https://github.com/sparklemotion/sqlite3-ruby/issues/276 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The warning also occurs with the ranked-model.
https://travis-ci.org/github/mixonic/ranked-model/jobs/755121129
Looks good to me @QWYNG, well done on getting this all green. Travis can be a temperamental beast at times :D |
fix #392
special thanks to @aried3r.
I thank him for the kind offer.
I referred to the following commit.
brendon/ranked-model#174
brendon/ranked-model#168