Adding protected_attributes to the gemspec file to make the gem compatible with rails 4