lib/berkshelf/formatters/json.rb in berkshelf-3.0.0.beta9 vs lib/berkshelf/formatters/json.rb in berkshelf-3.0.0.rc1

- old
+ new

@@ -64,21 +64,21 @@ # Add a Cookbook upload entry to delayed output # # @param [Berkshelf::CachedCookbook] cookbook # @param [Ridley::Connection] conn - def upload(cookbook, conn) + def uploaded(cookbook, conn) name = cookbook.cookbook_name cookbooks[name] ||= {} cookbooks[name][:version] = cookbook.version cookbooks[name][:uploaded_to] = conn.server_url end # Add a Cookbook skip entry to delayed output # # @param [Berkshelf::CachedCookbook] cookbook # @param [Ridley::Connection] conn - def skip(cookbook, conn) + def skipping(cookbook, conn) name = cookbook.cookbook_name cookbooks[name] ||= {} cookbooks[name][:version] = cookbook.version cookbooks[name][:skipped] = true end