twail 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/twail.rb +1 -2
- data/twail.gemspec +1 -1
- metadata +1 -1
data/lib/twail.rb
CHANGED
@@ -70,8 +70,7 @@ if ARGV.first =~ /^s/ # search
|
|
70
70
|
max_pages = if ARGV[0] =~ /\d+/
|
71
71
|
ARGV.shift
|
72
72
|
end
|
73
|
-
|
74
|
-
query = "?q=#{ARGV.join(' ')}"
|
73
|
+
query = "?q=#{URI.escape(ARGV.join(' '))}"
|
75
74
|
$stderr.puts "Search query: #{ARGV.join(' ')}"
|
76
75
|
if max_pages
|
77
76
|
$stderr.puts "Max pages: #{max_pages}"
|
data/twail.gemspec
CHANGED