pipely 0.2.5 → 0.3.0

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: 1f65a60070f11e2cfb3c7b6909c9e0d43c4574b9
4
- data.tar.gz: f169365b34ab5a12887f6ae6199d29a9f0824c00
3
+ metadata.gz: 41fc3328b9562c634d8431f24de10627f682e827
4
+ data.tar.gz: 7bdc7a4693e34194baa787be589e1ca4e28d561d
5
5
  SHA512:
6
- metadata.gz: 0c8fb9e92983ee799daae4c9589efb74b631db5037e70b527a7fb701fcade65a6917a7d7ce2e3e49246f930b854777a5d02f0398e6b92dac0c7ece997caf5ff4
7
- data.tar.gz: 5b4d6207b8ab73458123f7c20c98d5afe1aad35b176d8a7b9a17e5d14b548ca8de17f322fbbf69e66a444f76687128c3ff05f59e9e02c3878b616547045bf47d
6
+ metadata.gz: c6bb2fb0e3872e128241b0760ef95ddc97a5c7baf534439eae8dcfaa76d7d115196bb1254e98723125dbadf5c5aba485c7d65ce183bb1e593149d2a2a23c7bca
7
+ data.tar.gz: 13495dbb6503f46cac2cd52682f9b3245e38970641e69081d59e13922f37987d3ac169253cf9fc68601564883bbee68523cfb0d4677386ef15720f88e7c8feb0
@@ -29,20 +29,25 @@ module Pipely
29
29
  end
30
30
 
31
31
  def s3_asset_prefix
32
- "s3://#{@assets_bucket}/#{@s3prefix}/#{START_TIME}"
32
+ "s3://#{@assets_bucket}/#{bucket_relative_s3_asset_prefix}"
33
33
  end
34
34
 
35
35
  def s3n_asset_prefix
36
36
  "s3n://#{@assets_bucket}/#{@s3prefix}/#{START_TIME}"
37
37
  end
38
38
 
39
+ def bucket_relative_s3_asset_prefix
40
+ "#{@s3prefix}/#{START_TIME}"
41
+ end
42
+
39
43
  def to_hash
40
44
  {
41
45
  :s3_log_prefix => s3_log_prefix,
42
46
  :s3_step_prefix => s3_step_prefix,
43
47
  :s3n_step_prefix => s3n_step_prefix,
44
48
  :s3_asset_prefix => s3_asset_prefix,
45
- :s3n_asset_prefix => s3n_asset_prefix
49
+ :s3n_asset_prefix => s3n_asset_prefix,
50
+ :bucket_relative_s3_asset_prefix => bucket_relative_s3_asset_prefix,
46
51
  }
47
52
  end
48
53
 
@@ -1,3 +1,3 @@
1
1
  module Pipely
2
- VERSION = "0.2.5" unless defined?(::DataPipelineGraphviz::VERSION)
2
+ VERSION = "0.3.0" unless defined?(::DataPipelineGraphviz::VERSION)
3
3
  end
@@ -39,6 +39,7 @@ describe Pipely::Build::S3PathBuilder do
39
39
  :s3n_step_prefix,
40
40
  :s3_asset_prefix,
41
41
  :s3n_asset_prefix,
42
+ :bucket_relative_s3_asset_prefix,
42
43
  ])
43
44
  end
44
45
  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.2.5
4
+ version: 0.3.0
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-02-27 00:00:00.000000000 Z
11
+ date: 2014-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-graphviz