I am trying to change a gem that currently has a dependency on activeresource defined as:
s.add_dependency "activeresource", "~> 3.0"
To get a gem that works with Rails 4, I need to expand the dependency to work with version 3 or 4 from activeresource. I do not want to simply add the following, as this may cause problems later:
s.add_dependency "activeresource", ">= 3.0"
Is there a way to specify a list of valid versions? ~> 3.0 or ~> 4.0?
Simmo source
share