rainfall 0.1.0 → 0.1.1

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 +4 -4
  2. data/README.md +7 -1
  3. data/bin/rainfall +3 -2
  4. data/rainfall.gemspec +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97f5f489c934f6bf865dcd2a06df4c3230bd803d
4
- data.tar.gz: 116f5686fa66c7f5eab424eeceee2221ff25ad15
3
+ metadata.gz: 12ab516c4f60ce48973a67d1902c060e47ca0273
4
+ data.tar.gz: 0fbeb1f6a384264edde8438c2e60e73ed2b8e4dd
5
5
  SHA512:
6
- metadata.gz: 84af6fe8c0de04cba42296f6301367b341ba3e85ca8e863d091cfd7664a3f94bd046d61088a3142c3b688fc44c7f7a04f466c9517406a1c04fd83aaffc7e99b0
7
- data.tar.gz: 0460a6132d08bcf507473015e90d1762365d2f7e8767b3c4ae1afeeaa34e5a181d81bdefdefaab1fb272c7991a787c79773c7a9258fb973e8d9447edff772cd8
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 = $stdin.gets.chomp
14
+ email = STDIN.gets.chomp
14
15
  puts "What's your cloudapp password?"
15
- password = $stdin.gets.chomp
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.0"
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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rainfall
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
  - Zeke Sikelianos