simple-s3 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
@@ -1,13 +1,13 @@
1
1
  class SimpleS3
2
2
 
3
- def config
3
+ def self.config
4
4
  if @config.nil?
5
5
  @config = YAML.load('./simple-s3.yml')
6
6
  end
7
7
  @config
8
8
  end
9
9
 
10
- def upload!
10
+ def self.upload!
11
11
  bucket = @config['bucket'].to_s
12
12
  raise 'Simple-S3: Bucket not defined' if bucket.length == 0
13
13
 
@@ -1,3 +1,3 @@
1
1
  class SimpleS3
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
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
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matias Niemela
@@ -33,7 +33,7 @@ description: This Gem allows you to push your static content to AWS S3.
33
33
  email:
34
34
  - matias@yearofmoo.com
35
35
  executables:
36
- - simple-s3.rb
36
+ - simple-s3
37
37
  extensions: []
38
38
 
39
39
  extra_rdoc_files: []
@@ -41,7 +41,7 @@ extra_rdoc_files: []
41
41
  files:
42
42
  - .gitignore
43
43
  - README.md
44
- - bin/simple-s3.rb
44
+ - bin/simple-s3
45
45
  - lib/simple-s3.rb
46
46
  - lib/simple-s3/simple-s3.rb
47
47
  - lib/simple-s3/version.rb