lib/chef-api/resources/data_bag.rb in chef-api-0.9.0 vs lib/chef-api/resources/data_bag.rb in chef-api-0.10.0

- old
+ new

@@ -34,10 +34,10 @@ raise ArgumentError unless File.directory?(path) bag = new(name: name) Util.fast_collect(Dir["#{path}/*.json"]) do |item| - DataBagItem.from_file(item, bag) + Resource::DataBagItem.from_file(item, bag) end end # #