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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86bfa11c22af92d92363055250afc9eb91809cc1
4
- data.tar.gz: 22488d588bca3ed1ed5de4e02b21a81fb00b22d7
3
+ metadata.gz: 1877dd76000693f18bb93eb3fd9ef7f3204f899b
4
+ data.tar.gz: a9c323bb9e7b32228d62c57c7a0605d90de39c6c
5
5
  SHA512:
6
- metadata.gz: 70e12abfac82cdbef65f56916b08842a87eed717609847a197c7534bed11e985eecd207d7e179252a3b1142b92e8b5667df7930b81e8052f04751baed308418a
7
- data.tar.gz: 4f43a22587aac67ce0c4fbcef5294c39535ee1e2ca6c384b658525bfa7e038ada8cf3073088da917ad8cf81ed7a9999a26de30617388475986466fe9f656c5bb
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.source.nil? ? 0 : -100) }.each do |(k, 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
@@ -1,3 +1,3 @@
1
1
  module SmartS3Sync
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_s3_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Rhoden