binarylogic/settingslogic — pull request #27 by wpeterson (2012-01-05 21:14:03+00:00)
Title: Bundler and Suppressing Errors

Hi Ben,

I really appreciate all the open source tools you've put out there. We've gotten some good mileage from settingslogic at PatientsLikeMe.

We ran into a bug where settings might not be defined properly in different Rails environments when using the Rails environment as a key. This made me wish for an ability to change the settingslogic error handling depending on what Rails environment we're in - raise exceptions in dev/test but return something sensible in production.

To solve this for us, I added a new configuration option to suppress errors, with tests and documentation.

I also added bundler support and a gemfile, to make it easier for me to get the tests running and the dependencies installed to run them.

I'd love to see this pulled into the main gem, but if not - I understand.

Thanks again for publishing the gem!
-Winfield