Sorry for the long pull request. This is work I've done over time to get it to work for us.
Updated gems to make app work with MRI 2.3.
Cleaned up the .gitignore file and added an example config
Changed the logic for the if/else statement for delivering html or json to work with changes in recent Sinatra changes.
Sorry for the long pull request. This is work I've done over time to get it to work for us.
Updated gems to make app work with MRI 2.3. Cleaned up the .gitignore file and added an example config Changed the logic for the if/else statement for delivering html or json to work with changes in recent Sinatra changes.