vmail 2.7.1 → 2.7.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -114,7 +114,7 @@ Another optional parameter is `date_format`, which controls the appearance of
114
114
  the dates in the message list. Here you can use a strptime-compatible date
115
115
  format string. Make sure you enclose these in quotes:
116
116
 
117
- date_format_: '%b %d %I:%M%P'
117
+ date_format: '%b %d %I:%M%P'
118
118
  date_format_previous_years: '%b %d %Y'
119
119
 
120
120
  ## Contacts autocompletion
@@ -47,15 +47,8 @@ module Vmail
47
47
  @authentication = config['authentication'] || 'plain'
48
48
  @width = 100
49
49
 
50
- if config['date_format'] =~ /numerical/
51
- config['date_format'] = '%d.%m %H:%M'
52
- config['date_format_prev_years'] = '%d.%m %Y'
53
- elsif config['date_format'] =~ /wordy/
54
- config['date_format'] = '%b %d %I:%M%P'
55
- config['date_format_prev_years'] = '%b %d %Y'
56
- end
57
50
  @date_formatter_this_year = config['date_format'] || '%b %d %I:%M%P'
58
- @date_formatter_prev_years = config['date_format_previous_years'] || '%b %d %Y'
51
+ @date_formatter_prev_years = config['date_format_prevous_years'] || '%b %d %Y'
59
52
  @date_width = DateTime.parse("12/12/2012 12:12:12").strftime(@date_formatter_this_year).length
60
53
  current_message = nil
61
54
  end
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.7.1'
2
+ VERSION = '2.7.3'
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.7.1
4
+ version: 2.7.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-18 00:00:00.000000000 Z
12
+ date: 2012-12-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mail