sup 0.3 → 0.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sup might be problematic. Click here for more details.

Files changed (52) hide show
  1. data/HACKING +31 -9
  2. data/History.txt +7 -0
  3. data/Manifest.txt +2 -0
  4. data/Rakefile +9 -5
  5. data/bin/sup +81 -57
  6. data/bin/sup-config +1 -1
  7. data/bin/sup-sync +3 -0
  8. data/bin/sup-tweak-labels +127 -0
  9. data/doc/TODO +23 -12
  10. data/lib/sup.rb +13 -11
  11. data/lib/sup/account.rb +25 -12
  12. data/lib/sup/buffer.rb +61 -41
  13. data/lib/sup/colormap.rb +2 -0
  14. data/lib/sup/contact.rb +28 -18
  15. data/lib/sup/crypto.rb +86 -31
  16. data/lib/sup/draft.rb +12 -6
  17. data/lib/sup/horizontal-selector.rb +47 -0
  18. data/lib/sup/imap.rb +50 -37
  19. data/lib/sup/index.rb +76 -13
  20. data/lib/sup/keymap.rb +27 -8
  21. data/lib/sup/maildir.rb +1 -1
  22. data/lib/sup/mbox/loader.rb +1 -1
  23. data/lib/sup/message-chunks.rb +43 -15
  24. data/lib/sup/message.rb +67 -31
  25. data/lib/sup/mode.rb +40 -9
  26. data/lib/sup/modes/completion-mode.rb +1 -1
  27. data/lib/sup/modes/compose-mode.rb +3 -3
  28. data/lib/sup/modes/contact-list-mode.rb +12 -8
  29. data/lib/sup/modes/edit-message-mode.rb +100 -36
  30. data/lib/sup/modes/file-browser-mode.rb +1 -0
  31. data/lib/sup/modes/forward-mode.rb +43 -8
  32. data/lib/sup/modes/inbox-mode.rb +8 -5
  33. data/lib/sup/modes/label-search-results-mode.rb +12 -1
  34. data/lib/sup/modes/line-cursor-mode.rb +4 -7
  35. data/lib/sup/modes/reply-mode.rb +59 -54
  36. data/lib/sup/modes/resume-mode.rb +6 -6
  37. data/lib/sup/modes/scroll-mode.rb +4 -3
  38. data/lib/sup/modes/search-results-mode.rb +8 -5
  39. data/lib/sup/modes/text-mode.rb +19 -2
  40. data/lib/sup/modes/thread-index-mode.rb +109 -40
  41. data/lib/sup/modes/thread-view-mode.rb +180 -49
  42. data/lib/sup/person.rb +3 -3
  43. data/lib/sup/poll.rb +9 -8
  44. data/lib/sup/rfc2047.rb +7 -1
  45. data/lib/sup/sent.rb +1 -1
  46. data/lib/sup/tagger.rb +10 -4
  47. data/lib/sup/textfield.rb +7 -7
  48. data/lib/sup/thread.rb +86 -49
  49. data/lib/sup/update.rb +11 -0
  50. data/lib/sup/util.rb +74 -34
  51. data/test/test_message.rb +441 -0
  52. metadata +136 -117
metadata CHANGED
@@ -1,33 +1,119 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
3
- specification_version: 1
4
2
  name: sup
5
3
  version: !ruby/object:Gem::Version
6
- version: "0.3"
7
- date: 2007-11-27 00:00:00 -08:00
8
- summary: A console-based email client with the best features of GMail, mutt, and emacs. Features full text search, labels, tagged operations, multiple buffers, recent contacts, and more.
9
- require_paths:
10
- - lib
11
- email: wmorgan-sup@masanjin.net
12
- homepage: http://sup.rubyforge.org
13
- rubyforge_project: sup
14
- description: "Sup is a console-based email client for people with a lot of email. It supports tagging, very fast full-text search, automatic contact-list management, and more. If you're the type of person who treats email as an extension of your long-term memory, Sup is for you. Sup makes it easy to: - Handle massive amounts of email. - Mix email from different sources: mbox files (even across different machines), Maildir directories, IMAP folders, POP accounts, and GMail accounts. - Instantaneously search over your entire email collection. Search over body text, or use a query language to combine search predicates in any way. - Handle multiple accounts. Replying to email sent to a particular account will use the correct SMTP server, signature, and from address. - Add custom code to handle certain types of messages or to handle certain types of text within messages. - Organize email with user-defined labels, automatically track recent contacts, and much more! The goal of Sup is to become the email client of choice for nerds everywhere."
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: "0.4"
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - William Morgan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-01-23 00:00:00 -08:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: ferret
17
+ version_requirement:
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.10.13
23
+ version:
24
+ - !ruby/object:Gem::Dependency
25
+ name: ncurses
26
+ version_requirement:
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 0.9.1
32
+ version:
33
+ - !ruby/object:Gem::Dependency
34
+ name: rmail
35
+ version_requirement:
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: "0.17"
41
+ version:
42
+ - !ruby/object:Gem::Dependency
43
+ name: highline
44
+ version_requirement:
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: "0"
50
+ version:
51
+ - !ruby/object:Gem::Dependency
52
+ name: net-ssh
53
+ version_requirement:
54
+ version_requirements: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: "0"
59
+ version:
60
+ - !ruby/object:Gem::Dependency
61
+ name: trollop
62
+ version_requirement:
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: "1.7"
68
+ version:
69
+ - !ruby/object:Gem::Dependency
70
+ name: lockfile
71
+ version_requirement:
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: "0"
77
+ version:
78
+ - !ruby/object:Gem::Dependency
79
+ name: mime-types
80
+ version_requirement:
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: "0"
86
+ version:
87
+ - !ruby/object:Gem::Dependency
88
+ name: gettext
89
+ version_requirement:
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: "0"
95
+ version:
96
+ description: "Sup is a console-based email client for people with a lot of email. It supports tagging, very fast full-text search, automatic contact-list management, and more. If you're the type of person who treats email as an extension of your long-term memory, Sup is for you. Sup makes it easy to: - Handle massive amounts of email. - Mix email from different sources: mbox files (even across different machines), Maildir directories, IMAP folders, POP accounts, and GMail accounts. - Instantaneously search over your entire email collection. Search over body text, or use a query language to combine search predicates in any way. - Handle multiple accounts. Replying to email sent to a particular account will use the correct SMTP server, signature, and from address. - Add custom code to handle certain types of messages or to handle certain types of text within messages. - Organize email with user-defined labels, automatically track recent contacts, and much more! The goal of Sup is to become the email client of choice for nerds everywhere."
97
+ email: wmorgan-sup@masanjin.net
98
+ executables:
99
+ - sup
100
+ - sup-add
101
+ - sup-config
102
+ - sup-dump
103
+ - sup-recover-sources
104
+ - sup-sync
105
+ - sup-sync-back
106
+ - sup-tweak-labels
107
+ extensions: []
108
+
109
+ extra_rdoc_files:
110
+ - History.txt
111
+ - Manifest.txt
112
+ - README.txt
113
+ - doc/FAQ.txt
114
+ - doc/Hooks.txt
115
+ - doc/NewUserGuide.txt
116
+ - doc/Philosophy.txt
31
117
  files:
32
118
  - HACKING
33
119
  - History.txt
@@ -42,6 +128,7 @@ files:
42
128
  - bin/sup-recover-sources
43
129
  - bin/sup-sync
44
130
  - bin/sup-sync-back
131
+ - bin/sup-tweak-labels
45
132
  - doc/FAQ.txt
46
133
  - doc/Hooks.txt
47
134
  - doc/NewUserGuide.txt
@@ -55,6 +142,7 @@ files:
55
142
  - lib/sup/crypto.rb
56
143
  - lib/sup/draft.rb
57
144
  - lib/sup/hook.rb
145
+ - lib/sup/horizontal-selector.rb
58
146
  - lib/sup/imap.rb
59
147
  - lib/sup/index.rb
60
148
  - lib/sup/keymap.rb
@@ -101,101 +189,32 @@ files:
101
189
  - lib/sup/thread.rb
102
190
  - lib/sup/update.rb
103
191
  - lib/sup/util.rb
104
- test_files: []
105
-
192
+ has_rdoc: true
193
+ homepage: http://sup.rubyforge.org
194
+ post_install_message:
106
195
  rdoc_options:
107
196
  - --main
108
197
  - README.txt
109
- extra_rdoc_files:
110
- - History.txt
111
- - Manifest.txt
112
- - README.txt
113
- - doc/FAQ.txt
114
- - doc/Hooks.txt
115
- - doc/NewUserGuide.txt
116
- - doc/Philosophy.txt
117
- executables:
118
- - sup
119
- - sup-add
120
- - sup-config
121
- - sup-dump
122
- - sup-recover-sources
123
- - sup-sync
124
- - sup-sync-back
125
- extensions: []
126
-
198
+ require_paths:
199
+ - lib
200
+ required_ruby_version: !ruby/object:Gem::Requirement
201
+ requirements:
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ version: "0"
205
+ version:
206
+ required_rubygems_version: !ruby/object:Gem::Requirement
207
+ requirements:
208
+ - - ">="
209
+ - !ruby/object:Gem::Version
210
+ version: "0"
211
+ version:
127
212
  requirements: []
128
213
 
129
- dependencies:
130
- - !ruby/object:Gem::Dependency
131
- name: ferret
132
- version_requirement:
133
- version_requirements: !ruby/object:Gem::Version::Requirement
134
- requirements:
135
- - - ">="
136
- - !ruby/object:Gem::Version
137
- version: 0.10.13
138
- version:
139
- - !ruby/object:Gem::Dependency
140
- name: ncurses
141
- version_requirement:
142
- version_requirements: !ruby/object:Gem::Version::Requirement
143
- requirements:
144
- - - ">="
145
- - !ruby/object:Gem::Version
146
- version: 0.9.1
147
- version:
148
- - !ruby/object:Gem::Dependency
149
- name: rmail
150
- version_requirement:
151
- version_requirements: !ruby/object:Gem::Version::Requirement
152
- requirements:
153
- - - ">="
154
- - !ruby/object:Gem::Version
155
- version: "0.17"
156
- version:
157
- - !ruby/object:Gem::Dependency
158
- name: highline
159
- version_requirement:
160
- version_requirements: !ruby/object:Gem::Version::Requirement
161
- requirements:
162
- - - ">"
163
- - !ruby/object:Gem::Version
164
- version: 0.0.0
165
- version:
166
- - !ruby/object:Gem::Dependency
167
- name: net-ssh
168
- version_requirement:
169
- version_requirements: !ruby/object:Gem::Version::Requirement
170
- requirements:
171
- - - ">"
172
- - !ruby/object:Gem::Version
173
- version: 0.0.0
174
- version:
175
- - !ruby/object:Gem::Dependency
176
- name: trollop
177
- version_requirement:
178
- version_requirements: !ruby/object:Gem::Version::Requirement
179
- requirements:
180
- - - ">="
181
- - !ruby/object:Gem::Version
182
- version: "1.7"
183
- version:
184
- - !ruby/object:Gem::Dependency
185
- name: lockfile
186
- version_requirement:
187
- version_requirements: !ruby/object:Gem::Version::Requirement
188
- requirements:
189
- - - ">"
190
- - !ruby/object:Gem::Version
191
- version: 0.0.0
192
- version:
193
- - !ruby/object:Gem::Dependency
194
- name: mime-types
195
- version_requirement:
196
- version_requirements: !ruby/object:Gem::Version::Requirement
197
- requirements:
198
- - - ">"
199
- - !ruby/object:Gem::Version
200
- version: 0.0.0
201
- version:
214
+ rubyforge_project: sup
215
+ rubygems_version: 1.0.1
216
+ signing_key:
217
+ specification_version: 2
218
+ summary: A console-based email client with the best features of GMail, mutt, and emacs. Features full text search, labels, tagged operations, multiple buffers, recent contacts, and more.
219
+ test_files:
220
+ - test/test_message.rb