Fix bug when gem parameters are not a `Hash`
This fixes `TypeError` being raised whenever the parameters a gem has are not a `Hash`.

Example:
`gem 'shoulda-matchers', '~> 1.3.0'`