vmail 1.3.6 → 1.3.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.rb +9 -1
  2. data/lib/vmail/version.rb +1 -1
  3. metadata +3 -3
@@ -12,7 +12,15 @@ module Vmail
12
12
  puts "starting vmail #{Vmail::VERSION}"
13
13
 
14
14
  vim = ENV['VMAIL_VIM'] || 'vim'
15
- ENV['VMAIL_BROWSER'] ||= RUBY_PLATFORM.downcase.include?('linux') ? 'gnome-open' : 'open'
15
+ ENV['VMAIL_BROWSER'] ||= if RUBY_PLATFORM.downcase.include?('linux')
16
+ if `which gnome-open`.size > 0
17
+ 'gnome-open'
18
+ else
19
+ 'kfmclient-exec'
20
+ end
21
+ else
22
+ 'open'
23
+ end
16
24
 
17
25
  check_lynx
18
26
 
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = "1.3.6"
2
+ VERSION = "1.3.7"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 3
8
- - 6
9
- version: 1.3.6
8
+ - 7
9
+ version: 1.3.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-14 00:00:00 -05:00
17
+ date: 2011-01-15 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency