Skip to content

Drop old appraisals #1916

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

Merged
merged 3 commits into from
Oct 15, 2019
Merged

Drop old appraisals #1916

merged 3 commits into from
Oct 15, 2019

Conversation

NikolayRys
Copy link
Contributor

@NikolayRys NikolayRys commented Oct 13, 2019

Rails 3 and 4 appraisals have been excluded from travis build for a year: 9c942f4#diff-354f30a63fb0907d4ad57269548329e3

The recent update to rack-test: https://github.com/ruby-grape/grape/pull/1912/files#diff-0bd0610801e75105f6818e38cc85c172 made the appraisals for rails_3 and rails_4 harder to fix, because they use old rack-spec of their own.

Probably it's time to get rid of them. It will allow to run cleanly run appraisal rake spec.
Please, let me know what you think.

UPD: also removing a work-around specific for rails_3 in spec/grape/integration/rack_spec.rb More details: 3115c6e

Rails 3 and 4 appraisals are excluded from travis build a long time ago, while recent rack changes made them completely incompatible.
Since rails_3 appraisal is dropped, the workaround(which wasn't implemented correctly either) can be removed.
@grape-bot
Copy link

1 Message
📖 We really appreciate pull requests that demonstrate issues, even without a fix. That said, the next step is to try and fix the failing tests!

Generated by 🚫 danger

@@ -11,6 +11,7 @@
#### Fixes

* Your contribution here.
* [#1916](https://github.com/ruby-grape/grape/pull/1916): Drop old appraisals - [@NikolayRys](https://github.com/NikolayRys).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: be explicit? How about "drop Rails 3 and 4 support"? If we're no longer testing, we aren't supporting.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, probs, I reword it, but initially my assumption was that you don't support for a long time(since you have removed them from the travis build), so what I did was just a clean-up.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see. I'm good with this.

@dblock dblock merged commit 87c88e4 into ruby-grape:master Oct 15, 2019
@NikolayRys NikolayRys deleted the drop_old_rails branch October 15, 2019 15:42
basjanssen pushed a commit to basjanssen/grape that referenced this pull request Feb 28, 2020
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

Successfully merging this pull request may close these issues.

3 participants