From 02ee78c8e21c7708b33ce4a622d24d26dbbf84d7 Mon Sep 17 00:00:00 2001 From: Xabier de Zuazo Date: Sun, 23 Jun 2013 13:33:50 +0200 Subject: [CHEF-4298] dependencies in metadata.rb require a space --- lib/chef/version_constraint.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/version_constraint.rb') 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 -- cgit v1.2.1