goog 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/goog +1 -1
  2. data/lib/goog.rb +1 -1
  3. metadata +1 -1
data/bin/goog CHANGED
@@ -64,7 +64,7 @@ end
64
64
  next unless li.at('h3 a')
65
65
  href = li.at('h3 a')['href']
66
66
  link = ((h = href[/^\/url\?q=([^&]+)/, 1]) && URI.unescape(h)) || href
67
- if link !~ /^http:/
67
+ if link !~ /^https?:/
68
68
  link = "http://google.com#{link}"
69
69
  end
70
70
  title = li.at('h3 a').inner_text
@@ -1,3 +1,3 @@
1
1
  module Goog
2
- VERSION = '0.0.9'
2
+ VERSION = '0.1.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: