smart_s3_sync 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smart_s3_sync/file_table.rb +1 -1
- data/lib/smart_s3_sync/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1877dd76000693f18bb93eb3fd9ef7f3204f899b
|
4
|
+
data.tar.gz: a9c323bb9e7b32228d62c57c7a0605d90de39c6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8c0683871f22c9e1fad10faef86f5108944ece2a71868f5246d61c5998ac3104b536e54166d9b1bf8c00406ec6a14b1a3aa186a51e3d446097008ff4e2f4835
|
7
|
+
data.tar.gz: 762076a8dcc8d02bae68802d194b9384cc1e7ba1e2574652ca987fa62e647c323975ccdf76973a1d9c23af282e47ef3d13b8d1e38729d535d1695a1afcc48231
|
@@ -18,7 +18,7 @@ module SmartS3Sync
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def copy!(fog_dir)
|
21
|
-
@map.sort_by{|(k, target)| -target.destinations.length + (target.
|
21
|
+
@map.sort_by{|(k, target)| -target.destinations.length + (target.local_source.nil? ? 0 : -100) }.each do |(k, target)|
|
22
22
|
target.copy!(fog_dir)
|
23
23
|
end
|
24
24
|
end
|