sup 0.10.1 → 0.10.2

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.

data/History.txt CHANGED
@@ -1,3 +1,12 @@
1
+ == 0.10.2 / 2010-01-26
2
+ * Update gem dependencies to pull in xapian-full and ncursesw instead of ferret
3
+ and ncurses.
4
+ * Fix a minor problem when running with Ruby 1.8.5.
5
+ * Fix a warning.
6
+
7
+ == 0.10.1 / 2010-01-24
8
+ * Fix a missing file in the gem.
9
+
1
10
  == 0.10 / 2010-01-22
2
11
  * Make Xapian backend the default, and add deprecation notice to Ferret indexes.
3
12
  * Now Ruby 1.9 compatible (Xapian backend only).
data/bin/sup CHANGED
@@ -12,7 +12,7 @@ end
12
12
 
13
13
  require 'fileutils'
14
14
  require 'trollop'
15
- require "sup"; Redwood::check_library_version_against "0.10.1"
15
+ require "sup"; Redwood::check_library_version_against "0.10.2"
16
16
 
17
17
  if no_ncursesw
18
18
  debug "No 'ncursesw' gem detected. Install it for wide character support."
data/bin/sup-add CHANGED
@@ -4,7 +4,7 @@ require 'uri'
4
4
  require 'rubygems'
5
5
  require 'highline/import'
6
6
  require 'trollop'
7
- require "sup"; Redwood::check_library_version_against "0.10.1"
7
+ require "sup"; Redwood::check_library_version_against "0.10.2"
8
8
 
9
9
  $opts = Trollop::options do
10
10
  version "sup-add (sup #{Redwood::VERSION})"
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'rubygems'
4
4
  require 'trollop'
5
- require "sup"; Redwood::check_library_version_against "0.10.1"
5
+ require "sup"; Redwood::check_library_version_against "0.10.2"
6
6
 
7
7
  STATE_BACKUP_FN = "/tmp/sup-state.txt"
8
8
  SOURCE_BACKUP_FN = "sources.yaml-before-xapian-upgrade"
data/bin/sup-dump CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'rubygems'
4
4
  require 'trollop'
5
- require "sup"; Redwood::check_library_version_against "0.10.1"
5
+ require "sup"; Redwood::check_library_version_against "0.10.2"
6
6
 
7
7
  $opts = Trollop::options do
8
8
  version "sup-dump (sup #{Redwood::VERSION})"
data/bin/sup-sync CHANGED
@@ -3,7 +3,7 @@
3
3
  require 'uri'
4
4
  require 'rubygems'
5
5
  require 'trollop'
6
- require "sup"; Redwood::check_library_version_against "0.10.1"
6
+ require "sup"; Redwood::check_library_version_against "0.10.2"
7
7
 
8
8
  PROGRESS_UPDATE_INTERVAL = 15 # seconds
9
9
 
data/bin/sup-sync-back CHANGED
@@ -5,7 +5,7 @@ require 'uri'
5
5
  require 'tempfile'
6
6
  require 'trollop'
7
7
  require 'enumerator'
8
- require "sup"; Redwood::check_library_version_against "0.10.1"
8
+ require "sup"; Redwood::check_library_version_against "0.10.2"
9
9
 
10
10
  ## save a message 'm' to an open file pointer 'fp'
11
11
  def save m, fp
data/bin/sup-tweak-labels CHANGED
@@ -3,7 +3,7 @@
3
3
  require 'rubygems'
4
4
  require 'trollop'
5
5
  require 'enumerator'
6
- require "sup"; Redwood::check_library_version_against "0.10.1"
6
+ require "sup"; Redwood::check_library_version_against "0.10.2"
7
7
 
8
8
  class Float
9
9
  def to_s; sprintf '%.2f', self; end
data/lib/sup.rb CHANGED
@@ -37,7 +37,7 @@ class Module
37
37
  end
38
38
 
39
39
  module Redwood
40
- VERSION = "0.10.1"
40
+ VERSION = "0.10.2"
41
41
 
42
42
  BASE_DIR = ENV["SUP_BASE"] || File.join(ENV["HOME"], ".sup")
43
43
  CONFIG_FN = File.join(BASE_DIR, "config.yaml")
data/lib/sup/message.rb CHANGED
@@ -450,9 +450,9 @@ private
450
450
  subj = decode_header_field(payload.header.subject) || DEFAULT_SUBJECT
451
451
  subj = Message.normalize_subj(subj.gsub(/\s+/, " ").gsub(/\s+$/, ""))
452
452
  msgdate = payload.header.date
453
- from_person = from ? Person.from_address(decode_header_field from) : nil
454
- to_people = to ? Person.from_address_list(decode_header_field to) : nil
455
- cc_people = cc ? Person.from_address_list(decode_header_field cc) : nil
453
+ from_person = from ? Person.from_address(decode_header_field(from)) : nil
454
+ to_people = to ? Person.from_address_list(decode_header_field(to)) : nil
455
+ cc_people = cc ? Person.from_address_list(decode_header_field(cc)) : nil
456
456
  [Chunk::EnclosedMessage.new(from_person, to_people, cc_people, msgdate, subj)] + message_to_chunks(payload, encrypted)
457
457
  else
458
458
  debug "no body for message/rfc822 enclosure; skipping"
data/lib/sup/util.rb CHANGED
@@ -366,6 +366,12 @@ class Fixnum
366
366
  end
367
367
  end
368
368
 
369
+ unless method_defined?(:ord)
370
+ def ord
371
+ self
372
+ end
373
+ end
374
+
369
375
  ## hacking the english language
370
376
  def pluralize s
371
377
  to_s + " " +
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Morgan
@@ -9,28 +9,28 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-24 12:24:23 -05:00
12
+ date: 2010-01-26 08:56:01 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: ferret
16
+ name: xapian-full
17
17
  type: :runtime
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 0.11.6
23
+ version: 1.1.3.1
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
- name: ncurses
26
+ name: ncursesw
27
27
  type: :runtime
28
28
  version_requirement:
29
29
  version_requirements: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.9.1
33
+ version: "0"
34
34
  version:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: rmail
@@ -102,16 +102,6 @@ dependencies:
102
102
  - !ruby/object:Gem::Version
103
103
  version: "0"
104
104
  version:
105
- - !ruby/object:Gem::Dependency
106
- name: fastthread
107
- type: :runtime
108
- version_requirement:
109
- version_requirements: !ruby/object:Gem::Requirement
110
- requirements:
111
- - - ">="
112
- - !ruby/object:Gem::Version
113
- version: "0"
114
- version:
115
105
  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."
116
106
  email: wmorgan-sup@masanjin.net
117
107
  executables: