pyramid_scheme 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.4
1
+ 0.2.5
@@ -36,7 +36,7 @@ module PyramidScheme
36
36
  AWS::S3::Bucket.objects(@configuration[:bucket],
37
37
  :prefix => "#{@configuration[:prefix]}/").each do |obj|
38
38
 
39
- new_filename = File.basename(obj.key.gsub(@configuration[:prefix], '').gsub(/\./, ".new."))
39
+ new_filename = File.basename(obj.key.gsub("#{@configuration[:prefix]}/", '').gsub(/\./, ".new."))
40
40
  destined_path = File.join(@configuration[:client_destination_path], new_filename)
41
41
  File.open(destined_path, 'w') do |file|
42
42
  AWS::S3::S3Object.stream(obj.key, @configuration[:bucket]) do |chunk|
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 4
9
- version: 0.2.4
8
+ - 5
9
+ version: 0.2.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Dan Pickett