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 forconfig.ru
files in the Rack ruby framework. This specifically requires adding an additional element to thehead
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.