lib/astrails/safe/s3.rb in astrails-safe-0.2.1 vs lib/astrails/safe/s3.rb in astrails-safe-0.2.2
- old
+ new
@@ -35,10 +35,10 @@
return if $LOCAL
return unless keep = @config[:keep, :s3]
- puts "listing files in #{bucket}:#{base}" if $_VERBOSE
+ puts "listing files: #{bucket}:#{base}*" if $_VERBOSE
files = AWS::S3::Bucket.objects(bucket, :prefix => base, :max_keys => keep * 2)
puts files.collect {|x| x.key} if $_VERBOSE
files = files.
collect {|x| x.key}.