== INSTALL:
-* gem install sup -y
+* gem install sup
== PROBLEMS:
== LICENSE:
-Copyright (c) 2006, 2007 William Morgan.
+Copyright (c) 2006--2009 William Morgan.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
PollManager.start
SuicideManager.start
Index.start_lock_update_thread
- Redwood::reporting_thread("be friendly") do
- id = BufferManager.say "Welcome to Sup! Press '?' at any point for help."
- sleep 10
- BufferManager.clear id
- end
end
if $opts[:search]
git checkout -b release-<releasename>
vi lib/sup.rb bin/sup # and bump BOTH version numbers
# ... git add, commit, etc
-rake release VERSION=<releasename>
+gem1.8 build sup.gemspec
+# manually upload
git publish-branch
rake upload_webpage
rake upload_report
-git checkout next
-git merge master
--- /dev/null
+$:.push "lib"
+require "sup"
+
+LIB_DIRS = %w(lib lib/sup lib/sup/modes lib/sup/mbox)
+EXECUTABLES = %w(sup sup-add sup-config sup-dump sup-recover-sources sup-sync sup-sync-back sup-tweak-labels)
+EXTRA_FILES = %w(CONTRIBUTORS README.txt LICENSE History.txt ReleaseNotes)
+
+FILES = EXTRA_FILES + EXECUTABLES.map { |f| "bin/#{f}" } + LIB_DIRS.map { |d| Dir["#{d}/*.rb"] }.flatten
+
+Gem::Specification.new do |s|
+ s.name = %q{sup}
+ s.version = Redwood::VERSION
+ s.date = Time.now.to_s
+ s.authors = ["William Morgan"]
+ s.email = %q{wmorgan-sup@masanjin.net}
+ s.summary = %q{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.}
+ s.homepage = %q{http://sup.rubyforge.org/}
+ s.description = %q{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.}
+ s.files = FILES
+ s.executables = EXECUTABLES
+
+ s.add_dependency "ferret", ">= 0.11.6"
+ s.add_dependency "ncurses", ">= 0.9.1"
+ s.add_dependency "rmail", ">= 0.17"
+ s.add_dependency "highline"
+ s.add_dependency "net-ssh"
+ s.add_dependency "trollop", ">= 1.12"
+ s.add_dependency "lockfile"
+ s.add_dependency "mime-types", "~> 1"
+ s.add_dependency "gettext"
+ s.add_dependency "fastthread"
+
+ puts s.files
+end
end
end
- def test_ignore_empty_lines
+ def test_blank_lines
+ h = MBox.read_header StringIO.new("")
+ assert_equal nil, h["Message-Id"]
+ end
+
+ def test_empty_headers
variants = [
- "",
"Message-Id: \n",
"Message-Id:\n",
]
variants.each do |s|
h = MBox.read_header StringIO.new(s)
- assert_nil h["Message-Id"]
+ assert_equal "", h["Message-Id"]
end
end
<p>
Sup is brought to you by <a href="http://cs.stanford.edu/~ruby/">William Morgan</a> and the following honorable contributors:
<ul>
-William Morgan <wmorgan-sup at the masanjin dot nets>
-Ismo Puustinen <ismo at the iki dot fis>
-Nicolas Pouillard <nicolas.pouillard at the gmail dot coms>
-Marcus Williams <marcus-sup at the bar-coded dot nets>
-Lionel Ott <white.magic at the gmx dot des>
-Christopher Warrington <chrisw at the rice dot edus>
-Marc Hartstein <marc.hartstein at the alum.vassar dot edus>
-Ben Walton <bwalton at the artsci.utoronto dot cas>
-Grant Hollingworth <grant at the antiflux dot orgs>
-Steve Goldman <sgoldman at the tower-research dot coms>
-Decklin Foster <decklin at the red-bean dot coms>
-Jeff Balogh <its.jeff.balogh at the gmail dot coms>
-Giorgio Lando <patroclo7 at the gmail dot coms>
-Israel Herraiz <israel.herraiz at the gmail dot coms>
-Ian Taylor <ian at the lorf dot orgs>
-Rich Lane <rlane at the club.cc.cmu dot edus>
+<li>William Morgan <wmorgan-sup at the masanjin dot nets></li>
+<li>Ismo Puustinen <ismo at the iki dot fis></li>
+<li>Nicolas Pouillard <nicolas.pouillard at the gmail dot coms></li>
+<li>Marcus Williams <marcus-sup at the bar-coded dot nets></li>
+<li>Lionel Ott <white.magic at the gmx dot des></li>
+<li>Christopher Warrington <chrisw at the rice dot edus></li>
+<li>Marc Hartstein <marc.hartstein at the alum.vassar dot edus></li>
+<li>Ben Walton <bwalton at the artsci.utoronto dot cas></li>
+<li>Grant Hollingworth <grant at the antiflux dot orgs></li>
+<li>Steve Goldman <sgoldman at the tower-research dot coms></li>
+<li>Decklin Foster <decklin at the red-bean dot coms></li>
+<li>Jeff Balogh <its.jeff.balogh at the gmail dot coms></li>
+<li>Giorgio Lando <patroclo7 at the gmail dot coms></li>
+<li>Israel Herraiz <israel.herraiz at the gmail dot coms></li>
+<li>Ian Taylor <ian at the lorf dot orgs></li>
+<li>Rich Lane <rlane at the club.cc.cmu dot edus></li>
</ul>
</p>