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`.

This changes allow fixes this type of lines from raising errors:
`gem 'shoulda-matchers', '~> 1.3.0'`