vmail 2.8.5 → 2.8.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,8 +37,8 @@ module Vmail
37
37
  working_dir = ENV['VMAIL_HOME'] || "#{ENV['HOME']}/.vmail/default"
38
38
  `mkdir -p #{working_dir}`
39
39
  puts "Changing working directory to #{working_dir}"
40
- opts = Vmail::Options.new(ARGV)
41
40
  Dir.chdir(working_dir)
41
+ opts = Vmail::Options.new(ARGV)
42
42
  opts.config
43
43
  config = opts.config
44
44
 
@@ -23,12 +23,6 @@ module Vmail
23
23
  opts.banner = "Usage: vmail [ options ] [ limit ] [ imap search query ]"
24
24
  opts.separator ""
25
25
  opts.separator "Specific options:"
26
- opts.on("-c", "--config path", String, "Path to config file") do |config_file|
27
- @config_file = File.expand_path(config_file)
28
- end
29
- opts.on("-t", "--contacts path", String, "Path to contacts file") do |file|
30
- @contacts_file = File.expand_path(file, Dir.pwd)
31
- end
32
26
  opts.on("-g[n]", "--getcontacts[n]", Integer, "Generate contacts file. n is number of emails to scan (default 500).") do |n|
33
27
  @get_contacts = true
34
28
  @max_messages_to_scan = n || 500
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.8.5'
2
+ VERSION = '2.8.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmail
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.5
4
+ version: 2.8.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: