This PR makes Sinatra use Mustermann. It also updates the pattern to what I'd like the Sinatra 2.0 syntax to be, it is generally compatible with the old syntax.
This will also lead to more meaningful errors on broken patterns.
Advanced Mustermann features are not yet exposed.
Failing on JRuby atm.
The tests are passing if I run one file at a time. I ran the helpers_test and static_test, and both pass on jruby 188.8.131.52 (2.2.2) 2015-09-02 583f336 Java HotSpot(TM) 64-Bit Server VM 25.45-b02 on 1.8.0_45-b14 +jit [darwin-x86_64]
jruby 184.108.40.206 (2.2.2) 2015-09-02 583f336 Java HotSpot(TM) 64-Bit Server VM 25.45-b02 on 1.8.0_45-b14 +jit [darwin-x86_64]
Is this because we are using a pre-release jRuby version for the test? I see this in travis logs:
jruby 220.127.116.11.pre1 (2.2.0p0) 2015-01-20 d537cab Java HotSpot(TM) 64-Bit Server VM 24.76-b04 on 1.7.0_76-b13 +jit [linux-amd64]
Install latest bundler before install
use tool/warning_filter to reduce warnings when running tests
inital mustermann support
Update jruby to latest
Build is green with latest JRuby (18.104.22.168)
@rkh Should we move mustermann from your personal project to Sinatra organization?
@rkh Great! Thank you!
Fixed decompile to start using Mustermann to match sinatra behaviour …
…that replaced normal route parsing
to use Mustermann in sinatra/sinatra#1086