vmail 1.3.6 → 1.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vmail.rb +9 -1
- data/lib/vmail/version.rb +1 -1
- metadata +3 -3
data/lib/vmail.rb
CHANGED
@@ -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')
|
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
|
|
data/lib/vmail/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 1.3.
|
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-
|
17
|
+
date: 2011-01-15 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|