diff options
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 6b57cfefe1..bce2a29887 100644 --- a/lib/chef/version_constraint.rb +++ b/lib/chef/version_constraint.rb @@ -21,7 +21,7 @@ class Chef DEFAULT_CONSTRAINT = ">= 0.0.0".freeze STANDARD_OPS = %w{< > <= >=}.freeze OPS = %w{< > = <= >= ~>}.freeze - PATTERN = /^(#{OPS.join('|')}) *([0-9].*)$/ + PATTERN = /^(#{OPS.join('|')}) *([0-9].*)$/.freeze VERSION_CLASS = Chef::Version attr_reader :op, :version |