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.
- data/lib/simple-s3/simple-s3.rb +1 -2
- data/lib/simple-s3/version.rb +1 -1
- data/simple-s3.gem +0 -0
- metadata +2 -2
data/lib/simple-s3/simple-s3.rb
CHANGED
@@ -2,13 +2,12 @@ class SimpleS3
|
|
2
2
|
|
3
3
|
def self.config
|
4
4
|
if @config.nil?
|
5
|
-
@config = YAML.
|
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
|
|
data/lib/simple-s3/version.rb
CHANGED
data/simple-s3.gem
CHANGED
Binary file
|