This isn't a hack. This is actually how you pin version in a gemspec. You pin versions when your dependencies drop support for rubies (or some other history of instability) in minor version bumps. Noting so would also probably be better than referencing a private ticket in a public project.