s3last 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b70bbdcf38db30f1fc26bd629aa9aa587c870b4
4
- data.tar.gz: 9bbafb8b72a0b5c7fdd6c6e9aa1dbad9123f7efc
3
+ metadata.gz: efab53394b74edafde9fb430cf793c6be0577847
4
+ data.tar.gz: 8a251b4a9313c11d34aa4a622805506bfd9be845
5
5
  SHA512:
6
- metadata.gz: 2fa3b605d828ae94b2bb46f792f682909ab5f6e038b7f5b5ea5f554c44db9572b49cc1cf02d3c28382d9a56c18cbdbdb26b23f44ac65e6e11948fa5c89ee02e3
7
- data.tar.gz: 4398e41bc15a2d94cd9ce9cc0db3ad0b332b82813e84da7baf73ab8aa9c4c22aa8d99447d89fea191b58a565cb740c25c83e1b88fb93b0163408926a2b982388
6
+ metadata.gz: 23d5a3a97d7e6344edaa279f0160c5a79ab9251456dd8b56de5a8206b924689dcd9fd5b4a68edee1b9b5235301a7c9eae709026b1001f88b16c26fc34aa7b6ec
7
+ data.tar.gz: 383720c824b7abb9f8a8f05613c2f3f43554b9691e01a295e5c627d4f93fbfce3aad6198414df6e2625d49286b3638ec5ac5b0fade85764ebbd73ee1f7287e1d
data/README.md CHANGED
@@ -8,3 +8,6 @@ AWS_SECRET_ACCESS_KEY=key
8
8
  AWS_REGION=region-name
9
9
  AWS_DUMPS_BUCKET=bucket-name
10
10
  ```
11
+
12
+ Then just run `s3download`. The last file from the specified bucket on the `AWS_DUMPS_BUCKET ` will be downloaded to the `$HOME/Downloads` directory,
13
+ for now this path is hard coded.
@@ -1,3 +1,3 @@
1
1
  module S3last
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/s3last.gemspec CHANGED
@@ -22,4 +22,5 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "bundler", "~> 1.12"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  spec.add_development_dependency "minitest", "~> 5.0"
25
+ spec.add_runtime_dependency "aws-sdk", "~> 2.0"
25
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3last
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cassio Godinho
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: aws-sdk
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.0'
55
69
  description: Download last file on specified bucket
56
70
  email:
57
71
  - cassiopgodinho@gmail.com