Sha256: fc1cd797cb7dd2015d0239df416b32dbbf325d31c36934e71127405a854c7060
Contents?: true
Size: 360 Bytes
Versions: 33
Compression:
Stored size: 360 Bytes
Contents
def delete_matching_keys_on_bucket(prefix) s3_object.buckets[minimal_settings["bucket"]].objects.with_prefix(prefix).each do |obj| obj.delete end end def key_exists_on_bucket?(key) s3_object.buckets[minimal_settings["bucket"]].objects[key].exists? end def events_in_files(files) files.collect { |file| File.foreach(file).count }.inject(&:+) end
Version data entries
33 entries across 33 versions & 2 rubygems