vmail 0.0.1

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.
data/vmail.gemspec ADDED
@@ -0,0 +1,23 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "vmail/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "vmail"
7
+ s.version = Vmail::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Daniel Choi"]
10
+ s.email = ["dhchoi@gmail.com"]
11
+ s.homepage = "http://rubygems.org/gems/vmail"
12
+ s.summary = %q{A Vim interface to Gmail}
13
+ s.description = %q{Manage your email with Vim}
14
+
15
+ s.rubyforge_project = "vmail"
16
+
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
+ s.require_paths = ["lib"]
21
+
22
+ s.add_dependency 'mail'
23
+ end
data/wrapper.rb ADDED
@@ -0,0 +1,8 @@
1
+ #!/bin/bash
2
+ echo "selecting mailbox $1"
3
+ ruby lib/client.rb select_mailbox "$1"
4
+ shift
5
+ echo "search $@"
6
+ ruby lib/client.rb search $@ > out
7
+ vim -S viewer.vim out
8
+
metadata ADDED
@@ -0,0 +1,117 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vmail
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 1
9
+ version: 0.0.1
10
+ platform: ruby
11
+ authors:
12
+ - Daniel Choi
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-12-12 00:00:00 -05:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: mail
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
30
+ version: "0"
31
+ type: :runtime
32
+ version_requirements: *id001
33
+ description: Manage your email with Vim
34
+ email:
35
+ - dhchoi@gmail.com
36
+ executables:
37
+ - vmail
38
+ - vmail_client
39
+ extensions: []
40
+
41
+ extra_rdoc_files: []
42
+
43
+ files:
44
+ - .gitignore
45
+ - NOTES
46
+ - README.markdown
47
+ - Rakefile
48
+ - bin/vmail
49
+ - bin/vmail_client
50
+ - config/environment.rb
51
+ - config/gmail.orig.yml
52
+ - gmail.vim
53
+ - lib/contacts_extractor.rb
54
+ - lib/gmail.rb
55
+ - lib/vmail.rb
56
+ - lib/vmail/imap_client.rb
57
+ - lib/vmail/message_formatter.rb
58
+ - lib/vmail/string_ext.rb
59
+ - lib/vmail/version.rb
60
+ - test/base64_test.rb
61
+ - test/fixtures/euc-kr-header.eml
62
+ - test/fixtures/euc-kr-html.eml
63
+ - test/fixtures/google-affiliate.eml
64
+ - test/fixtures/htmlbody.eml
65
+ - test/fixtures/moleskine-html.eml
66
+ - test/fixtures/textbody-nocontenttype.eml
67
+ - test/fixtures/with-attachments.eml
68
+ - test/message_formatter_test.rb
69
+ - test/test_helper.rb
70
+ - test/time_format_test.rb
71
+ - viewer.vim
72
+ - vmail.gemspec
73
+ - wrapper.rb
74
+ has_rdoc: true
75
+ homepage: http://rubygems.org/gems/vmail
76
+ licenses: []
77
+
78
+ post_install_message:
79
+ rdoc_options: []
80
+
81
+ require_paths:
82
+ - lib
83
+ required_ruby_version: !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ segments:
89
+ - 0
90
+ version: "0"
91
+ required_rubygems_version: !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ segments:
97
+ - 0
98
+ version: "0"
99
+ requirements: []
100
+
101
+ rubyforge_project: vmail
102
+ rubygems_version: 1.3.7
103
+ signing_key:
104
+ specification_version: 3
105
+ summary: A Vim interface to Gmail
106
+ test_files:
107
+ - test/base64_test.rb
108
+ - test/fixtures/euc-kr-header.eml
109
+ - test/fixtures/euc-kr-html.eml
110
+ - test/fixtures/google-affiliate.eml
111
+ - test/fixtures/htmlbody.eml
112
+ - test/fixtures/moleskine-html.eml
113
+ - test/fixtures/textbody-nocontenttype.eml
114
+ - test/fixtures/with-attachments.eml
115
+ - test/message_formatter_test.rb
116
+ - test/test_helper.rb
117
+ - test/time_format_test.rb