minimal_pipeline 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/minimal_pipeline/lambda.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c37c14d19046556a927da494456a78c6cb394cbfa7d54e2275d52ddfdd7c2af
|
|
4
|
+
data.tar.gz: a0db9b658ce8b8892aa1fcb9eb009e09491888bac11e2d6e4fc4c547f865adf1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0229ca9e8090c89f20fcc67f9981af792482086dbb8bfd79077f1826260c96611859bb15359886c2bd685a38b4baff2193a7d57447be5081bf48e6108f6535be'
|
|
7
|
+
data.tar.gz: 553a6403abf62dc0ccf9b406f2ec242bdb93830c9c57c57cd8acbc71f0fa8206bcc578957cd02870dccd966ca4970c1c97ce806115a31c02992c6143a1d021c0
|
|
@@ -23,7 +23,7 @@ class MinimalPipeline
|
|
|
23
23
|
# @param zipefile_name [String] The path to the resulting zip file
|
|
24
24
|
def prepare_zipfile(input, zipfile_name)
|
|
25
25
|
Zip::File.open(zipfile_name, Zip::File::CREATE) do |zipfile|
|
|
26
|
-
if File.directory?(
|
|
26
|
+
if File.directory?(input)
|
|
27
27
|
input_filenames = Dir.entries(input) - %w[. ..]
|
|
28
28
|
input_filenames.each do |filename|
|
|
29
29
|
zipfile.add(filename, File.join(input, filename))
|