zumobi 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,13 @@ module Zumobi
13
13
  AWS::S3::S3Object.store(config.path, data, config.bucket, options)
14
14
  end
15
15
 
16
+ def self.save_in_s3_with_path(data, path, options=Hash.new)
17
+ establish_s3_connection
18
+ config = Zumobi::S3.config()
19
+ puts "Sending file to http://#{config.bucket}/#{path}"
20
+ AWS::S3::S3Object.store(path, data, config.bucket, options)
21
+ end
22
+
16
23
  private
17
24
 
18
25
  def self.config
@@ -1,3 +1,3 @@
1
1
  module Zumobi
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zumobi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 14
10
- version: 0.0.14
9
+ - 15
10
+ version: 0.0.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alx Dark