rainfall 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 +4 -4
- data/README.md +7 -1
- data/bin/rainfall +3 -2
- data/rainfall.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12ab516c4f60ce48973a67d1902c060e47ca0273
|
4
|
+
data.tar.gz: 0fbeb1f6a384264edde8438c2e60e73ed2b8e4dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0abea98fd5cc815c20e3d466197bc783381f3a4f6fbf0cd3bbf050584f27cbafebb0464d9af46b669484f07394039e0b89e3e90f3184fcb4fd48d47d0c521e5e
|
7
|
+
data.tar.gz: 5f22bc1da93c60aa3bf86b3e610e45bc15f5aaa05acc765c8583bdfea5f3e337f80d6d4be3cd7619743b2f20eedfb3c7b96ad97708b08b305865e052c80f50be
|
data/README.md
CHANGED
@@ -4,12 +4,18 @@ A ruby gem CLI for downloading everything in your [cloudapp](http://getcloudapp.
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
+
```sh
|
7
8
|
gem install rainfall
|
9
|
+
```
|
8
10
|
|
9
11
|
## Usage
|
10
12
|
|
13
|
+
```sh
|
11
14
|
rainfall ./target/download/dir
|
15
|
+
```
|
16
|
+
|
17
|
+
If the given directory doesn't exist, it will be created.
|
12
18
|
|
13
19
|
## License
|
14
20
|
|
15
|
-
WTFPL
|
21
|
+
[WTFPL](http://wtfpl.org/)
|
data/bin/rainfall
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
require "io/console"
|
3
4
|
%w(date uri rubygems cloudapp_api httparty stamp).each {|lib| require lib }
|
4
5
|
|
5
6
|
if ARGV.empty?
|
@@ -10,9 +11,9 @@ else
|
|
10
11
|
end
|
11
12
|
|
12
13
|
puts "What's your cloudapp email address?"
|
13
|
-
email =
|
14
|
+
email = STDIN.gets.chomp
|
14
15
|
puts "What's your cloudapp password?"
|
15
|
-
password =
|
16
|
+
password = STDIN.noecho(&:gets).chomp
|
16
17
|
|
17
18
|
CloudApp.authenticate email, password
|
18
19
|
|
data/rainfall.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.homepage = "https://github.com/zeke/rainfall"
|
9
9
|
gem.files = `git ls-files`.split($\)
|
10
10
|
gem.executables = ["rainfall"]
|
11
|
-
gem.version = "0.1.
|
11
|
+
gem.version = "0.1.1"
|
12
12
|
gem.add_development_dependency 'rake'
|
13
13
|
gem.add_dependency 'cloudapp_api', '~> 0.4.0'
|
14
14
|
gem.add_dependency 'httparty', '~> 0.12.0'
|