chef-zero 1.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -105,7 +105,7 @@ module ChefZero
105
105
  return versions if !constraint
106
106
  constraint = Gem::Requirement.new(constraint)
107
107
  new_versions = versions[cookbook_name]
108
- new_versions = new_versions.select { |version| constraint.satisfied_by?(Gem::Version.new(version)) }
108
+ new_versions = new_versions.select { |version| constraint.satisfied_by?(Gem::Version.new(version.dup)) }
109
109
  result = versions.clone
110
110
  result[cookbook_name] = new_versions
111
111
  result
@@ -1,3 +1,3 @@
1
1
  module ChefZero
2
- VERSION = '1.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: