goog 0.1.9 → 0.2.0
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.
- data/lib/goog.rb +1 -1
- data/plugin/goog.vim +1 -6
- metadata +10 -5
data/lib/goog.rb
CHANGED
data/plugin/goog.vim
CHANGED
@@ -22,7 +22,6 @@ if ! exists("g:text_web_browser")
|
|
22
22
|
end
|
23
23
|
|
24
24
|
|
25
|
-
let s:web_page_bufname = "GoogWeb"
|
26
25
|
|
27
26
|
func! s:open_href_under_cursor(text_browser)
|
28
27
|
let res = search(s:http_link_pattern, 'cw')
|
@@ -35,11 +34,7 @@ func! s:open_href_under_cursor(text_browser)
|
|
35
34
|
let command = g:text_web_browser . ' ' . shellescape(href) . " "
|
36
35
|
" echom command
|
37
36
|
let result = system(command)
|
38
|
-
|
39
|
-
exec bufwinnr(s:web_page_bufname)."wincmd w "
|
40
|
-
else
|
41
|
-
exec "split ".s:web_page_bufname
|
42
|
-
endif
|
37
|
+
exec "split ".tempname()
|
43
38
|
silent! put! =result
|
44
39
|
silent! 1put! ='URL: '.href
|
45
40
|
silent! 2put! =''
|
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.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-08 00:00:00.
|
12
|
+
date: 2012-05-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,12 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
25
30
|
description: Simple command line interface to Google search
|
26
31
|
email:
|
27
32
|
- dhchoi@gmail.com
|
@@ -53,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
53
58
|
version: '0'
|
54
59
|
requirements: []
|
55
60
|
rubyforge_project: goog
|
56
|
-
rubygems_version: 1.8.
|
61
|
+
rubygems_version: 1.8.19
|
57
62
|
signing_key:
|
58
63
|
specification_version: 3
|
59
64
|
summary: Simple command line interface to Google search
|