def end(cookbook)
      path = File.join('Cooks', cookbook.resource_hash)
      unless @bucket.key(path).exists?
        contents = cookbook.manifest_json
        @bucket.put(path, contents)
      end
    end
def end(cookbook)
      path = File.join('Cooks', cookbook.resource_hash)
      unless @bucket.key(path).exists?
        contents = cookbook.manifest_json
        @bucket.put(path, contents)
      end
    end
Create a new S3Upload.  In addition to the options recognized
 by Scanner, this class recognizes <tt>:s3_key</tt>,
 <tt>:s3_secret</tt>, and <tt>:s3_bucket</tt> and requires all
 of those.

 === Options
 <tt>:s3_key</tt>:: Required.  S3 access key.
 <tt>:s3_secret</tt>:: Required.  S3 secret key.
 <tt>:s3_bucket</tt>:: Required.  Bucket to upload cookbooks to.

 === Parameters
 options(Hash):: scanner options
 Upon ending a scan for a cookbook, upload the cookbook
 contents to S3.

 === Parameters
 cookbook(RightScraper::Cookbook):: cookbook to scan