insxsync 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/insxsync/version.rb +1 -1
- data/lib/sync_point_collection.rb +0 -1
- metadata +1 -1
data/lib/insxsync/version.rb
CHANGED
@@ -78,7 +78,6 @@ class SyncPointCollection < ErrorHandlingIface
|
|
78
78
|
bucket = AWS::S3.new(:access_key_id => $AWS_ID, :secret_access_key => $AWS_SECRET).buckets[$SYNC_BUCKET]
|
79
79
|
|
80
80
|
bucket.objects.with_prefix(@points[id - 1].epoch_time).each do |obj|
|
81
|
-
next unless obj.key =~ /(.*?)\.sql/
|
82
81
|
suffix = obj.key.scan(/\d*\/(.*)/).flatten[0]
|
83
82
|
filename = File.join(dir, suffix)
|
84
83
|
FileUtils.mkdir_p(File.dirname(filename))
|