sup 1.1 → 1.3

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.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/checks.yml +40 -38
  3. data/.gitmodules +1 -0
  4. data/CONTRIBUTORS +3 -1
  5. data/History.txt +32 -3
  6. data/Manifest.txt +34 -1
  7. data/README.md +0 -1
  8. data/bin/sup-sync-back-maildir +1 -1
  9. data/contrib/nix/Gemfile +24 -0
  10. data/contrib/nix/Gemfile.lock +101 -0
  11. data/contrib/nix/README +7 -0
  12. data/contrib/nix/gem-install-shell.nix +14 -0
  13. data/contrib/nix/gemset.nix +391 -0
  14. data/contrib/nix/ruby2.4-Gemfile.lock +85 -0
  15. data/contrib/nix/ruby2.4-gemset.nix +329 -0
  16. data/contrib/nix/ruby2.4-shell.nix +26 -0
  17. data/contrib/nix/ruby2.5-Gemfile.lock +85 -0
  18. data/contrib/nix/ruby2.5-gemset.nix +329 -0
  19. data/contrib/nix/ruby2.5-shell.nix +26 -0
  20. data/contrib/nix/ruby2.6-Gemfile.lock +87 -0
  21. data/contrib/nix/ruby2.6-gemset.nix +339 -0
  22. data/contrib/nix/ruby2.6-shell.nix +26 -0
  23. data/contrib/nix/ruby2.7-Gemfile.lock +91 -0
  24. data/contrib/nix/ruby2.7-gemset.nix +359 -0
  25. data/contrib/nix/ruby2.7-shell.nix +14 -0
  26. data/contrib/nix/ruby3.0-Gemfile.lock +91 -0
  27. data/contrib/nix/ruby3.0-gemset.nix +359 -0
  28. data/contrib/nix/ruby3.0-shell.nix +14 -0
  29. data/contrib/nix/ruby3.1-shell.nix +25 -0
  30. data/contrib/nix/ruby3.2-shell.nix +25 -0
  31. data/contrib/nix/ruby3.3-shell.nix +25 -0
  32. data/contrib/nix/ruby3.4-shell.nix +36 -0
  33. data/contrib/nix/test-all-rubies.sh +6 -0
  34. data/doc/Hooks.txt +1 -1
  35. data/ext/mkrf_conf_xapian.rb +2 -2
  36. data/lib/sup/crypto.rb +8 -6
  37. data/lib/sup/index.rb +2 -2
  38. data/lib/sup/maildir.rb +5 -1
  39. data/lib/sup/mbox.rb +26 -8
  40. data/lib/sup/message.rb +15 -12
  41. data/lib/sup/modes/console_mode.rb +1 -1
  42. data/lib/sup/modes/edit_message_mode.rb +5 -5
  43. data/lib/sup/thread.rb +20 -20
  44. data/lib/sup/util.rb +12 -7
  45. data/lib/sup/version.rb +1 -1
  46. data/man/sup-add.1 +40 -40
  47. data/man/sup-config.1 +30 -26
  48. data/man/sup-dump.1 +38 -38
  49. data/man/sup-import-dump.1 +41 -37
  50. data/man/sup-psych-ify-config-files.1 +32 -28
  51. data/man/sup-recover-sources.1 +39 -35
  52. data/man/sup-sync-back-maildir.1 +39 -34
  53. data/man/sup-sync.1 +50 -46
  54. data/man/sup-tweak-labels.1 +43 -38
  55. data/man/sup.1 +42 -38
  56. data/shell.nix +1 -0
  57. data/sup.gemspec +2 -0
  58. data/test/dummy_source.rb +6 -0
  59. data/test/fixtures/embedded-message-rfc6532.eml +33 -0
  60. data/test/fixtures/invalid-date.eml +8 -0
  61. data/test/gnupg_test_home/private-keys-v1.d/26C05E44706A8E230B3255BB9532B34DC9420232.key +42 -0
  62. data/test/gnupg_test_home/private-keys-v1.d/D187ADC90EC4DEB7047678EAA37E33A53A465D47.key +5 -0
  63. data/test/gnupg_test_home/private-keys-v1.d/FB2D9BD3B1BE90B5BCF697781F8404224B0FCF5B.key +5 -0
  64. data/test/gnupg_test_home/pubring.gpg +0 -0
  65. data/test/gnupg_test_home/receiver_pubring.gpg +0 -0
  66. data/test/gnupg_test_home/receiver_secring.gpg +0 -0
  67. data/test/gnupg_test_home/regen_keys.sh +11 -2
  68. data/test/gnupg_test_home/secring.gpg +0 -0
  69. data/test/gnupg_test_home/sup-test-2@foo.bar.asc +20 -20
  70. data/test/integration/test_maildir.rb +18 -1
  71. data/test/integration/test_mbox.rb +13 -0
  72. data/test/integration/test_sup-sync-back-maildir.rb +40 -0
  73. data/test/test_crypto.rb +108 -71
  74. data/test/test_header_parsing.rb +2 -2
  75. data/test/test_message.rb +42 -0
  76. data/test/unit/test_contact.rb +1 -1
  77. data/test/unit/test_edit_message_mode.rb +94 -0
  78. data/test/unit/test_person.rb +3 -3
  79. data/test/unit/test_rmail_message.rb +36 -0
  80. data/test/unit/util/test_string.rb +3 -3
  81. metadata +73 -5
  82. data/test/gnupg_test_home/private-keys-v1.d/306D2EE90FF0014B5B9FD07E265C751791674140.key +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93d027a0f383edb73d1a2900ca991d8d8d8daca922f0088c18f5281ca04daeb4
4
- data.tar.gz: 31b25e512227252a498baa651ea9b026ba452274dd5c67c99412dc2ef54f3e7a
3
+ metadata.gz: 3a01c7e42026b08f66082ec94ced164f0be41c86e9a5cc01a4894b61f712efb9
4
+ data.tar.gz: dfd7da5b3742dac1e07d2c55530cb539f543a26a48f716e1ee878474d43a1671
5
5
  SHA512:
6
- metadata.gz: 06211d3a91b76d20396afe9323bdf62d14acf61d13688333ae8f6409b55ff2120037df11e0a5e62e869e476868307a42216ee34e28f3621a05da0f9953a6cda3
7
- data.tar.gz: f17bac030201cdabd4c6e3313a4178fb03f65f70992dcd4364cde425d1fd658408973b1758c7d45b13140dddde0e92f34006d6085140bbbb76164081083e9006
6
+ metadata.gz: e4b15c43896ff49fe700c1aa4c63f85cf7dc3241f1bdc258e34e8053dddcaff733b951b5f2883cfde05b73c001f94c1bb8102b4e0413eab1a3de99a4aad8a263
7
+ data.tar.gz: 4c3834600e0eb738500029b797076c6f0a7d52d29609b4ef7168d0ff56a9b34b902ee7c647afccc7c9fa0cd6962116df3fe6e3c5a943f257a8bd46b7b96e2a28
@@ -15,56 +15,58 @@ jobs:
15
15
  matrix:
16
16
  os:
17
17
  - ubuntu-latest
18
- - macos-latest
18
+ - macos-14
19
19
  ruby-version:
20
- - '2.0'
21
- - '2.1'
22
- # Ruby 2.2 fails installing sup gem with a nonsensical error:
23
- # Could not find 'xapian-ruby' (~> 1.2) among 21 total gem(s)
24
- #- '2.2'
25
- - '2.3'
26
20
  - '2.4'
27
21
  - '2.5'
28
22
  - '2.6'
29
23
  - '2.7'
30
24
  - '3.0'
31
25
  - '3.1'
26
+ - '3.2'
27
+ - '3.3'
28
+ - '3.4'
32
29
  exclude:
33
- # xapian-bindings 1.2.2 fails to build on MacOS:
34
- # clang: warning: include path for libstdc++ headers not found; pass
35
- # '-stdlib=libc++' on the command line to use the libc++ standard
36
- # library instead [-Wstdlibcxx-not-found]
37
- # xapian_wrap.cc:1836:10: fatal error: 'string' file not found
38
- # Probably just wrong compiler command or some mess that I can't be
39
- # bothered to figure out.
40
- - os: macos-latest
41
- ruby-version: '2.0'
42
- # xapian-bindings 1.4.18 fails to build with Ruby 3.0+ on MacOS:
43
- # error: '__declspec' attributes are not enabled; use '-fdeclspec' or
44
- # '-fms-extensions' to enable support for __declspec attributes
45
- # Needs this fix:
46
- # https://github.com/xapian/xapian/commit/63a06768a250b0bb4821b835f011e8214d560f8e
47
- - os: macos-latest
30
+ # We use xapian-bindings 1.4.22 for Ruby < 3.1, but it does not link on MacOS 14:
31
+ # https://github.com/Garaio-REM/xapian-ruby/issues/10
32
+ - os: macos-14
33
+ ruby-version: '2.4'
34
+ - os: macos-14
35
+ ruby-version: '2.5'
36
+ - os: macos-14
37
+ ruby-version: '2.6'
38
+ - os: macos-14
39
+ ruby-version: '2.7'
40
+ - os: macos-14
48
41
  ruby-version: '3.0'
49
- - os: macos-latest
50
- ruby-version: '3.1'
51
42
  runs-on: ${{ matrix.os }}
43
+ env:
44
+ nixfile: "contrib/nix/ruby${{ matrix.ruby-version }}-shell.nix"
52
45
  steps:
53
- - name: Install pandoc
54
- run: sudo apt-get install -y pandoc
55
- if: runner.os == 'Linux'
56
- - name: Install pandoc
57
- run: brew install pandoc
58
- if: runner.os == 'macOS'
59
- - uses: actions/checkout@v3
46
+ - name: Check out source
47
+ uses: actions/checkout@v3
60
48
  with:
61
49
  submodules: recursive
62
- - name: Set up Ruby
63
- uses: ruby/setup-ruby@v1
50
+ - name: Cache nix store
51
+ uses: actions/cache@v3
52
+ id: nix-cache
64
53
  with:
65
- ruby-version: ${{ matrix.ruby-version }}
66
- bundler-cache: true
54
+ path: /tmp/nixcache
55
+ key: nix-store-${{ matrix.os }}-ruby${{ matrix.ruby-version }}-${{ hashFiles('contrib/nix/**') }}
56
+ restore-keys: |
57
+ nix-store-${{ matrix.os }}-ruby${{ matrix.ruby-version }}-
58
+ nix-store-
59
+ - name: Install bash on MacOS
60
+ run: brew install bash
61
+ if: runner.os == 'macOS'
62
+ - name: Install nix
63
+ uses: nixbuild/nix-quick-install-action@v30
64
+ - name: Import nix cache
65
+ run: |
66
+ if [ -f /tmp/nixcache ] ; then
67
+ nix-store --import </tmp/nixcache
68
+ fi
67
69
  - name: Run Rake ci task
68
- run: bundle exec rake ci
69
- - name: Test gem installation
70
- run: gem install pkg/sup-*.gem
70
+ run: nix-shell "$nixfile" --run 'rake ci'
71
+ - name: Export nix cache
72
+ run: nix-store --export $(nix-store -qR $(nix-build --no-out-link "$nixfile" -A inputDerivation | tail -n1)) >/tmp/nixcache
data/.gitmodules CHANGED
@@ -1,3 +1,4 @@
1
1
  [submodule "doc/wiki"]
2
2
  path = doc/wiki
3
3
  url = https://github.com/sup-heliotrope/sup.wiki.git
4
+ branch = master
data/CONTRIBUTORS CHANGED
@@ -1,8 +1,8 @@
1
1
  William Morgan <william at the twitter dot coms>
2
2
  Rich Lane <rlane at the club.cc.cmu dot edus>
3
3
  Gaute Hope <eg at the gaute.vetsj dot coms>
4
- Whyme Lyu <callme5long at the gmail dot coms>
5
4
  Dan Callaghan <djc at the djc.id dot aus>
5
+ Whyme Lyu <callme5long at the gmail dot coms>
6
6
  Hamish Downer <dmishd at the gmail dot coms>
7
7
  Zeger-Jan van de Weg <mail at the zjvandeweg dot nls>
8
8
  Damien Leone <damien.leone at the fensalir dot frs>
@@ -87,6 +87,8 @@ Todd Eisenberger <teisenbe at the andrew.cmu dot edus>
87
87
  Johannes Larsen <mail at the johslarsen dot nets>
88
88
  Steven Schmeiser <steven at the schmeiser dot orgs>
89
89
  Steven Walter <swalter at the monarch.(none)>
90
+ Patrice Duroux <patrice.duroux at the gmail dot coms>
91
+ gclv <gh at the sg.ggoncalves dot mes>
90
92
  Utkarsh Gupta <utkarsh at the debian dot orgs>
91
93
  Michael Dwyer <mdwyer at the michaelmdwyer dot coms>
92
94
  Kyle Hunt <Kyle_Hunt at the ymail dot coms>
data/History.txt CHANGED
@@ -1,6 +1,35 @@
1
+ == 1.3 / 2025-04-21
2
+
3
+ * #596: If a message lacks a Date header, or the Date header is not in valid
4
+ RFC2822 format, the local delivery timestamp of the message will now be used
5
+ instead. Fixes a bug where such messages would constantly jump to the top of
6
+ the thread list.
7
+ * #502: Fixed incorrect Content-Transfer-Encoding headers when sending GPG
8
+ signed or encrypted messages with attachments.
9
+ * #522: Sup now uses the configured signing key when sending a message that is
10
+ both signed and encrypted. Previously it would ignore the configured key and
11
+ use the GPG default signing key.
12
+ * #489: Attachments are now encoded if they have lines longer than 998
13
+ characters.
14
+ * #602: The message/global MIME type is now recognised as an embedded message.
15
+ * Sup is now tested on Ruby 3.4.
16
+
17
+ == 1.2 / 2024-04-21
18
+
19
+ * #619: Sup is now compatible with and tested on Ruby 3.2 and Ruby 3.3.
20
+ (Dan Callaghan)
21
+ * #603: Fixed deprecated usage of Enumerator.new, which caused a crash on
22
+ Ruby 3+. (Gui Goncalves)
23
+ * OutOfSyncSourceErrors now show an error message in the thread view in place
24
+ of the out-of-sync message body, instead of crashing. (Dan Callaghan)
25
+ * #613: When installing Sup as a gem, the dependency on xapian-ruby is now
26
+ skipped if the SUP_SKIP_XAPIAN_GEM_INSTALL environment variable is set.
27
+ Previously it was skipped unconditionally on OpenBSD only. (Dan Callaghan)
28
+
1
29
  == 1.1 / 2022-05-23
2
30
 
3
31
  * #588, #577: Sup is now compatible with and tested on Ruby 3.0 and Ruby 3.1.
32
+ (Dan Callaghan)
4
33
  * When the Sup gem installs xapian-ruby, it will install to the user gem
5
34
  directory if the system gem directory is not writable. (Iain Parris)
6
35
  * #571: To and From addresses of enclosed messages are now displayed normally,
@@ -8,15 +37,15 @@
8
37
  * #570: Fixed wording when displaying enclosed messages without Date header.
9
38
  (Iain Parris)
10
39
  * #205, #602: UTF-8 header values are now accepted and handled correctly, as
11
- per RFC6532.
40
+ per RFC6532. (Dan Callaghan)
12
41
  * #585: Text/plain attachments with invalid charset are now displayed as
13
- US-ASCII (with high bytes replaced) instead of crashing.
42
+ US-ASCII (with high bytes replaced) instead of crashing. (Dan Callaghan)
14
43
  * #424: Spaces are now accepted in RFC2047-encoded header words, even though
15
44
  the RFC forbids them. (Dan Callaghan)
16
45
  * Invalid RFC2047-encoded header words are now displayed in their raw form,
17
46
  rather than trying to forcibly transcode them to UTF-8, as per the RFC's
18
47
  recommendation. (Dan Callaghan)
19
- * Sup now decodes UTF-7 correctly instead of crashing.
48
+ * Sup now decodes UTF-7 correctly instead of crashing. (Dan Callaghan)
20
49
 
21
50
  == 1.0 / 2020-07-12
22
51
 
data/Manifest.txt CHANGED
@@ -23,6 +23,31 @@ bin/sup-tweak-labels
23
23
  contrib/colorpicker.rb
24
24
  contrib/completion/_sup.bash
25
25
  contrib/completion/_sup.zsh
26
+ contrib/nix/Gemfile
27
+ contrib/nix/Gemfile.lock
28
+ contrib/nix/README
29
+ contrib/nix/gem-install-shell.nix
30
+ contrib/nix/gemset.nix
31
+ contrib/nix/ruby2.4-Gemfile.lock
32
+ contrib/nix/ruby2.4-gemset.nix
33
+ contrib/nix/ruby2.4-shell.nix
34
+ contrib/nix/ruby2.5-Gemfile.lock
35
+ contrib/nix/ruby2.5-gemset.nix
36
+ contrib/nix/ruby2.5-shell.nix
37
+ contrib/nix/ruby2.6-Gemfile.lock
38
+ contrib/nix/ruby2.6-gemset.nix
39
+ contrib/nix/ruby2.6-shell.nix
40
+ contrib/nix/ruby2.7-Gemfile.lock
41
+ contrib/nix/ruby2.7-gemset.nix
42
+ contrib/nix/ruby2.7-shell.nix
43
+ contrib/nix/ruby3.0-Gemfile.lock
44
+ contrib/nix/ruby3.0-gemset.nix
45
+ contrib/nix/ruby3.0-shell.nix
46
+ contrib/nix/ruby3.1-shell.nix
47
+ contrib/nix/ruby3.2-shell.nix
48
+ contrib/nix/ruby3.3-shell.nix
49
+ contrib/nix/ruby3.4-shell.nix
50
+ contrib/nix/test-all-rubies.sh
26
51
  devel/console.sh
27
52
  devel/count-loc.sh
28
53
  devel/load-index.rb
@@ -100,13 +125,16 @@ lib/sup/util/path.rb
100
125
  lib/sup/util/query.rb
101
126
  lib/sup/util/uri.rb
102
127
  lib/sup/version.rb
128
+ shell.nix
103
129
  sup.gemspec
104
130
  test/dummy_source.rb
105
131
  test/fixtures/bad-content-transfer-encoding-1.eml
106
132
  test/fixtures/binary-content-transfer-encoding-2.eml
107
133
  test/fixtures/blank-header-fields.eml
108
134
  test/fixtures/contacts.txt
135
+ test/fixtures/embedded-message-rfc6532.eml
109
136
  test/fixtures/embedded-message.eml
137
+ test/fixtures/invalid-date.eml
110
138
  test/fixtures/mailing-list-header.eml
111
139
  test/fixtures/malicious-attachment-names.eml
112
140
  test/fixtures/missing-from-to.eml
@@ -123,7 +151,9 @@ test/fixtures/utf8-header.eml
123
151
  test/fixtures/zimbra-quote-with-bottom-post.eml
124
152
  test/gnupg_test_home/.gpg-v21-migrated
125
153
  test/gnupg_test_home/gpg.conf
126
- test/gnupg_test_home/private-keys-v1.d/306D2EE90FF0014B5B9FD07E265C751791674140.key
154
+ test/gnupg_test_home/private-keys-v1.d/26C05E44706A8E230B3255BB9532B34DC9420232.key
155
+ test/gnupg_test_home/private-keys-v1.d/D187ADC90EC4DEB7047678EAA37E33A53A465D47.key
156
+ test/gnupg_test_home/private-keys-v1.d/FB2D9BD3B1BE90B5BCF697781F8404224B0FCF5B.key
127
157
  test/gnupg_test_home/pubring.gpg
128
158
  test/gnupg_test_home/receiver_pubring.gpg
129
159
  test/gnupg_test_home/receiver_secring.gpg
@@ -133,6 +163,7 @@ test/gnupg_test_home/sup-test-2@foo.bar.asc
133
163
  test/integration/test_maildir.rb
134
164
  test/integration/test_mbox.rb
135
165
  test/integration/test_sup-add.rb
166
+ test/integration/test_sup-sync-back-maildir.rb
136
167
  test/test_crypto.rb
137
168
  test/test_header_parsing.rb
138
169
  test/test_helper.rb
@@ -141,9 +172,11 @@ test/test_messages_dir.rb
141
172
  test/test_yaml_regressions.rb
142
173
  test/unit/service/test_label_service.rb
143
174
  test/unit/test_contact.rb
175
+ test/unit/test_edit_message_mode.rb
144
176
  test/unit/test_horizontal_selector.rb
145
177
  test/unit/test_locale_fiddler.rb
146
178
  test/unit/test_person.rb
179
+ test/unit/test_rmail_message.rb
147
180
  test/unit/util/test_query.rb
148
181
  test/unit/util/test_string.rb
149
182
  test/unit/util/test_uri.rb
data/README.md CHANGED
@@ -38,7 +38,6 @@ Please report bugs to the [GitHub issue tracker](https://github.com/sup-heliotro
38
38
  * [Homepage](https://sup-heliotrope.github.io/)
39
39
  * [Code repository](https://github.com/sup-heliotrope/sup)
40
40
  * [Wiki](https://github.com/sup-heliotrope/sup/wiki)
41
- * IRC: [#sup @ freenode.net](http://webchat.freenode.net/?channels=#sup)
42
41
  * Mailing list: supmua@googlegroups.com (subscribe: supmua+subscribe@googlegroups.com, archive: https://groups.google.com/d/forum/supmua )
43
42
 
44
43
  ## Maintenance status
@@ -94,7 +94,7 @@ begin
94
94
  next if STDIN.gets.chomp.downcase == 'n'
95
95
  end
96
96
 
97
- infos = Enumerator.new(index, :each_source_info, s.id).to_a
97
+ infos = index.enum_for(:each_source_info, s.id).to_a
98
98
  counter = 0
99
99
  infos.each do |info|
100
100
  print "\rSynchronizing '#{s.uri}'... #{((counter += 1)/infos.size.to_f*100).to_i}%"
@@ -0,0 +1,24 @@
1
+ source "https://rubygems.org/"
2
+
3
+ gem "xapian-ruby", "~> 1.2"
4
+ gem "ncursesw", "~> 1.4.0"
5
+ gem "rmail", ">= 1.1.2", "< 2"
6
+ gem "highline"
7
+ gem "optimist"
8
+ gem "lockfile"
9
+ gem "mime-types", "> 2.0"
10
+ gem "locale", "~> 2.0"
11
+ gem "chronic"
12
+ gem "unicode", "~> 0.4.4"
13
+ gem "unicode-display_width"
14
+ gem "string-scrub" if /^2\.0\./ =~ RUBY_VERSION
15
+ gem "benchmark"
16
+ gem "fiddle"
17
+
18
+ gem "bundler", ">= 1.3", "< 3"
19
+ gem "rake"
20
+ gem "minitest", "~> 5.5"
21
+ gem "rr", "~> 1.1"
22
+ gem "gpgme", ">= 2.0.2"
23
+ gem "pry"
24
+ gem "rubocop-packaging" unless /^2\.[012]\./ =~ RUBY_VERSION
@@ -0,0 +1,101 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ ast (2.4.3)
5
+ benchmark (0.4.0)
6
+ chronic (0.10.2)
7
+ coderay (1.1.3)
8
+ fiddle (1.1.6)
9
+ gpgme (2.0.24)
10
+ mini_portile2 (~> 2.7)
11
+ highline (3.1.2)
12
+ reline
13
+ io-console (0.8.0)
14
+ json (2.10.2)
15
+ language_server-protocol (3.17.0.4)
16
+ locale (2.1.4)
17
+ lockfile (2.1.3)
18
+ logger (1.7.0)
19
+ method_source (1.1.0)
20
+ mime-types (3.6.2)
21
+ logger
22
+ mime-types-data (~> 3.2015)
23
+ mime-types-data (3.2025.0402)
24
+ mini_portile2 (2.8.8)
25
+ minitest (5.25.5)
26
+ ncursesw (1.4.11)
27
+ optimist (3.2.1)
28
+ parallel (1.26.3)
29
+ parser (3.3.7.4)
30
+ ast (~> 2.4.1)
31
+ racc
32
+ pry (0.15.2)
33
+ coderay (~> 1.1)
34
+ method_source (~> 1.0)
35
+ racc (1.8.1)
36
+ rainbow (3.1.1)
37
+ rake (13.2.1)
38
+ regexp_parser (2.9.0)
39
+ reline (0.6.1)
40
+ io-console (~> 0.5)
41
+ rexml (3.2.6)
42
+ rmail (1.1.4)
43
+ rr (1.2.1)
44
+ rubocop (1.63.2)
45
+ json (~> 2.3)
46
+ language_server-protocol (>= 3.17.0)
47
+ parallel (~> 1.10)
48
+ parser (>= 3.3.0.2)
49
+ rainbow (>= 2.2.2, < 4.0)
50
+ regexp_parser (>= 1.8, < 3.0)
51
+ rexml (>= 3.2.5, < 4.0)
52
+ rubocop-ast (>= 1.31.1, < 2.0)
53
+ ruby-progressbar (~> 1.7)
54
+ unicode-display_width (>= 2.4.0, < 3.0)
55
+ rubocop-ast (1.31.2)
56
+ parser (>= 3.3.0.4)
57
+ rubocop-packaging (0.5.2)
58
+ rubocop (>= 1.33, < 2.0)
59
+ ruby-progressbar (1.13.0)
60
+ unicode (0.4.4.5)
61
+ unicode-display_width (2.5.0)
62
+ xapian-ruby (1.4.27)
63
+
64
+ PLATFORMS
65
+ aarch64-linux
66
+ arm64-darwin-24
67
+ ruby
68
+ x86_64-darwin-17
69
+ x86_64-darwin-18
70
+ x86_64-darwin-19
71
+ x86_64-darwin-20
72
+ x86_64-darwin-21
73
+ x86_64-darwin-22
74
+ x86_64-darwin-23
75
+ x86_64-darwin-24
76
+ x86_64-linux
77
+
78
+ DEPENDENCIES
79
+ benchmark
80
+ bundler (>= 1.3, < 3)
81
+ chronic
82
+ fiddle
83
+ gpgme (>= 2.0.2)
84
+ highline
85
+ locale (~> 2.0)
86
+ lockfile
87
+ mime-types (> 2.0)
88
+ minitest (~> 5.5)
89
+ ncursesw (~> 1.4.0)
90
+ optimist
91
+ pry
92
+ rake
93
+ rmail (>= 1.1.2, < 2)
94
+ rr (~> 1.1)
95
+ rubocop-packaging
96
+ unicode (~> 0.4.4)
97
+ unicode-display_width
98
+ xapian-ruby (~> 1.2)
99
+
100
+ BUNDLED WITH
101
+ 2.5.22
@@ -0,0 +1,7 @@
1
+ After updating Gemfile, regenerate Gemfile.lock and gemset.nix:
2
+
3
+ nix-shell -p bundix --run 'bundix --gemfile=contrib/nix/Gemfile --lockfile=contrib/nix/Gemfile.lock --gemset=contrib/nix/gemset.nix -l'
4
+
5
+ Test gem installation:
6
+
7
+ nix-shell contrib/nix/gem-install-shell.nix --run 'gem install --verbose -i ./asdf ./pkg/sup-999.gem'
@@ -0,0 +1,14 @@
1
+ { pkgs ? import <nixpkgs> {} }:
2
+ pkgs.mkShell {
3
+ packages = with pkgs; [
4
+ ncurses
5
+ ncurses.dev
6
+ libffi
7
+ libffi.dev
8
+ libuuid
9
+ libuuid.dev
10
+ ruby_3_2
11
+ zlib
12
+ zlib.dev
13
+ ];
14
+ }