Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Remove sinatra #26

Merged
merged 3 commits into from
Apr 23, 2019
Merged

Remove sinatra #26

merged 3 commits into from
Apr 23, 2019

Conversation

honzajavorek
Copy link
Contributor

@honzajavorek honzajavorek commented Apr 12, 2019

Removing sinatra, the Ruby web framework. Replacing it with a primitive, native Node.js implementation. I considered using express.js, but it didn't seem to be worth all of its dependencies.

Part of: apiaryio/dredd#917 (comment)

@honzajavorek honzajavorek force-pushed the honzajavorek/remove-sinatra branch 5 times, most recently from 52e0b7a to 8cccfdf Compare April 12, 2019 11:41
@honzajavorek honzajavorek force-pushed the honzajavorek/remove-sinatra branch from 8cccfdf to 66f7356 Compare April 12, 2019 12:58
@honzajavorek honzajavorek marked this pull request as ready for review April 12, 2019 13:14
@honzajavorek
Copy link
Contributor Author

Please feel free to merge this right away if it's good to go, don't wait for me to get back to it 🙂

@honzajavorek honzajavorek requested a review from kylef April 23, 2019 11:46
Copy link
Member

@kylef kylef left a comment

Choose a reason for hiding this comment

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

Approved, but not sure what features/support/server.js is used for so didn't merge incase it can be removed.


Before do
puts "Killing server..."
system "for i in `ps axu | grep 'server.rb' | awk '{print $2}'`; do kill -9 $i; done > /dev/null 2>&1"
system "for i in `ps axu | grep 'server.js' | awk '{print $2}'`; do kill -9 $i; done > /dev/null 2>&1"
Copy link
Member

Choose a reason for hiding this comment

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

Would pkill -9 node server.js suffice?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Perhaps, I'll be rewriting it in upcoming changes to address #6 as well.

@honzajavorek honzajavorek merged commit e238413 into master Apr 23, 2019
@honzajavorek honzajavorek deleted the honzajavorek/remove-sinatra branch April 23, 2019 14:01
@ApiaryBot
Copy link
Collaborator

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants