lib/ridley/chef/cookbook.rb in ridley-1.1.1 vs lib/ridley/chef/cookbook.rb in ridley-1.2.0

- old
+ new

@@ -185,12 +185,12 @@ result = manifest.dup result[:chef_type] = CHEF_TYPE result[:name] = name result[:cookbook_name] = cookbook_name result[:version] = version - result[:metadata] = metadata + result[:metadata] = metadata.to_hash result[:frozen?] = frozen - result.to_hash + result end def to_json(*args) result = self.to_hash result['json_class'] = CHEF_JSON_CLASS