amazon_s3 0.0.1 → 0.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c64ed649066268ac1bb10d598a7a41e58522e15c
4
- data.tar.gz: 52b166e5766f765fa75f3e3981a2f8d5df483249
3
+ metadata.gz: 43221cd8c0182e5a9f4cdef82f58033a283d2c4b
4
+ data.tar.gz: ce134d9aaaf194929bde33679c7e39c9f09dce6a
5
5
  SHA512:
6
- metadata.gz: 1a18818f079c5d72fd67f5adb7174396fffa8441eacbd15d3bdddb40728a91a41fa1c3bfda59a6e8054d4982844b09e54636e3dc45e90b973d027ad7f33b3f90
7
- data.tar.gz: 58a3596e967da8b5dc11b0d5d771d2d6e1f8738ee28a73462a7352d0d188c91b296393ce939635e7e39f903fe27665ebc7958b591670db53e7e0791f5efe9a73
6
+ metadata.gz: bbc0f56c97773c0a43083f23b555b14104c3b37ab3677a3b7cb501fae42c97e4d74af31689784c1ca13b75f855e02f08c74272c64eaaf71ec7e6feeb23f645e6
7
+ data.tar.gz: 2b80ec00671c6ec2da3fb5c51868c6d062aed7f1f387c1cdcdc47c0097ecedf996ede78adc08898bb3ff606681a894f7becf5c9f793ba84126a890c3aa867f1a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- amazon_s3 (0.0.1)
4
+ amazon_s3 (0.0.2)
5
5
  aws-sdk
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -19,28 +19,28 @@ Or install it yourself as:
19
19
 
20
20
  ## Usage
21
21
 
22
- AmazonS3::Handler.new("secret_access_key", "access_key_id", "bucket_name", "bucket_path")
22
+ AmazonS3::Handler.new("secret_access_key", "access_key_id", "bucket_name", "bucket_path")
23
23
 
24
24
  e.g
25
25
 
26
- bucket name = "development"
27
- bucket_path = "files/images"
26
+ bucket name = "development"
27
+ bucket_path = "files/images"
28
28
 
29
- handler = AmazonS3::Handler.new("secret_access_key", "access_key_id", bucket_name, bucket_path)
29
+ handler = AmazonS3::Handler.new("secret_access_key", "access_key_id", bucket_name, bucket_path)
30
30
 
31
31
  This will look into development/files/images folder on s3.
32
32
 
33
33
  If you want to upload to bucket only then skip bucket_path parameter
34
- bucket name = "development"
34
+ bucket name = "development"
35
35
 
36
- handler = AmazonS3::Handler.new("secret_access_key", "access_key_id", bucket_name)
36
+ handler = AmazonS3::Handler.new("secret_access_key", "access_key_id", bucket_name)
37
37
 
38
38
 
39
- handler.upload_file('file_path')
40
- => uploaded file name (random hex)
39
+ handler.upload_file('file_path')
40
+ => uploaded file name (random hex)
41
41
 
42
- hander.donwnload_file(file_name)
43
- => file from s3
42
+ hander.donwnload_file(file_name)
43
+ => file from s3
44
44
 
45
45
  file_name is the file name of file on s3 retruned after download_file method.
46
46
 
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["tauqeer.ahmad2008@gmail.com"]
11
11
  spec.summary = %q{Using amazon_s3 you can directly upload and download files from amazon s3 buckets}
12
12
  spec.description = %q{Using amazon_s3 you can directly upload and download files from amazon s3 buckets}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/tauqeerahamd/amazon_s3"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = [
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
19
19
  "README.md",
20
20
  "Rakefile",
21
21
  "lib/amazon_s3.rb",
22
- "lib/amazon_s3/amazon_s3.rb",
23
22
  "amazon_s3.gemspec",
24
23
  ]
25
24
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon_s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tauqeer
@@ -66,8 +66,7 @@ files:
66
66
  - Rakefile
67
67
  - amazon_s3.gemspec
68
68
  - lib/amazon_s3.rb
69
- - lib/amazon_s3/amazon_s3.rb
70
- homepage: ''
69
+ homepage: https://github.com/tauqeerahamd/amazon_s3
71
70
  licenses:
72
71
  - MIT
73
72
  metadata: {}
File without changes