stackbuilders/railblazer — pull request #10 by sebasoga (2013-06-08 02:55:27+00:00)
Title: Fix bug when gem parameters are not a `Hash`

This fixes `TypeError` being raised whenever the parameters the a gem has on a `Gemfile` are not a `Hash`.

**Minor refactor:**
* Renamed methods to better represent the logic.
* Removed `name` param from `Railblazer::Gem#new` since it was not needed.
* Made `Railblazer::MinimalGemfile` dependency on `Railblazer::Gem` by moving to it's own private method.