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 +9 -0
- data/lib/cherrypicker/version.rb +1 -1
- metadata +1 -1
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])
|
data/lib/cherrypicker/version.rb
CHANGED