diff options
author | Brian Cobb <bcobb@uwalumni.com> | 2014-07-14 08:06:36 -0500 |
---|---|---|
committer | Brian Cobb <bcobb@uwalumni.com> | 2014-07-14 08:06:36 -0500 |
commit | ff3ff93a1cf762024169016f78dd4c45c9dd5a76 (patch) | |
tree | f52d7d213d7e742053b8a545f27c285678d71c61 /lib/chef/version_constraint.rb | |
parent | 3ec42a522a5b40d1ef217f23831b7417bda65761 (diff) | |
download | chef-ff3ff93a1cf762024169016f78dd4c45c9dd5a76.tar.gz |
Version constraints only show patch level if one is given
Diffstat (limited to 'lib/chef/version_constraint.rb')
-rw-r--r-- | lib/chef/version_constraint.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/version_constraint.rb b/lib/chef/version_constraint.rb index 7bfde41e74..eebbe8307c 100644 --- a/lib/chef/version_constraint.rb +++ b/lib/chef/version_constraint.rb @@ -50,11 +50,11 @@ class Chef end def inspect - "(#{@op} #{@version})" + "(#{to_s})" end def to_s - "#{@op} #{@version}" + "#{@op} #{@raw_version}" end def eql?(o) |