simple-s3 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,13 +2,12 @@ class SimpleS3
2
2
 
3
3
  def self.config
4
4
  if @config.nil?
5
- @config = YAML.load('./simple-s3.yml')
5
+ @config = YAML.load_file('./simple-s3.yml')
6
6
  end
7
7
  @config
8
8
  end
9
9
 
10
10
  def self.upload!
11
- raise @config.to_yaml
12
11
  bucket = @config['bucket'].to_s
13
12
  raise 'Simple-S3: Bucket not defined' if bucket.length == 0
14
13
 
@@ -1,3 +1,3 @@
1
1
  class SimpleS3
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
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
  - 0
7
7
  - 0
8
- - 4
9
- version: 0.0.4
8
+ - 5
9
+ version: 0.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matias Niemela