vmail 1.9.7 → 1.9.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,8 +15,8 @@ module Vmail
15
15
  @start_index = [@ids.size - @limit, 0].max
16
16
  else
17
17
  # set the target range to the whole set, unless it is too big
18
- @start_index = [@num_messages - @limit, 0].max + 1
19
- @query.unshift "#{@start_index}:#@num_messages"
18
+ @start_index = [@num_messages - @limit, 0].max
19
+ @query.unshift "#{@start_index + 1}:#{@num_messages}"
20
20
  query_string = Vmail::Query.args2string(@query)
21
21
  log "Query: #{query_string.inspect}"
22
22
  @ids = reconnect_if_necessary(180) do # timeout of 3 minutes
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '1.9.7'
2
+ VERSION = '1.9.8'
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: 1.9.7
5
+ version: 1.9.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi