sup 1.3 → 1.5
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.
- checksums.yaml +4 -4
- data/.github/workflows/checks.yml +10 -9
- data/.rubocop.yml +1 -1
- data/CONTRIBUTORS +2 -2
- data/History.txt +38 -0
- data/Manifest.txt +19 -1
- data/README.md +5 -3
- data/Rakefile +1 -1
- data/bin/sup +5 -3
- data/bin/sup-sync +1 -2
- data/contrib/nix/.gitignore +1 -0
- data/contrib/nix/Gemfile.lock +41 -34
- data/contrib/nix/gem-install-shell.nix +1 -1
- data/contrib/nix/gemset.nix +80 -58
- data/contrib/nix/ruby2.4-Gemfile.lock +1 -1
- data/contrib/nix/ruby2.4-gemset.nix +2 -2
- data/contrib/nix/ruby2.5-Gemfile.lock +1 -1
- data/contrib/nix/ruby2.5-gemset.nix +2 -2
- data/contrib/nix/ruby2.6-Gemfile.lock +1 -1
- data/contrib/nix/ruby2.6-gemset.nix +2 -2
- data/contrib/nix/ruby2.7-Gemfile.lock +1 -1
- data/contrib/nix/ruby2.7-gemset.nix +2 -2
- data/contrib/nix/ruby3.0-Gemfile.lock +1 -1
- data/contrib/nix/ruby3.0-gemset.nix +2 -2
- data/contrib/nix/ruby3.1-Gemfile.lock +101 -0
- data/contrib/nix/ruby3.1-gemset.nix +391 -0
- data/contrib/nix/ruby3.1-shell.nix +2 -13
- data/contrib/nix/ruby3.2-Gemfile.lock +101 -0
- data/contrib/nix/ruby3.2-gemset.nix +391 -0
- data/contrib/nix/ruby3.2-shell.nix +2 -13
- data/contrib/nix/ruby3.3-shell.nix +1 -12
- data/contrib/nix/ruby3.4-shell.nix +1 -10
- data/contrib/nix/ruby4.0-shell.nix +41 -0
- data/contrib/nix/test-all-rubies.sh +2 -1
- data/contrib/screenshot-generator/.gitignore +1 -0
- data/contrib/screenshot-generator/default.nix +253 -0
- data/contrib/screenshot-generator/scenes.yaml +51 -0
- data/contrib/screenshot-generator/shoot.rb +127 -0
- data/contrib/screenshot-generator/sup-is-plain-text-applied.msg +83 -0
- data/contrib/screenshot-generator/sup-is-plain-text.msg +78 -0
- data/lib/sup/account.rb +2 -0
- data/lib/sup/buffer.rb +14 -3
- data/lib/sup/contact.rb +3 -4
- data/lib/sup/draft.rb +15 -15
- data/lib/sup/index.rb +15 -5
- data/lib/sup/maildir.rb +21 -16
- data/lib/sup/mbox.rb +0 -10
- data/lib/sup/message.rb +5 -19
- data/lib/sup/message_chunks.rb +1 -25
- data/lib/sup/mode.rb +1 -0
- data/lib/sup/modes/contact_list_mode.rb +0 -1
- data/lib/sup/modes/edit_message_mode.rb +53 -5
- data/lib/sup/modes/label_search_results_mode.rb +1 -2
- data/lib/sup/modes/line_cursor_mode.rb +22 -20
- data/lib/sup/modes/search_results_mode.rb +0 -1
- data/lib/sup/modes/thread_index_mode.rb +28 -27
- data/lib/sup/modes/thread_view_mode.rb +1 -2
- data/lib/sup/person.rb +0 -6
- data/lib/sup/poll.rb +1 -4
- data/lib/sup/rfc2047.rb +5 -2
- data/lib/sup/sent.rb +5 -4
- data/lib/sup/source.rb +2 -47
- data/lib/sup/util.rb +2 -2
- data/lib/sup/version.rb +1 -1
- data/lib/sup.rb +1 -1
- data/man/sup-add.1 +6 -6
- data/man/sup-config.1 +6 -6
- data/man/sup-dump.1 +5 -5
- data/man/sup-import-dump.1 +7 -7
- data/man/sup-recover-sources.1 +5 -5
- data/man/sup-sync-back-maildir.1 +9 -9
- data/man/sup-sync.1 +11 -11
- data/man/sup-tweak-labels.1 +10 -10
- data/man/sup.1 +11 -11
- data/sup.gemspec +1 -1
- data/test/dummy_buffer.rb +34 -0
- data/test/dummy_source.rb +0 -4
- data/test/fixtures/contacts.txt +2 -1
- data/test/fixtures/folded-from-header.eml +8 -0
- data/test/fixtures/rfc2047-header-encoding.eml +2 -1
- data/test/fixtures/text-attachments-with-charset.eml +7 -0
- data/test/integration/test_draft.rb +128 -0
- data/test/integration/test_index.rb +62 -0
- data/test/integration/test_maildir.rb +2 -0
- data/test/integration/test_mbox.rb +2 -0
- data/test/integration/test_sup-add.rb +4 -0
- data/test/test_crypto.rb +7 -2
- data/test/test_header_parsing.rb +9 -9
- data/test/test_message.rb +22 -3
- data/test/unit/test_contact.rb +15 -3
- data/test/unit/test_edit_message_mode.rb +6 -1
- data/test/unit/test_index.rb +89 -0
- data/test/unit/test_line_cursor_mode.rb +214 -0
- data/test/unit/test_maildir.rb +21 -0
- metadata +30 -9
- data/man/sup-psych-ify-config-files.1 +0 -76
- data/shell.nix +0 -1
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
require "test_helper"
|
|
2
|
+
require "dummy_buffer"
|
|
3
|
+
|
|
4
|
+
require "sup"
|
|
5
|
+
|
|
6
|
+
class TestLineCursorMode < Minitest::Test
|
|
7
|
+
def setup
|
|
8
|
+
$config = {
|
|
9
|
+
:load_more_threads_hysteresis => 0,
|
|
10
|
+
:load_more_threads_when_scrolling => true,
|
|
11
|
+
:continuous_scroll => false,
|
|
12
|
+
}
|
|
13
|
+
@out = File.open File::NULL, "w"
|
|
14
|
+
@inp = File.open File::NULL, "r"
|
|
15
|
+
@screen = Ncurses.newterm "dumb", @out, @inp
|
|
16
|
+
Redwood::BufferManager.init
|
|
17
|
+
@modes_to_cleanup = []
|
|
18
|
+
@lines = []
|
|
19
|
+
@load_more = Thread::Queue.new
|
|
20
|
+
@buffer_height = 41 # 1 for status line, 40 usable lines
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def teardown
|
|
24
|
+
@modes_to_cleanup.each { |mode| mode.cleanup }
|
|
25
|
+
Redwood::BufferManager.deinstantiate!
|
|
26
|
+
Ncurses.delscreen @screen
|
|
27
|
+
@inp.close
|
|
28
|
+
@out.close
|
|
29
|
+
$config = nil
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
def make_mode
|
|
33
|
+
mode = Redwood::LineCursorMode.new
|
|
34
|
+
@modes_to_cleanup << mode
|
|
35
|
+
lines = @lines
|
|
36
|
+
mode.define_singleton_method(:lines) { lines.length }
|
|
37
|
+
mode.define_singleton_method(:[]) { |i| lines[i] }
|
|
38
|
+
mode.send(:to_load_more) { |n| @load_more << n }
|
|
39
|
+
mode.buffer = Redwood::DummyBuffer.new 100, @buffer_height
|
|
40
|
+
mode.spawned
|
|
41
|
+
mode.draw
|
|
42
|
+
mode
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
def expect_load_more n
|
|
46
|
+
begin
|
|
47
|
+
requested = @load_more.pop :timeout => 0.1
|
|
48
|
+
rescue ThreadError
|
|
49
|
+
## Ruby < 3.2 does not obey the timeout for Queue#pop
|
|
50
|
+
sleep 0.1
|
|
51
|
+
requested = @load_more.pop true
|
|
52
|
+
end
|
|
53
|
+
refute_nil requested, "Expected load_more callbacks to fire"
|
|
54
|
+
assert_equal n, requested
|
|
55
|
+
(0...n).map { |i| @lines << "line #{i}" }
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
def test_cursor_down
|
|
59
|
+
mode = make_mode
|
|
60
|
+
expect_load_more 41
|
|
61
|
+
mode.draw # curpos gets messed up without this call, why?
|
|
62
|
+
|
|
63
|
+
21.times do
|
|
64
|
+
mode.handle_input Ncurses::CharCode.character('j')
|
|
65
|
+
end
|
|
66
|
+
assert_equal 21, mode.curpos
|
|
67
|
+
assert_equal 0, mode.topline
|
|
68
|
+
|
|
69
|
+
## Two past halfway, load_more callbacks are triggered.
|
|
70
|
+
mode.handle_input Ncurses::CharCode.character('j')
|
|
71
|
+
assert_equal 22, mode.curpos
|
|
72
|
+
expect_load_more 40
|
|
73
|
+
|
|
74
|
+
17.times do
|
|
75
|
+
mode.handle_input Ncurses::CharCode.character('j')
|
|
76
|
+
end
|
|
77
|
+
assert_equal 39, mode.curpos
|
|
78
|
+
assert_equal 0, mode.topline
|
|
79
|
+
|
|
80
|
+
## From the bottom line, it wraps back to the top of the next page.
|
|
81
|
+
mode.handle_input Ncurses::CharCode.character('j')
|
|
82
|
+
assert_equal 40, mode.curpos
|
|
83
|
+
assert_equal 40, mode.topline
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
def test_scroll_down
|
|
87
|
+
mode = make_mode
|
|
88
|
+
expect_load_more 41
|
|
89
|
+
|
|
90
|
+
## When the cursor is already at the top, it moves with the scroll.
|
|
91
|
+
assert_equal 0, mode.curpos
|
|
92
|
+
assert_equal 0, mode.topline
|
|
93
|
+
mode.handle_input Ncurses::CharCode.character('J')
|
|
94
|
+
assert_equal 1, mode.curpos
|
|
95
|
+
assert_equal 1, mode.topline
|
|
96
|
+
|
|
97
|
+
3.times do
|
|
98
|
+
mode.handle_input Ncurses::CharCode.character('j')
|
|
99
|
+
end
|
|
100
|
+
assert_equal 4, mode.curpos
|
|
101
|
+
assert_equal 1, mode.topline
|
|
102
|
+
|
|
103
|
+
## When the cursor is not at the top, it keeps its place and the
|
|
104
|
+
## buffer scrolls underneath it.
|
|
105
|
+
mode.handle_input Ncurses::CharCode.character('J')
|
|
106
|
+
assert_equal 4, mode.curpos
|
|
107
|
+
assert_equal 2, mode.topline
|
|
108
|
+
|
|
109
|
+
## It always loads 10 more if we would scroll past the bottom.
|
|
110
|
+
expect_load_more 10
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
def test_page_down
|
|
114
|
+
mode = make_mode
|
|
115
|
+
expect_load_more 41
|
|
116
|
+
|
|
117
|
+
mode.handle_input Ncurses::CharCode.keycode(Ncurses::KEY_NPAGE)
|
|
118
|
+
assert_equal 40, mode.curpos
|
|
119
|
+
assert_equal 40, mode.topline
|
|
120
|
+
expect_load_more 40
|
|
121
|
+
|
|
122
|
+
mode.handle_input Ncurses::CharCode.keycode(Ncurses::KEY_NPAGE)
|
|
123
|
+
assert_equal 80, mode.curpos
|
|
124
|
+
assert_equal 80, mode.topline
|
|
125
|
+
assert_equal 81, mode.lines
|
|
126
|
+
expect_load_more 40
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
def test_page_down_when_fully_populated
|
|
130
|
+
mode = make_mode
|
|
131
|
+
expect_load_more 41
|
|
132
|
+
(0...119).map { |i| @lines << "more line #{i}" } # enough for 4 full pages
|
|
133
|
+
|
|
134
|
+
mode.handle_input Ncurses::CharCode.keycode(Ncurses::KEY_NPAGE)
|
|
135
|
+
assert_equal 40, mode.curpos
|
|
136
|
+
assert_equal 40, mode.topline
|
|
137
|
+
|
|
138
|
+
## Relative cursor position is preserved when paging down.
|
|
139
|
+
3.times do
|
|
140
|
+
mode.handle_input Ncurses::CharCode.character('j')
|
|
141
|
+
end
|
|
142
|
+
assert_equal 43, mode.curpos
|
|
143
|
+
assert_equal 40, mode.topline
|
|
144
|
+
mode.handle_input Ncurses::CharCode.keycode(Ncurses::KEY_NPAGE)
|
|
145
|
+
assert_equal 83, mode.curpos
|
|
146
|
+
assert_equal 80, mode.topline
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
def test_half_page_down
|
|
150
|
+
mode = make_mode
|
|
151
|
+
expect_load_more 41
|
|
152
|
+
|
|
153
|
+
mode.handle_input Ncurses::CharCode.character("\C-d")
|
|
154
|
+
assert_equal 20, mode.curpos
|
|
155
|
+
assert_equal 20, mode.topline
|
|
156
|
+
expect_load_more 40
|
|
157
|
+
|
|
158
|
+
mode.handle_input Ncurses::CharCode.character("\C-d")
|
|
159
|
+
assert_equal 40, mode.curpos
|
|
160
|
+
assert_equal 40, mode.topline
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
def test_half_page_down_when_fully_populated
|
|
164
|
+
mode = make_mode
|
|
165
|
+
expect_load_more 41
|
|
166
|
+
(0...119).map { |i| @lines << "more line #{i}" } # enough for 4 full pages
|
|
167
|
+
|
|
168
|
+
mode.handle_input Ncurses::CharCode.character("\C-d")
|
|
169
|
+
assert_equal 20, mode.curpos
|
|
170
|
+
assert_equal 20, mode.topline
|
|
171
|
+
|
|
172
|
+
25.times do
|
|
173
|
+
mode.handle_input Ncurses::CharCode.character('j')
|
|
174
|
+
end
|
|
175
|
+
assert_equal 45, mode.curpos
|
|
176
|
+
assert_equal 20, mode.topline
|
|
177
|
+
mode.handle_input Ncurses::CharCode.character("\C-d")
|
|
178
|
+
assert_equal 45, mode.curpos
|
|
179
|
+
assert_equal 40, mode.topline
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
def test_half_page_up
|
|
183
|
+
mode = make_mode
|
|
184
|
+
expect_load_more 41
|
|
185
|
+
(0...119).map { |i| @lines << "more line #{i}" } # enough for 4 full pages
|
|
186
|
+
|
|
187
|
+
mode.handle_input Ncurses::CharCode.keycode(Ncurses::KEY_NPAGE)
|
|
188
|
+
assert_equal 40, mode.curpos
|
|
189
|
+
assert_equal 40, mode.topline
|
|
190
|
+
|
|
191
|
+
mode.handle_input Ncurses::CharCode.character("\C-u")
|
|
192
|
+
assert_equal 40, mode.curpos
|
|
193
|
+
assert_equal 20, mode.topline
|
|
194
|
+
|
|
195
|
+
mode.handle_input Ncurses::CharCode.character('j')
|
|
196
|
+
assert_equal 41, mode.curpos
|
|
197
|
+
assert_equal 20, mode.topline
|
|
198
|
+
|
|
199
|
+
mode.handle_input Ncurses::CharCode.character("\C-u")
|
|
200
|
+
assert_equal 40, mode.curpos
|
|
201
|
+
assert_equal 0, mode.topline
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
def test_jump_to_end
|
|
205
|
+
mode = make_mode
|
|
206
|
+
expect_load_more 41
|
|
207
|
+
|
|
208
|
+
mode.handle_input Ncurses::CharCode.keycode(Ncurses::KEY_END)
|
|
209
|
+
assert_equal 40, mode.curpos
|
|
210
|
+
assert_equal 1, mode.topline
|
|
211
|
+
assert_equal 41, mode.botline
|
|
212
|
+
expect_load_more 40
|
|
213
|
+
end
|
|
214
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
require 'test_helper'
|
|
2
|
+
require 'sup'
|
|
3
|
+
require 'sup/maildir'
|
|
4
|
+
|
|
5
|
+
module Redwood
|
|
6
|
+
|
|
7
|
+
class TestMaildir < Minitest::Test
|
|
8
|
+
def test_flag_parsing
|
|
9
|
+
maildir = Maildir.new "maildir:/nowhere"
|
|
10
|
+
labels = maildir.labels? "asdf:2,S"
|
|
11
|
+
assert_equal [], labels
|
|
12
|
+
labels = maildir.labels? "asdf:2,"
|
|
13
|
+
assert_equal [:unread], labels
|
|
14
|
+
labels = maildir.labels? "asdf:2,DFPRST"
|
|
15
|
+
assert_equal [:deleted, :starred, :forwarded, :replied, :draft], labels
|
|
16
|
+
labels = maildir.labels? "asdf:2,DFPRT"
|
|
17
|
+
assert_equal [:unread, :deleted, :starred, :forwarded, :replied, :draft], labels
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
end
|
metadata
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '1.
|
|
4
|
+
version: '1.5'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- William Morgan
|
|
8
8
|
- Gaute Hope
|
|
9
9
|
- Hamish Downer
|
|
10
10
|
- Matthieu Rakotojaona
|
|
11
|
-
autorequire:
|
|
12
11
|
bindir: bin
|
|
13
12
|
cert_chain: []
|
|
14
|
-
date:
|
|
13
|
+
date: 2026-11-19 00:00:00.000000000 Z
|
|
15
14
|
dependencies:
|
|
16
15
|
- !ruby/object:Gem::Dependency
|
|
17
16
|
name: ncursesw
|
|
@@ -318,7 +317,6 @@ extra_rdoc_files:
|
|
|
318
317
|
- man/sup-config.1
|
|
319
318
|
- man/sup-dump.1
|
|
320
319
|
- man/sup-import-dump.1
|
|
321
|
-
- man/sup-psych-ify-config-files.1
|
|
322
320
|
- man/sup-recover-sources.1
|
|
323
321
|
- man/sup-sync-back-maildir.1
|
|
324
322
|
- man/sup-sync.1
|
|
@@ -350,6 +348,7 @@ files:
|
|
|
350
348
|
- contrib/colorpicker.rb
|
|
351
349
|
- contrib/completion/_sup.bash
|
|
352
350
|
- contrib/completion/_sup.zsh
|
|
351
|
+
- contrib/nix/.gitignore
|
|
353
352
|
- contrib/nix/Gemfile
|
|
354
353
|
- contrib/nix/Gemfile.lock
|
|
355
354
|
- contrib/nix/README
|
|
@@ -370,11 +369,22 @@ files:
|
|
|
370
369
|
- contrib/nix/ruby3.0-Gemfile.lock
|
|
371
370
|
- contrib/nix/ruby3.0-gemset.nix
|
|
372
371
|
- contrib/nix/ruby3.0-shell.nix
|
|
372
|
+
- contrib/nix/ruby3.1-Gemfile.lock
|
|
373
|
+
- contrib/nix/ruby3.1-gemset.nix
|
|
373
374
|
- contrib/nix/ruby3.1-shell.nix
|
|
375
|
+
- contrib/nix/ruby3.2-Gemfile.lock
|
|
376
|
+
- contrib/nix/ruby3.2-gemset.nix
|
|
374
377
|
- contrib/nix/ruby3.2-shell.nix
|
|
375
378
|
- contrib/nix/ruby3.3-shell.nix
|
|
376
379
|
- contrib/nix/ruby3.4-shell.nix
|
|
380
|
+
- contrib/nix/ruby4.0-shell.nix
|
|
377
381
|
- contrib/nix/test-all-rubies.sh
|
|
382
|
+
- contrib/screenshot-generator/.gitignore
|
|
383
|
+
- contrib/screenshot-generator/default.nix
|
|
384
|
+
- contrib/screenshot-generator/scenes.yaml
|
|
385
|
+
- contrib/screenshot-generator/shoot.rb
|
|
386
|
+
- contrib/screenshot-generator/sup-is-plain-text-applied.msg
|
|
387
|
+
- contrib/screenshot-generator/sup-is-plain-text.msg
|
|
378
388
|
- devel/console.sh
|
|
379
389
|
- devel/count-loc.sh
|
|
380
390
|
- devel/load-index.rb
|
|
@@ -455,14 +465,13 @@ files:
|
|
|
455
465
|
- man/sup-config.1
|
|
456
466
|
- man/sup-dump.1
|
|
457
467
|
- man/sup-import-dump.1
|
|
458
|
-
- man/sup-psych-ify-config-files.1
|
|
459
468
|
- man/sup-recover-sources.1
|
|
460
469
|
- man/sup-sync-back-maildir.1
|
|
461
470
|
- man/sup-sync.1
|
|
462
471
|
- man/sup-tweak-labels.1
|
|
463
472
|
- man/sup.1
|
|
464
|
-
- shell.nix
|
|
465
473
|
- sup.gemspec
|
|
474
|
+
- test/dummy_buffer.rb
|
|
466
475
|
- test/dummy_source.rb
|
|
467
476
|
- test/fixtures/bad-content-transfer-encoding-1.eml
|
|
468
477
|
- test/fixtures/binary-content-transfer-encoding-2.eml
|
|
@@ -470,6 +479,7 @@ files:
|
|
|
470
479
|
- test/fixtures/contacts.txt
|
|
471
480
|
- test/fixtures/embedded-message-rfc6532.eml
|
|
472
481
|
- test/fixtures/embedded-message.eml
|
|
482
|
+
- test/fixtures/folded-from-header.eml
|
|
473
483
|
- test/fixtures/invalid-date.eml
|
|
474
484
|
- test/fixtures/mailing-list-header.eml
|
|
475
485
|
- test/fixtures/malicious-attachment-names.eml
|
|
@@ -496,6 +506,8 @@ files:
|
|
|
496
506
|
- test/gnupg_test_home/regen_keys.sh
|
|
497
507
|
- test/gnupg_test_home/secring.gpg
|
|
498
508
|
- test/gnupg_test_home/sup-test-2@foo.bar.asc
|
|
509
|
+
- test/integration/test_draft.rb
|
|
510
|
+
- test/integration/test_index.rb
|
|
499
511
|
- test/integration/test_maildir.rb
|
|
500
512
|
- test/integration/test_mbox.rb
|
|
501
513
|
- test/integration/test_sup-add.rb
|
|
@@ -510,13 +522,16 @@ files:
|
|
|
510
522
|
- test/unit/test_contact.rb
|
|
511
523
|
- test/unit/test_edit_message_mode.rb
|
|
512
524
|
- test/unit/test_horizontal_selector.rb
|
|
525
|
+
- test/unit/test_index.rb
|
|
526
|
+
- test/unit/test_line_cursor_mode.rb
|
|
513
527
|
- test/unit/test_locale_fiddler.rb
|
|
528
|
+
- test/unit/test_maildir.rb
|
|
514
529
|
- test/unit/test_person.rb
|
|
515
530
|
- test/unit/test_rmail_message.rb
|
|
516
531
|
- test/unit/util/test_query.rb
|
|
517
532
|
- test/unit/util/test_string.rb
|
|
518
533
|
- test/unit/util/test_uri.rb
|
|
519
|
-
homepage: https://
|
|
534
|
+
homepage: https://supmua.dev/
|
|
520
535
|
licenses:
|
|
521
536
|
- GPL-2.0
|
|
522
537
|
metadata: {}
|
|
@@ -543,11 +558,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
543
558
|
- !ruby/object:Gem::Version
|
|
544
559
|
version: '0'
|
|
545
560
|
requirements: []
|
|
546
|
-
rubygems_version: 3.
|
|
547
|
-
signing_key:
|
|
561
|
+
rubygems_version: 3.7.2
|
|
548
562
|
specification_version: 4
|
|
549
563
|
summary: A console-based email client with the best features of GMail, mutt and Emacs
|
|
550
564
|
test_files:
|
|
565
|
+
- test/dummy_buffer.rb
|
|
551
566
|
- test/dummy_source.rb
|
|
552
567
|
- test/fixtures/bad-content-transfer-encoding-1.eml
|
|
553
568
|
- test/fixtures/binary-content-transfer-encoding-2.eml
|
|
@@ -555,6 +570,7 @@ test_files:
|
|
|
555
570
|
- test/fixtures/contacts.txt
|
|
556
571
|
- test/fixtures/embedded-message-rfc6532.eml
|
|
557
572
|
- test/fixtures/embedded-message.eml
|
|
573
|
+
- test/fixtures/folded-from-header.eml
|
|
558
574
|
- test/fixtures/invalid-date.eml
|
|
559
575
|
- test/fixtures/mailing-list-header.eml
|
|
560
576
|
- test/fixtures/malicious-attachment-names.eml
|
|
@@ -581,6 +597,8 @@ test_files:
|
|
|
581
597
|
- test/gnupg_test_home/regen_keys.sh
|
|
582
598
|
- test/gnupg_test_home/secring.gpg
|
|
583
599
|
- test/gnupg_test_home/sup-test-2@foo.bar.asc
|
|
600
|
+
- test/integration/test_draft.rb
|
|
601
|
+
- test/integration/test_index.rb
|
|
584
602
|
- test/integration/test_maildir.rb
|
|
585
603
|
- test/integration/test_mbox.rb
|
|
586
604
|
- test/integration/test_sup-add.rb
|
|
@@ -595,7 +613,10 @@ test_files:
|
|
|
595
613
|
- test/unit/test_contact.rb
|
|
596
614
|
- test/unit/test_edit_message_mode.rb
|
|
597
615
|
- test/unit/test_horizontal_selector.rb
|
|
616
|
+
- test/unit/test_index.rb
|
|
617
|
+
- test/unit/test_line_cursor_mode.rb
|
|
598
618
|
- test/unit/test_locale_fiddler.rb
|
|
619
|
+
- test/unit/test_maildir.rb
|
|
599
620
|
- test/unit/test_person.rb
|
|
600
621
|
- test/unit/test_rmail_message.rb
|
|
601
622
|
- test/unit/util/test_query.rb
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
.\" Automatically generated by Pandoc 3.1.11.1
|
|
2
|
-
.\"
|
|
3
|
-
.TH "SUP\-SYNC" "1" "September 3, 2014" "Sup User Manual" ""
|
|
4
|
-
.SH NAME
|
|
5
|
-
sup\-psych\-ify\-config\-files \- migrate Sup configuration
|
|
6
|
-
.SH SYNOPSIS
|
|
7
|
-
sup\-psych\-ify\-config\-files
|
|
8
|
-
.SH DESCRIPTION
|
|
9
|
-
\f[B]YAML migration is deprecated by Ruby 2.1 and newer.\f[R]
|
|
10
|
-
.PP
|
|
11
|
-
If sup\-psych\-ify\-config\-files is executed by Ruby <= 2.0 it migrates
|
|
12
|
-
the \f[I]$HOME/.sup/sources.yaml\f[R] configuration file by reading it
|
|
13
|
-
with the SYCK YAML parser and emitting the results with the Psych YAML
|
|
14
|
-
emitter.
|
|
15
|
-
.PP
|
|
16
|
-
Read more on the Sup wiki
|
|
17
|
-
.PP
|
|
18
|
-
https://github.com/sup\-heliotrope/sup/wiki/Migration\-0.13\-to\-0.14
|
|
19
|
-
.SH FILES
|
|
20
|
-
.TP
|
|
21
|
-
$HOME/.sup/config.yaml
|
|
22
|
-
Sup configuration file
|
|
23
|
-
.TP
|
|
24
|
-
$HOME/.sup/sources.yaml
|
|
25
|
-
Configuration file for Sup mail sources
|
|
26
|
-
.SH SEE ALSO
|
|
27
|
-
sup(1), sup\-add(1), sup\-config(1), sup\-dump(1)
|
|
28
|
-
.SH REPORTING BUGS
|
|
29
|
-
You are welcome to submit bug reports to the Sup issue tracker, located
|
|
30
|
-
at
|
|
31
|
-
.PP
|
|
32
|
-
\c
|
|
33
|
-
.UR https://github.com/sup-heliotrope/sup/issues
|
|
34
|
-
.UE \c
|
|
35
|
-
.SH CONTACT INFORMATION
|
|
36
|
-
.TP
|
|
37
|
-
The Sup web page:
|
|
38
|
-
\c
|
|
39
|
-
.UR https://sup-heliotrope.github.io/
|
|
40
|
-
.UE \c
|
|
41
|
-
.TP
|
|
42
|
-
Code repository:
|
|
43
|
-
\c
|
|
44
|
-
.UR https://github.com/sup-heliotrope/sup/
|
|
45
|
-
.UE \c
|
|
46
|
-
.TP
|
|
47
|
-
Sup Wiki:
|
|
48
|
-
\c
|
|
49
|
-
.UR https://github.com/sup-heliotrope/sup/wiki/
|
|
50
|
-
.UE \c
|
|
51
|
-
.TP
|
|
52
|
-
Mailing list:
|
|
53
|
-
supmua\[at]googlegroups.com
|
|
54
|
-
.RS
|
|
55
|
-
.PP
|
|
56
|
-
supmua+subscribe\[at]googlegroups.com
|
|
57
|
-
.PP
|
|
58
|
-
Archives: \c
|
|
59
|
-
.UR https://groups.google.com/d/forum/supmua/
|
|
60
|
-
.UE \c
|
|
61
|
-
.RE
|
|
62
|
-
.SH COPYRIGHT
|
|
63
|
-
Copyright © 2006\-2009 William Morgan \c
|
|
64
|
-
.MT mworgan-sup@masanjin.net
|
|
65
|
-
.ME \c
|
|
66
|
-
.PP
|
|
67
|
-
Copyright \[at] 2013\-2014 Sup developers
|
|
68
|
-
.PP
|
|
69
|
-
Permission is granted to copy and distribute this manual under the terms
|
|
70
|
-
of the GNU General Public License; either version 2 or (at your option)
|
|
71
|
-
any later version.
|
|
72
|
-
.SH AUTHORS
|
|
73
|
-
Sup was originally written by William Morgan \c
|
|
74
|
-
.MT wmorgan-sup@masanjin.net
|
|
75
|
-
.ME \c
|
|
76
|
-
\ and is now developed and maintained by the Sup developers.
|
data/shell.nix
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
contrib/nix/ruby3.3-shell.nix
|