panoramix 0.7.22 → 0.7.23
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/panoramix/plugin/s3.rb +2 -1
- metadata +2 -2
data/lib/panoramix/plugin/s3.rb
CHANGED
@@ -29,7 +29,8 @@ module Panoramix
|
|
29
29
|
# When this instance needs to be executed
|
30
30
|
def needed? timestamps
|
31
31
|
return true if !created?
|
32
|
-
|
32
|
+
remote_size = shell("aws s3 ls --summarize #{@src} | head -n1 | awk 'END {print $3}'", true)[:out]
|
33
|
+
File.mtime(@dst) < timestamp || File.size(@dst) != remote_size.to_i
|
33
34
|
end
|
34
35
|
|
35
36
|
# Has this instance already been created
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: panoramix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.23
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-06-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pry
|