twail 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/twail.rb +1 -2
  2. data/twail.gemspec +1 -1
  3. 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
@@ -2,7 +2,7 @@
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "twail"
5
- s.version = '0.0.7'
5
+ s.version = '0.0.8'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.required_ruby_version = '>= 1.9.0'
8
8
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: twail
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.7
5
+ version: 0.0.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi