dronejob 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/dronejob/version.rb +1 -1
- data/lib/dronejob/workspace_dir/archive.rb +2 -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: 7924802c83a03188bafe1a8aa8bbef56c2e6a769
|
4
|
+
data.tar.gz: 6466de4aa44dadb841b87db4868450153523a941
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 954aa63abf98f866f5ee232da0001464c957e86c7cbcaa10a6569b109c7ffcd1f79331e3df60e074e3f57bc515ea5299fd311d44b29d9b3ffe5000770df99787
|
7
|
+
data.tar.gz: f161beb2214b1623a43abea423335e58f45bc0ae481b964838d81823c951e3979067970b8c036146206c93b1218058ede170cf801b1ff6b1ada426e1bce66164
|
data/Gemfile.lock
CHANGED
data/lib/dronejob/version.rb
CHANGED
@@ -8,7 +8,8 @@ module Dronejob
|
|
8
8
|
require "zip"
|
9
9
|
Zip::File.open(target_file.to_s, 'w') do |zipfile|
|
10
10
|
Dir["#{to_s}/**/**"].each do |file|
|
11
|
-
|
11
|
+
path = file.sub("#{to_s}/",'')
|
12
|
+
zipfile.add(path, file) unless block_given? and !yield(path)
|
12
13
|
end
|
13
14
|
end
|
14
15
|
self
|