s3_download_by_date 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/s3download +5 -0
- metadata +21 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjA5OTYzNGYyM2ZkOTg1ZmZhYjZhOTgyOGIzM2EzZjY3MWRhY2RiNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzRmZWNhMzEwMjJkOWExYzQ3OTg4MGUxOGMyZjg3OTMzZTgwZGNmYQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YzEzNzE5YmZmYzMxYzNhNTE4NWI0NWQxZGI2MDI4MzlhOTdhNjc3ZDA4NzE1
|
10
|
+
NjQ5ZDZjNDEzMTI3ZTI5ZjllOWQ0NDI1ZjZkMmY0MGEyOGEwNWRkMGJkZjUw
|
11
|
+
YTI3MjZiNDQ2MDhiNzE0ZDJmY2FjN2M5ZjExNWU5MjIwMTZiMTE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OWM0YzQ2OGE5YmViNDc3MGU4NjhmZDYyM2UyY2Y0MGQyYjRmZjc2OWM3MTgz
|
14
|
+
Yzg5YTJkMDcxMjM2YmM1YjZiODhjZTQyOGU0YmI0NTVmMGFjMjJjMzdhOTVh
|
15
|
+
YjI5NzczNDU2NDc5NDQ2NDc4MTE2NWNkZjI1ZDdiNTNhNTVjZTk=
|
data/bin/s3download
CHANGED
@@ -28,6 +28,11 @@ class S3Downloader < Thor
|
|
28
28
|
puts <<-HELP
|
29
29
|
Download S3 files by range (date)
|
30
30
|
|
31
|
+
Setup:
|
32
|
+
export REGION='eu-west-1' (default to us-east-1)
|
33
|
+
export AWS_ACCESS_KEY="YOUR AWS KEY ID"
|
34
|
+
export AWS_SECRET_KEY="YOUR AWS SECRET KEY"
|
35
|
+
|
31
36
|
Usage:
|
32
37
|
s3download range --timezone='Eastern Time (US & Canada)' --bucket=S3 Bucket Name --prefix=folder inside the specified bucket --save-to=Location of downloaded files
|
33
38
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: s3_download_by_date
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ami Mahloof
|
@@ -90,6 +90,26 @@ dependencies:
|
|
90
90
|
- - ! '>='
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: 1.40.0
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: active-support
|
95
|
+
requirement: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ~>
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '4.1'
|
100
|
+
- - ! '>='
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 4.1.4
|
103
|
+
type: :runtime
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '4.1'
|
110
|
+
- - ! '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 4.1.4
|
93
113
|
description: Download files by modified date range
|
94
114
|
email: ami.mahloof@gmail.com
|
95
115
|
executables:
|