s3_download_by_date 0.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42355945432c4611f873ccd0f06097a5efdbae0c
4
- data.tar.gz: 2fc954497f44325e226566ecf787d2b07c797981
3
+ metadata.gz: e5a6d6816f1ebd3260559c46515c9a493be909eb
4
+ data.tar.gz: 11fbd8e591fcb889ee073cc52f6c46634b1166e4
5
5
  SHA512:
6
- metadata.gz: 11bb79df712ad1f15b148f32324a955475ccfc142a020ef2e6cba7b6f86c0aaa8f6e019945ebda69fc59801613925f1fdf7b334d8d9910384a0e8d33d1ba0396
7
- data.tar.gz: 2b32215a4c9d8f4627f8ab854ab737593adf2513e9d9d25d41c4e9a51130b18eaaed30e100b8ab75454d1a060d09e2d72db9d20f87db05e65f87b88748ed1d29
6
+ metadata.gz: f201a79c83e3ed0548d7acc6b594bf1613acc28a39a7513c8604ef2f7cc2069f7e419c1d1a3e6aab3335f9f0d020ecd911618c8e88fcb41ffc502e0486035122
7
+ data.tar.gz: 6ba7b6db28b474e8482e6f33d1d97dbff5664bde591ff6466f111cd0e906f828e01c06ca0e04314914b2e648c1136faaf447d0603bb79456e499517f189e67ef
data/README.md CHANGED
@@ -4,8 +4,7 @@ S3 Download files by modifed date (Range)
4
4
 
5
5
  ## Installation
6
6
 
7
- $ gem install s3-download-by-date
8
-
7
+ $ gem install s3_download_by_date
9
8
 
10
9
  ## Configuration
11
10
  add to your ~/.bash_profile (~/.zprofile if using ZSH)
@@ -20,7 +19,11 @@ export AWS_SECRET_KEY="YOUR AWS SECRET KEY"
20
19
  ## Usage
21
20
 
22
21
  ````bash
23
- s3download range --bucket=s3-bucket-name --prefix=folder_or_file_prefix --from='yesterday at noon' --to='today at noon' --save-to=~/Downloads
22
+ s3download --bucket=s3-bucket-name \
23
+ --prefix=folder or file prefix on S3 \
24
+ --from='yesterday at noon' \
25
+ --to='today at noon' \
26
+ --save-to=~/Downloads
24
27
  ````
25
28
 
26
29
  s3download uses [Chronic](https://github.com/mojombo/chronic) library to set the --from and --to
@@ -29,7 +32,12 @@ s3download uses [Chronic](https://github.com/mojombo/chronic) library to set the
29
32
  Or download by timezone
30
33
 
31
34
  ````bash
32
- s3download range --timezone='Eastern Time (US & Canada)' ' --bucket=s3-bucket-name --prefix=folder_or_file_prefix --from='yesterday at noon' --to='today at noon' --save-to=~/Downloads
35
+ s3download --timezone='Eastern Time (US & Canada)' \
36
+ --bucket=s3-bucket-name \
37
+ --prefix=folder_or_file_prefix \
38
+ --from='yesterday at noon' \
39
+ --to='today at noon' \
40
+ --save-to=~/Downloads
33
41
  ````
34
42
 
35
43
  **Getting a list of timezones strings:**
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3_download_by_date
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ami Mahloof
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-04 00:00:00.000000000 Z
11
+ date: 2015-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor