[Dependency] Improve support with pre-release versions
Drop Gem::Dependency as it is not used anymore.