cherrypicker 0.3.8 → 0.3.9

Sign up to get free protection for your applications and to get access to all the features.
data/bin/cherrypick CHANGED
@@ -33,4 +33,13 @@ if options[:directory] && !File.directory?(options[:directory]) then
33
33
  exit
34
34
  end
35
35
 
36
+ if ARGV[0].include?("rapidshare.com/files/") or ARGV[0].include?("hotfile.com/dl/")
37
+ unless options[:username] and options[:password] != nil?
38
+ puts "Host required username / password"
39
+ puts
40
+ usage
41
+ exit
42
+ end
43
+ end
44
+
36
45
  Cherrypicker::Cherrypick.new(ARGV[0], :location => options[:directory], :username => options[:username], :password => options[:password])
@@ -1,3 +1,3 @@
1
1
  module Cherrypicker
2
- VERSION = "0.3.8"
2
+ VERSION = "0.3.9"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cherrypicker
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.8
5
+ version: 0.3.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Karl Entwistle