vmail 2.1.6 → 2.1.7

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/vmail.vim +3 -3
  2. data/lib/vmail/version.rb +1 -1
  3. metadata +2 -2
@@ -693,7 +693,7 @@ func! s:open_href(all) range
693
693
  while lnum <= a:lastline
694
694
  let href = matchstr(getline(lnum), pattern)
695
695
  if href != ""
696
- let command = s:browser_command . " '" . href . "' &"
696
+ let command = s:browser_command ." ".shellescape(href)." &"
697
697
  call system(command)
698
698
  let n += 1
699
699
  endif
@@ -706,7 +706,7 @@ func! s:open_href(all) range
706
706
  if line && a:all
707
707
  while line
708
708
  let href = matchstr(getline(line('.')), pattern)
709
- let command = s:browser_command . " '" . href . "' &"
709
+ let command = s:browser_command ." ".shellescape(href)." &"
710
710
  call system(command)
711
711
  let n += 1
712
712
  let line = search('https\?:', 'W')
@@ -714,7 +714,7 @@ func! s:open_href(all) range
714
714
  echom 'opened '.n.' links'
715
715
  else
716
716
  let href = matchstr(getline(line('.')), pattern)
717
- let command = s:browser_command . " '" . href . "' &"
717
+ let command = s:browser_command ." ".shellescape(href)." &"
718
718
  call system(command)
719
719
  echom 'opened '.href
720
720
  endif
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.1.6'
2
+ VERSION = '2.1.7'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: vmail
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.1.6
5
+ version: 2.1.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-07 00:00:00 -04:00
13
+ date: 2011-07-08 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency