pipely 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pipely/tasks/upload_steps.rb +4 -2
- data/lib/pipely/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dff3422f65dcda2415bf415fcb54ca6d746a6ce4
|
4
|
+
data.tar.gz: 603e22f404b44050e90724e4d4d502ac2e374afc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d7ce96d6681a72bef4e97ebdc48bdc9240218bd3261b5ad81f0773fa81783200849c24298e50452293e2c0c53da2c5836976a5201a400596ca0d46f734737f4
|
7
|
+
data.tar.gz: eacde68acb0b6ad1fcea28bf65a329933b373847933436ca5b57f9bd4053fa148fb4d8d10429bf504269fc0f4e5ef4bc99b5f1a9964f55907824eeecd8421914
|
@@ -59,7 +59,7 @@ module Pipely
|
|
59
59
|
def run_task(verbose)
|
60
60
|
with_bucket do |directory|
|
61
61
|
step_files.each do |file_name|
|
62
|
-
dest =
|
62
|
+
dest = file_name.sub(/^#{local_path}/, s3_path)
|
63
63
|
puts "uploading #{dest}" if verbose
|
64
64
|
directory.files.create(key: dest, body: File.read(file_name))
|
65
65
|
end
|
@@ -78,7 +78,9 @@ module Pipely
|
|
78
78
|
end
|
79
79
|
|
80
80
|
def step_files
|
81
|
-
FileList.new(File.join(local_path, "*"))
|
81
|
+
FileList.new(File.join(local_path, "**", "*")).reject { |fname|
|
82
|
+
File.directory?( fname )
|
83
|
+
}
|
82
84
|
end
|
83
85
|
|
84
86
|
end
|
data/lib/pipely/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pipely
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Gillooly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-graphviz
|