oldskool-gcse 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/oldskool/gcse_handler.rb +3 -3
- metadata +4 -4
@@ -26,9 +26,9 @@ module Oldskool
|
|
26
26
|
|
27
27
|
escaped = URI.escape((query || keyword))
|
28
28
|
|
29
|
-
sidemenu = [{:title => "Google", :url => "
|
30
|
-
{:title => "Images", :url => "
|
31
|
-
{:title => "Videos", :url => "
|
29
|
+
sidemenu = [{:title => "Google", :url => "https://google.com/search?q=#{escaped}"},
|
30
|
+
{:title => "Images", :url => "https://google.com/search?q=#{escaped}&tbm=isch"},
|
31
|
+
{:title => "Videos", :url => "https://google.com/search?q=#{escaped}&tbm=vid"}]
|
32
32
|
|
33
33
|
{:template => plugin_template(:gcse), :gcse => gcse, :sidemenu => sidemenu}
|
34
34
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oldskool-gcse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- R.I.Pienaar
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2014-09-11 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|