lib/inspec/dependencies/requirement.rb in inspec-2.0.45 vs lib/inspec/dependencies/requirement.rb in inspec-2.1.0

- old
+ new

@@ -78,10 +78,10 @@ def to_hash h = { 'name' => name, 'resolved_source' => resolved_source, - 'version_constraints' => version_constraints.to_s, + 'version_constraints' => version_constraints, } if !dependencies.empty? h['dependencies'] = dependencies.map(&:to_hash) end