lib/berkshelf/dsl.rb in berkshelf-0.3.7 vs lib/berkshelf/dsl.rb in berkshelf-0.4.0.rc1
- old
+ new
@@ -30,10 +30,10 @@
File.basename(File.dirname(metadata_file))
else
metadata.name
end
- source = CookbookSource.new(name, :path => File.dirname(metadata_file))
+ source = CookbookSource.new(name, path: File.dirname(metadata_file))
add_source(source)
end
end
end