diff options
author | Xabier de Zuazo <xabier.zuazo@evandti.com> | 2013-06-23 13:33:50 +0200 |
---|---|---|
committer | Xabier de Zuazo <xabier.zuazo@evandti.com> | 2013-06-23 13:33:50 +0200 |
commit | 02ee78c8e21c7708b33ce4a622d24d26dbbf84d7 (patch) | |
tree | f698423293f81665946498e3d3cf2b21ff496ea2 /lib/chef/version_constraint.rb | |
parent | 750eecd2120c69ff0dc53bfbe5b7514920541413 (diff) | |
download | chef-02ee78c8e21c7708b33ce4a622d24d26dbbf84d7.tar.gz |
[CHEF-4298] dependencies in metadata.rb require a space
Diffstat (limited to 'lib/chef/version_constraint.rb')
-rw-r--r-- | lib/chef/version_constraint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/version_constraint.rb b/lib/chef/version_constraint.rb index cc213abb3d..38686441a8 100644 --- a/lib/chef/version_constraint.rb +++ b/lib/chef/version_constraint.rb @@ -21,7 +21,7 @@ class Chef DEFAULT_CONSTRAINT = ">= 0.0.0" STANDARD_OPS = %w(< > <= >=) OPS = %w(< > = <= >= ~>) - PATTERN = /^(#{OPS.join('|')}) (.+)$/ + PATTERN = /^(#{OPS.join('|')}) *([0-9].*)$/ VERSION_CLASS = Chef::Version attr_reader :op, :version |