simple-s3 1.0.12 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -70,10 +70,7 @@ class SimpleS3
70
70
 
71
71
  files.each do |file|
72
72
  path = File.expand_path(file)
73
- final_file = file
74
- if final_file =~ /^\.\//
75
- file_file = final_file[2..final_file.length-1]
76
- end
73
+ final_file = file.gsub(/^\.\//, '')
77
74
  puts "Simple-S3: Uploading #{file} as '#{final_file}' to '#{bucket}'"
78
75
  AWS::S3::S3Object.store(
79
76
  final_file,
@@ -1,3 +1,3 @@
1
1
  class SimpleS3
2
- VERSION = "1.0.12"
2
+ VERSION = "1.0.13"
3
3
  end
data/simple-s3.gem CHANGED
Binary file
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 12
9
- version: 1.0.12
8
+ - 13
9
+ version: 1.0.13
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matias Niemela