-
Notifications
You must be signed in to change notification settings - Fork 898
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
Support ruby 3 #21531
Support ruby 3 #21531
Changes from all commits
04e0622
2de88a5
ac415b0
a53e4e1
9d3a7ed
05f222c
eef47c1
f9469b7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ jobs: | |
matrix: | ||
ruby-version: | ||
- '2.7' | ||
- '3.0' | ||
test-suite: | ||
- vmdb | ||
- security | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ | |
end | ||
|
||
it "supports where (as an example)" do | ||
expect(base_class).to receive(:find).with(:all, :conditions => {:id => 5}).and_return([]) | ||
expect(base_class).to receive(:find).with(:all, {:conditions => {:id => 5}}).and_return([]) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ☝️ These There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Makes sense. Thanks for the details. |
||
expect(base_class.all.where(:id => 5).to_a).to eq([]) | ||
end | ||
end | ||
|
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.
2.7 minimum and 3.0.x maximum