jaxx 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +22 -5
  3. data/jaxx.gemspec +1 -1
  4. data/lib/jaxx/version.rb +1 -1
  5. metadata +6 -6
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWE4Njg1NTJkYjVlNzczODI4NDZiOWExZjRhMTQ5NDkyZjUzMWRjYQ==
4
+ OWU4MzRjZDY5ZmYyMDVkYzdkZWYyMDc5MzZjOTBlMjNjNmMyNzZiMA==
5
5
  data.tar.gz: !binary |-
6
- MDI3NWMxNWJjODg5ZDk1MWIxNjBiNTExYTViZDRhOWQ4MjFmOTM4MA==
6
+ MzAwZWVlYTc2NWI5NGIzYWIxNzE3NzQzZDczMDVkN2I1MThkYjBkNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZjkxNmI3M2I0YTMzZWQzNDdhMjY4MzM5MzNlZmE3ZmY4NWIxODQ4MzFmNTdj
10
- MWU2YjdjNGM3NmVhMmNjMjI3OGMzOTcwM2JkNjQ1NWNmZDkxNjk0NzAyMmNk
11
- MDBkODExNzUzYzVkODI5YjQwZDRiNWRiOGZlN2ZiYTQ1OTY3N2I=
9
+ NjU5YjczZTFhOTI5ODM5YzAzOTY2M2ZiNzJiMmU3NGE0YmMzNjhjOTEzOWFj
10
+ NThjYjYzZjMyNTk0NDlmMjcyM2Q4ZWVhOTllZWVlY2I5ZTEyMWIyNmQzNTI2
11
+ MWMzZjgxOTc5OWM4ZTU5MzRkOTM1ZDdkM2E4OTg1YTU2MGM4YzQ=
12
12
  data.tar.gz: !binary |-
13
- NWQ3ZmVmMmI4Y2FjYzJjZGVkOGQ5ZTEzOTZhN2JlNzhiYjJhZGUwOWExOTg0
14
- MWE1NGQ5Yjc2NjUyZDRjZTc1YWFkN2U0NmZlMDU4YmU5MjE4NzhiMjExNGVk
15
- OTgzOTJkOTZmY2MzY2UwMGEyYTVkNjQ1NWU3NDU5YjcyMmYzZGY=
13
+ MzkwOTI0Mjc4YTNlMmEzNzQyNzI1NGNiOTNhMGJmMzU0NzZjN2I2YTU2MDgx
14
+ NjEzZTRhZGFjYjc3Y2VmNGQ5NDY5MTM0NDNlMTM1MmMzZDFiOTUxMWVlY2Y3
15
+ YjIyOGViZWNlMzYwMWQ3YWRmMGZhZmJjNTQ0NmQ5Y2YzZjIyMTE=
data/README.md CHANGED
@@ -28,6 +28,7 @@ Or install it yourself as:
28
28
  --access-secret
29
29
  -f, --file [FILE]
30
30
  -p, --privacy [PRIVACY]
31
+ -r, --retries [retries]
31
32
  -h, --help
32
33
  ```
33
34
 
@@ -41,6 +42,7 @@ Or install it yourself as:
41
42
  --access-secret
42
43
  -f, --file [FILE]
43
44
  -p, --privacy [PRIVACY]
45
+ -r, --retries [retries]
44
46
  -h, --help
45
47
  ```
46
48
 
@@ -54,31 +56,46 @@ Or install it yourself as:
54
56
 
55
57
  ## Examples
56
58
 
57
- ### Upload from local machine
59
+ ### Upload file from local machine
58
60
  ```
59
61
  jaxx-upload -b test-bucket -f vapour.txt -k MY_KEY -s MY_SECRET
60
62
  ```
61
63
 
62
- ### Download to local machine
64
+ ### Upload directory from local machine
65
+ ```
66
+ jaxx-upload -b test-bucket -f dir/ -k MY_KEY -s MY_SECRET
67
+ ```
68
+
69
+ ### Download file to local machine
63
70
  ```
64
71
  jaxx-download -b test-bucket -f vapour.txt -k MY_KEY -s MY_SECRET
65
72
  ```
66
73
 
67
- ### Upload to S3 from AWS Instance
74
+ ### Upload file to S3 from AWS Instance
68
75
  ```
69
76
  jaxx-upload -b test-bucket -f vapour.txt
70
77
  ```
71
78
 
72
- ### Download from S3 to current folder from AWS Instance
79
+ ### Download file from S3 to current folder from AWS Instance
73
80
  ```
74
81
  jaxx-download -b test-bucket -f vapour.txt
75
82
  ```
76
83
 
77
- ### Upload from local machine, and make it publicly available
84
+ ### Upload file from local machine, and make it publicly available
78
85
  ```
79
86
  jaxx-upload -b test-bucket -f vapour.txt -k MY_KEY -s MY_SECRET -p public
80
87
  ```
81
88
 
89
+ ### Upload directory from local machine, and make it publicly available
90
+ ```
91
+ jaxx-upload -b test-bucket -f dir/ -k MY_KEY -s MY_SECRET -p public
92
+ ```
93
+
94
+ ### Download file from S3 to current folder from AWS Instance, and retry 5 times on failure
95
+ ```
96
+ jaxx-download -b test-bucket -f vapour.txt -r 5
97
+ ```
98
+
82
99
  ### Get information on the instance you are currently on
83
100
  ```
84
101
  jaxx-aboutme -d
data/jaxx.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Jaxx::VERSION
17
17
 
18
- gem.add_dependency 'fog'
18
+ gem.add_dependency 'fog', '1.10.0'
19
19
  gem.add_dependency 'json'
20
20
  gem.add_dependency 'mime-types'
21
21
  gem.add_development_dependency 'rake'
data/lib/jaxx/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jaxx
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jaxx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Watts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-11 00:00:00.000000000 Z
11
+ date: 2013-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 1.10.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 1.10.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json
29
29
  requirement: !ruby/object:Gem::Requirement