vmail 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/NOTES +541 -0
- data/README.markdown +29 -0
- data/Rakefile +21 -0
- data/bin/vmail +11 -0
- data/bin/vmail_client +13 -0
- data/config/environment.rb +18 -0
- data/config/gmail.orig.yml +8 -0
- data/gmail.vim +180 -0
- data/lib/contacts_extractor.rb +50 -0
- data/lib/gmail.rb +145 -0
- data/lib/vmail.rb +45 -0
- data/lib/vmail/imap_client.rb +495 -0
- data/lib/vmail/message_formatter.rb +113 -0
- data/lib/vmail/string_ext.rb +11 -0
- data/lib/vmail/version.rb +3 -0
- data/test/base64_test.rb +13 -0
- data/test/fixtures/euc-kr-header.eml +23 -0
- data/test/fixtures/euc-kr-html.eml +162 -0
- data/test/fixtures/google-affiliate.eml +1049 -0
- data/test/fixtures/htmlbody.eml +68 -0
- data/test/fixtures/moleskine-html.eml +82 -0
- data/test/fixtures/textbody-nocontenttype.eml +118 -0
- data/test/fixtures/with-attachments.eml +123 -0
- data/test/message_formatter_test.rb +84 -0
- data/test/test_helper.rb +10 -0
- data/test/time_format_test.rb +15 -0
- data/viewer.vim +623 -0
- data/vmail.gemspec +23 -0
- data/wrapper.rb +8 -0
- metadata +117 -0
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
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
|