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

🐛 Resolve the broken builds for older ruby versions #141

Merged
merged 4 commits into from
Jul 7, 2019

Conversation

lewis-fidlers
Copy link

This fixes the build for some of the older ruby versions.

The actual issue comes from a change in Sinatra and is already fixed on their master branch for quite a while, however it is not in any of their releases. Seeing this affects only unsupported ruby versions it's probably not that cruacial.

The original issue and fix can be found here

As a fix for smashing I locked the Sinatra version to 2.0.4 for ruby versions < 2.3.7

However once Sinatra 2.0.6 is realeased everything should be fine again.

Also added in ruby 2.5.5 and 2.6.3, don't think the outdated versions should be removed, a dashboard is typically something that is not really touched once it's up and running.

Closes #138

@lewis-fidlers lewis-fidlers changed the title Resolve the broken build for unsupported ruby versions Resolve the broken builds for unsupported ruby versions Jul 4, 2019
@lewis-fidlers lewis-fidlers changed the title Resolve the broken builds for unsupported ruby versions 🐛 Resolve the broken builds for unsupported ruby versions Jul 4, 2019
@lewis-fidlers lewis-fidlers changed the title 🐛 Resolve the broken builds for unsupported ruby versions 🐛 Resolve the broken builds for older ruby versions Jul 4, 2019
Copy link
Member

@kinow kinow left a comment

Choose a reason for hiding this comment

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

Looks good to me. Will merge if there are no objections and if a quick local manual test works with no issues. Thanks!!!

@kinow
Copy link
Member

kinow commented Jul 7, 2019

Not really necessary to test with a dashboard, but did that anyway. All working fine. Then tested rake test as well:

# Running:

................

Fabulous run in 0.253890s, 63.0193 runs/s, 157.5483 assertions/s.

16 runs, 40 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for Unit Tests to /home/kinow/Development/ruby/workspace/smashing/coverage. 156 / 203 LOC (76.85%) covered.

Travis is finally happy, so let's get it merged.

Thanks a lot for your contribution @lewis-fidlers !

@kinow kinow merged commit c373330 into Smashing:master Jul 7, 2019
@kinow kinow added this to the 1.2 milestone May 16, 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.

Fix Travis build on master
2 participants