vmail 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ a web browser or a GUI mail program.
10
10
 
11
11
  * a Gmail account
12
12
  * a relatively recent version of Vim (vmail is developed against Vim 7.3)
13
- * Ruby (vmail is developed using Ruby 1.9.2)
13
+ * Ruby with SSL support compiled in (vmail is developed using Ruby 1.9.2)
14
14
  * RubyGems (if Ruby version is older than 1.9)
15
15
  * the `lynx` text-only-mode web browser is required to view HTML mail parts in vmail
16
16
 
@@ -30,6 +30,12 @@ problem, and mention what system you're using. You might want to try
30
30
 
31
31
  to see if that puts `vmail` on your PATH.
32
32
 
33
+ vmail is evolving rapidly. To update to the latest version, simply run the
34
+ installation command again.
35
+
36
+ gem install vmail
37
+
38
+
33
39
  ## Configuration file
34
40
 
35
41
  To run vmail, create a yaml file called `.vmailrc` and save it either in the
@@ -158,7 +164,7 @@ The standard vim autocomplete keystrokes apply:
158
164
  * ENTER selects the highlighted match from the match list
159
165
 
160
166
  Tip: start typing the first 1-3 characters of the mailbox name, then press
161
- `C-u` or `C-p` until you highlight the right match, and finally press ENTER to
167
+ `C-n`, `C-u` or `C-p` until you highlight the right match, and finally press ENTER to
162
168
  select.
163
169
 
164
170
  To move a message to another mailbox, put the cursor on the message in the
@@ -284,7 +290,7 @@ on or after the cursor in your normal web browser.
284
290
  When you're reading a message with an html mail part, `,h` saves that part to a
285
291
  local file (`vmail-htmlpart.html`) and opens it in your normal web browser.
286
292
 
287
- By default, the command vmail uses to open your web browser is `open`. In OS X,
293
+ By default, the vmail uses the command `open` to launch your web browser. In OS X,
288
294
  this opens URLs and HTML files in the default web browser. You can change the
289
295
  browser vmail invokes by setting the VMAIL_BROWSER environmental variable
290
296
  before you start vmail, e.g.:
@@ -312,7 +318,7 @@ Here are some example search queries.
312
318
  # subject field search; use double quotes to enclose multiple words
313
319
  subject "unix philosophy"
314
320
 
315
- # body field search; use double quotes to enclose multiple words
321
+ # message body search; use double quotes to enclose multiple words
316
322
  body "unix philosophy"
317
323
 
318
324
  # example of date range and multiple conditions
@@ -354,7 +360,7 @@ Finally, vmail logs output to a `vmail.log` file which it creates in the
354
360
  current directory. You can tail this file in a separate terminal window to see
355
361
  what's going on behind the scenes as you use vmail.
356
362
 
357
- ## Is my gmail password secure?
363
+ ## Is my Gmail password secure?
358
364
 
359
365
  In short, yes. vmail uses TLS ([Transport Layer Security][tls]) to perform IMAP
360
366
  and SMTP authentication. So vmail transmits your password securely over the
data/Rakefile CHANGED
@@ -5,6 +5,13 @@ Bundler::GemHelper.install_tasks
5
5
 
6
6
  $LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'lib')
7
7
 
8
+ desc "build and push website"
9
+ task :web do
10
+ Dir.chdir("website") do
11
+ puts `./run.sh`
12
+ end
13
+ end
14
+
8
15
  desc "Run tests"
9
16
  task :test do
10
17
  $:.unshift File.expand_path("test")
@@ -42,6 +42,9 @@ module Vmail
42
42
  server.select_mailbox mailbox
43
43
 
44
44
  query = ARGV.empty? ? [100, 'ALL'] : ARGV
45
+ if query.size == 1 && query[0] =~ /^\d/
46
+ query << "ALL"
47
+ end
45
48
  puts "mailbox: #{mailbox}"
46
49
  puts "query: #{query.inspect}"
47
50
 
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -1,9 +1,9 @@
1
1
  ## How to support the vmail project
2
2
 
3
- If you find vmail very useful, feel free to drop me a note to say so. If you have
4
- a bug to report or a good feature to suggest, please file it on the [issue tracker][1].
5
- Few things make this software developer happier than knowing that people find my
6
- software useful.
3
+ If you find vmail very useful, feel free to drop me a note to say so. If you
4
+ have a bug to report or a good feature to suggest, please file it on the [issue
5
+ tracker][1]. Few things make this software developer happier than making good
6
+ software and knowing that people find my software useful.
7
7
 
8
8
  [1]:https://github.com/danchoi/vmail/issues
9
9
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 2
9
- version: 0.2.2
8
+ - 3
9
+ version: 0.2.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi