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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e839815ff52e5865f3e6cf0e49fe61798c5847a
4
- data.tar.gz: cd869828456674c544d4395796d116c8eda5c2e4
3
+ metadata.gz: dff3422f65dcda2415bf415fcb54ca6d746a6ce4
4
+ data.tar.gz: 603e22f404b44050e90724e4d4d502ac2e374afc
5
5
  SHA512:
6
- metadata.gz: ba13a75d7f3b2229a6df2eba6ce59917e935278871d56c3fab3f583b935f6d4d571652d04e1a0fddff330c4c4eceb2084931b7a2247af90c2c62b36d032efdcf
7
- data.tar.gz: 696bd1202d627933f77be23cff2121283a159dfbe83968b6c5f69afa9b0849e509aa0badf32510595f2c8baa5fa55f5082249a9e5531353b8b3ce082117a82a8
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 = "#{s3_path}/#{File.basename(file_name)}"
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
@@ -1,3 +1,3 @@
1
1
  module Pipely
2
- VERSION = "0.4.2" unless defined?(::Pipely::VERSION)
2
+ VERSION = "0.4.3" unless defined?(::Pipely::VERSION)
3
3
  end
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.2
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-04-14 00:00:00.000000000 Z
11
+ date: 2014-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-graphviz