Open julien-c opened 11 years ago
I like the idea. The one hesitation I have is that Peregrin currently has very simplistic dependencies, and these are needed for its core functionality. I have a preference for gems with few dependencies.
This is useful additional functionality, but not core functionality. Therefore, I wonder if we could make the dependency on the JSON gem optional? I'll sketch out an idea in a code comment — I'm interested in your feedback. If it makes what you want to do more difficult, I'm happy to entertain making JSON a core dependency.
@joseph Looks perfect, and much more ruby-idiomatic than what I wrote.
This is the first lines I've ever written in ruby, so please bear with me!