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

Add support for Rackup (.ru) config files #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CalebAlbers
Copy link

This adds support for the .ru extension, which is idiomatically used for config.ru files in the Rack ruby framework. This specifically requires adding an additional element to the head slice for #\ directives.

I added a test explicitly for validating the intact header is left in.

More information on the file format itself can be found here.

This adds support for the `.ru` extension, which is idiomatically used for `config.ru` files in the Rack ruby framework. This specifically requires adding an additional element to the `head` slice for `#\` directives.

I added a test explicitly for validating the intact header is left in.
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.

1 participant