lib/stove/actions/bump.rb in stove-2.0.0.beta.1 vs lib/stove/actions/bump.rb in stove-2.0.0.beta.2
- old
+ new
@@ -6,10 +6,10 @@
validate(:changed) do
cookbook.version != options[:version]
end
validate(:incremented) do
- version = Gem::Version.new(options[:version])
+ version = Gem::Version.new(options[:version].dup)
Gem::Requirement.new("> #{cookbook.version}").satisfied_by?(version)
end
def run
log.info('Performing version bump')