vmail 0.9.6 → 0.9.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.
@@ -387,10 +387,10 @@ Here are some example search queries.
387
387
 
388
388
  Tip: When you're entering your search query, `<C-u>` clears the query line.
389
389
 
390
- Power-Tip: When you're at the search query prompt, `<C-f>` opens a mini-editor
391
- that contains the current query plus a history of previous vmail search
392
- queries. You can edit any line in this mini-editor and press ENTER to perform
393
- the query on that line.
390
+ Power-Tip: When you're at the search query prompt, `C-p` and `C-n` let you
391
+ navigate the search query history. `<C-f>` opens a mini-editor that contains
392
+ the current query plus a history of previous vmail search queries. You can edit
393
+ any line in this mini-editor and press ENTER to perform the query on that line.
394
394
 
395
395
  ## Getting help
396
396
 
@@ -428,7 +428,11 @@ module Vmail
428
428
  log "- fetching and storing to message_cache[[#{@mailbox}, #{uid}]]"
429
429
  fetch_and_cache(index)
430
430
  end
431
-
431
+ if data.nil?
432
+ # retry, though this is a hack!
433
+ log "- data is nil. retrying..."
434
+ return show_message(index, raw)
435
+ end
432
436
  # make this more DRY later by directly using a ref to the hash
433
437
  mail = data[:mail]
434
438
  size = data[:size]
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = "0.9.6"
2
+ VERSION = "0.9.7"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 6
9
- version: 0.9.6
8
+ - 7
9
+ version: 0.9.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi