1

我的*.gemspec文件包含这样的内容:

Gem::Specification.new do |spec|
    ...
    spec.add_development_dependency "guard", "~> 2.12.6"
    spec.add_development_dependency "unicorn"
    ....
end

是否有一种自动化的方法可以将所有版本更改/添加到最新版本?所以最后它看起来像(假设这里所说的版本是最新的):

Gem::Specification.new do |spec|
    ...
    spec.add_development_dependency "guard", "~> 2.13.0"
    spec.add_development_dependency "unicorn", "~> 5.0.1"
    ....
end
4

0 回答 0