imapcli 3.0.0 → 3.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a1983fc995c34ea7b3a8d03cdbc45d644090aa0cc60527fe824cd7ae5227300
4
- data.tar.gz: f688ac2337ae9c3f0cb5d6d62df60a345bb5fabc0dab771d518be5d1ce1b18a1
3
+ metadata.gz: cf3da9229783f1c5eff9461b6062e36ae8d51eac5ce818a980425c25d9c5e431
4
+ data.tar.gz: b2a6c6476a95644f7a4a97e2f7da6120858d2057afca64372a69424a1e6f036e
5
5
  SHA512:
6
- metadata.gz: 23e6aaf015e5ffb731e4f5a6e6d926ff0b8988ba3ea92503df7615aff9217e1b1b55a4c5236a9aabade45dffe53f7bf2912e6084886c25ec0f0d83202fc220f9
7
- data.tar.gz: 5cae5a577598c723f2c9621ad5ad173aa246bf93ffaff740f57e5ab6ce4f3c21b0d124daddf55b801f22b60e677a37a93ae1d20a913da82eff3d644818899833
6
+ metadata.gz: 7df011d6f9e64d4cfc387227e2eba187f921f4a80618fb12055ed616e357a9c8b80d3c129072768a453f3d63d4f221bd7b87c691cb1b73b7133dc6962f6fad03
7
+ data.tar.gz: 66fe3edbe82ce039b7d38e9f6f1836220adef5e71f6d8b268409daa838a6b1976252bac8d01514ef400ae645f2bf8b6c3e0f00bbd71f4f8b945d05d6715034a0
@@ -3,7 +3,7 @@
3
3
  {
4
4
  "name": "Ruby",
5
5
  // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6
- "image": "mcr.microsoft.com/devcontainers/ruby:1-3.3-bullseye"
6
+ "image": "mcr.microsoft.com/devcontainers/ruby:1-3.4-bullseye"
7
7
 
8
8
  // Features to add to the dev container. More info: https://containers.dev/features.
9
9
  // "features": {},
data/CHANGELOG.md CHANGED
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [Version 3.0.1 (2025-06-29)][v3.0.1]
9
+
10
+ ### Changed
11
+
12
+ - Updated dependencies.
13
+
14
+ ### Fixed
15
+
16
+ - Docker image now works again for real (finally fixes #10?).
17
+
18
+ ## [Version 3.0.0 (2025-04-21)][v3.0.0]
19
+
20
+ ### Fixed
21
+
22
+ - Docker image now works again (fixes #10).
23
+
8
24
  ## [Version 3.0.0 (2025-04-21)][v3.0.0]
9
25
 
10
26
  ### Changed
@@ -87,6 +103,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
87
103
  - Fix: Docker image.
88
104
  - Fix: Options error message.
89
105
 
106
+ [v3.0.1]: https://github.com/bovender/imapcli/releases/tag/v3.0.1
90
107
  [v3.0.0]: https://github.com/bovender/imapcli/releases/tag/v3.0.0
91
108
  [v2.1.0]: https://github.com/bovender/imapcli/releases/tag/v2.1.0
92
109
  [v2.0.1]: https://github.com/bovender/imapcli/releases/tag/v2.0.1
data/Dockerfile CHANGED
@@ -1,18 +1,22 @@
1
- FROM ruby:3.4-alpine
2
- LABEL maintainer="bovender@bovender.de"
3
- LABEL description="Command-line tool to query IMAP servers, collect stats etc."
4
-
5
- WORKDIR /
6
- ADD . /imapcli
7
- RUN apk add --no-cache git build-base && \
1
+ FROM ruby:3.5-rc AS builder
2
+ WORKDIR /imapcli
3
+ COPY Gemfile Gemfile.lock imapcli.gemspec .
4
+ COPY lib/imapcli/version.rb lib/imapcli/version.rb
5
+ RUN apt-get update -qq && \
6
+ apt-get install -y build-essential libc6 && \
8
7
  gem update --system && \
9
- cd imapcli && \
10
8
  bundle config set --local without development test && \
11
9
  bundle config set --local deployment true && \
12
- bundle install && \
13
- apk del build-base && \
14
- rm -rf /var/cache/apk/*
10
+ bundle install
15
11
 
12
+ FROM ruby:3.5-rc-slim
13
+ LABEL maintainer="bovender@bovender.de"
14
+ LABEL description="Command-line tool to query IMAP servers, collect stats etc."
16
15
  WORKDIR /imapcli
16
+ RUN apt-get update -qq && \
17
+ apt-get install -y git && \
18
+ apt-get clean && rm -rf /var/lib/apt/lists/*
19
+ COPY --from=builder /usr/local/bundle /usr/local/bundle
20
+ COPY --from=builder /imapcli/vendor /imapcli/vendor
21
+ COPY . .
17
22
  ENTRYPOINT ["bundle", "exec", "exe/imapcli"]
18
-
data/Gemfile.lock CHANGED
@@ -1,13 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- imapcli (2.1.0)
4
+ imapcli (3.0.1)
5
5
  activesupport (~> 8.0)
6
6
  csv
7
7
  descriptive_statistics (~> 2.5)
8
8
  dotenv (~> 3.1)
9
9
  gli (~> 2.22)
10
- multi_json (~> 1.15)
11
10
  net-imap
12
11
  oj (~> 3.16)
13
12
  tty-progressbar (~> 0.18)
@@ -31,34 +30,35 @@ GEM
31
30
  securerandom (>= 0.3)
32
31
  tzinfo (~> 2.0, >= 2.0.5)
33
32
  uri (>= 0.13.1)
34
- ast (2.4.2)
35
- base64 (0.2.0)
36
- benchmark (0.4.0)
37
- bigdecimal (3.1.9)
33
+ ast (2.4.3)
34
+ base64 (0.3.0)
35
+ benchmark (0.4.1)
36
+ bigdecimal (3.2.2)
38
37
  coderay (1.1.3)
39
38
  concurrent-ruby (1.3.5)
40
- connection_pool (2.5.0)
41
- csv (3.3.2)
39
+ connection_pool (2.5.3)
40
+ csv (3.3.5)
42
41
  date (3.4.1)
43
- debug (1.10.0)
42
+ debug (1.11.0)
44
43
  irb (~> 1.10)
45
44
  reline (>= 0.3.8)
46
45
  descriptive_statistics (2.5.1)
47
- diff-lcs (1.6.0)
46
+ diff-lcs (1.6.2)
48
47
  docile (1.4.1)
49
- dotenv (3.1.7)
50
- drb (2.2.1)
51
- ffi (1.17.1)
52
- ffi (1.17.1-aarch64-linux-gnu)
53
- ffi (1.17.1-aarch64-linux-musl)
54
- ffi (1.17.1-arm-linux-gnu)
55
- ffi (1.17.1-arm-linux-musl)
56
- ffi (1.17.1-arm64-darwin)
57
- ffi (1.17.1-x86-linux-gnu)
58
- ffi (1.17.1-x86-linux-musl)
59
- ffi (1.17.1-x86_64-darwin)
60
- ffi (1.17.1-x86_64-linux-gnu)
61
- ffi (1.17.1-x86_64-linux-musl)
48
+ dotenv (3.1.8)
49
+ drb (2.2.3)
50
+ erb (5.0.1)
51
+ ffi (1.17.2)
52
+ ffi (1.17.2-aarch64-linux-gnu)
53
+ ffi (1.17.2-aarch64-linux-musl)
54
+ ffi (1.17.2-arm-linux-gnu)
55
+ ffi (1.17.2-arm-linux-musl)
56
+ ffi (1.17.2-arm64-darwin)
57
+ ffi (1.17.2-x86-linux-gnu)
58
+ ffi (1.17.2-x86-linux-musl)
59
+ ffi (1.17.2-x86_64-darwin)
60
+ ffi (1.17.2-x86_64-linux-gnu)
61
+ ffi (1.17.2-x86_64-linux-musl)
62
62
  formatador (1.1.0)
63
63
  gli (2.22.2)
64
64
  ostruct
@@ -81,23 +81,22 @@ GEM
81
81
  i18n (1.14.7)
82
82
  concurrent-ruby (~> 1.0)
83
83
  io-console (0.8.0)
84
- irb (1.15.1)
84
+ irb (1.15.2)
85
85
  pp (>= 0.6.0)
86
86
  rdoc (>= 4.0.0)
87
87
  reline (>= 0.4.2)
88
- json (2.10.2)
89
- language_server-protocol (3.17.0.4)
88
+ json (2.12.2)
89
+ language_server-protocol (3.17.0.5)
90
90
  lint_roller (1.1.0)
91
91
  listen (3.9.0)
92
92
  rb-fsevent (~> 0.10, >= 0.10.3)
93
93
  rb-inotify (~> 0.9, >= 0.9.10)
94
- logger (1.6.6)
94
+ logger (1.7.0)
95
95
  lumberjack (1.2.10)
96
96
  method_source (1.1.0)
97
97
  minitest (5.25.5)
98
- multi_json (1.15.0)
99
98
  nenv (0.3.0)
100
- net-imap (0.5.6)
99
+ net-imap (0.5.9)
101
100
  date
102
101
  net-protocol
103
102
  net-protocol (0.2.2)
@@ -105,12 +104,12 @@ GEM
105
104
  notiffany (0.1.3)
106
105
  nenv (~> 0.1)
107
106
  shellany (~> 0.0)
108
- oj (3.16.10)
107
+ oj (3.16.11)
109
108
  bigdecimal (>= 3.0)
110
109
  ostruct (>= 0.2)
111
- ostruct (0.6.1)
112
- parallel (1.26.3)
113
- parser (3.3.7.1)
110
+ ostruct (0.6.2)
111
+ parallel (1.27.0)
112
+ parser (3.3.8.0)
114
113
  ast (~> 2.4.1)
115
114
  racc
116
115
  pastel (0.8.0)
@@ -118,37 +117,39 @@ GEM
118
117
  pp (0.6.2)
119
118
  prettyprint
120
119
  prettyprint (0.2.0)
120
+ prism (1.4.0)
121
121
  pry (0.15.2)
122
122
  coderay (~> 1.1)
123
123
  method_source (~> 1.0)
124
- psych (5.2.3)
124
+ psych (5.2.6)
125
125
  date
126
126
  stringio
127
127
  racc (1.8.1)
128
128
  rainbow (3.1.1)
129
- rake (13.2.1)
129
+ rake (13.3.0)
130
130
  rb-fsevent (0.11.2)
131
131
  rb-inotify (0.11.1)
132
132
  ffi (~> 1.0)
133
- rdoc (6.12.0)
133
+ rdoc (6.14.1)
134
+ erb
134
135
  psych (>= 4.0.0)
135
136
  regexp_parser (2.10.0)
136
- reline (0.6.0)
137
+ reline (0.6.1)
137
138
  io-console (~> 0.5)
138
- rspec (3.13.0)
139
+ rspec (3.13.1)
139
140
  rspec-core (~> 3.13.0)
140
141
  rspec-expectations (~> 3.13.0)
141
142
  rspec-mocks (~> 3.13.0)
142
- rspec-core (3.13.3)
143
+ rspec-core (3.13.5)
143
144
  rspec-support (~> 3.13.0)
144
- rspec-expectations (3.13.3)
145
+ rspec-expectations (3.13.5)
145
146
  diff-lcs (>= 1.2.0, < 2.0)
146
147
  rspec-support (~> 3.13.0)
147
- rspec-mocks (3.13.2)
148
+ rspec-mocks (3.13.5)
148
149
  diff-lcs (>= 1.2.0, < 2.0)
149
150
  rspec-support (~> 3.13.0)
150
- rspec-support (3.13.2)
151
- rubocop (1.74.0)
151
+ rspec-support (3.13.4)
152
+ rubocop (1.77.0)
152
153
  json (~> 2.3)
153
154
  language_server-protocol (~> 3.17.0.2)
154
155
  lint_roller (~> 1.1.0)
@@ -156,19 +157,20 @@ GEM
156
157
  parser (>= 3.3.0.2)
157
158
  rainbow (>= 2.2.2, < 4.0)
158
159
  regexp_parser (>= 2.9.3, < 3.0)
159
- rubocop-ast (>= 1.38.0, < 2.0)
160
+ rubocop-ast (>= 1.45.1, < 2.0)
160
161
  ruby-progressbar (~> 1.7)
161
162
  unicode-display_width (>= 2.4.0, < 4.0)
162
- rubocop-ast (1.39.0)
163
- parser (>= 3.3.1.0)
164
- rubocop-performance (1.24.0)
163
+ rubocop-ast (1.45.1)
164
+ parser (>= 3.3.7.2)
165
+ prism (~> 1.4)
166
+ rubocop-performance (1.25.0)
165
167
  lint_roller (~> 1.1)
166
- rubocop (>= 1.72.1, < 2.0)
168
+ rubocop (>= 1.75.0, < 2.0)
167
169
  rubocop-ast (>= 1.38.0, < 2.0)
168
170
  rubocop-rake (0.7.1)
169
171
  lint_roller (~> 1.1)
170
172
  rubocop (>= 1.72.1)
171
- rubocop-rspec (3.5.0)
173
+ rubocop-rspec (3.6.0)
172
174
  lint_roller (~> 1.1)
173
175
  rubocop (~> 1.72, >= 1.72.1)
174
176
  ruby-progressbar (1.13.0)
@@ -180,7 +182,7 @@ GEM
180
182
  simplecov_json_formatter (~> 0.1)
181
183
  simplecov-html (0.13.1)
182
184
  simplecov_json_formatter (0.1.4)
183
- stringio (3.1.5)
185
+ stringio (3.1.7)
184
186
  strings (0.2.1)
185
187
  strings-ansi (~> 0.2)
186
188
  unicode-display_width (>= 1.5, < 3.0)
@@ -213,7 +215,7 @@ GEM
213
215
  unicode_utils (1.4.0)
214
216
  uri (1.0.3)
215
217
  wisper (2.0.1)
216
- zeitwerk (2.7.2)
218
+ zeitwerk (2.7.3)
217
219
 
218
220
  PLATFORMS
219
221
  aarch64-linux-gnu
@@ -243,4 +245,4 @@ DEPENDENCIES
243
245
  simplecov
244
246
 
245
247
  BUNDLED WITH
246
- 2.6.5
248
+ 2.6.9
data/lib/imapcli/cli.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'multi_json'
4
3
  require 'oj'
5
4
 
6
5
  module Imapcli
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Imapcli
4
- VERSION = '3.0.0'
4
+ VERSION = '3.0.1'
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imapcli
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kraus (bovender)
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-04-21 00:00:00.000000000 Z
10
+ date: 2025-06-29 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: activesupport
@@ -198,7 +198,6 @@ files:
198
198
  - lib/imapcli/option_validator.rb
199
199
  - lib/imapcli/stats.rb
200
200
  - lib/imapcli/version.rb
201
- - logoutput.json
202
201
  - spec/lib/imapcli/client_spec.rb
203
202
  - spec/lib/imapcli/command_spec.rb
204
203
  - spec/lib/imapcli/mailbox_spec.rb
data/logoutput.json DELETED
@@ -1,527 +0,0 @@
1
- [
2
- {
3
- ":imap_command":"list",
4
- ":imap_response":{
5
- "FLAGS":[
6
- [
7
- ":Answered",
8
- ":Flagged",
9
- ":Deleted",
10
- ":Seen",
11
- ":Draft",
12
- "NonJunk",
13
- "Junk",
14
- "$label2",
15
- "$forwarded",
16
- "$label5",
17
- "Old",
18
- "$label4",
19
- "$label3",
20
- "$SIGNED",
21
- "$JUNK",
22
- "$ATTACHMENT",
23
- "$NOTJUNK",
24
- "$INVITATION",
25
- "$label1",
26
- "$TODO"
27
- ]
28
- ],
29
- "OK":[
30
- {
31
- "^u":[
32
- "Net::IMAP::ResponseText",
33
- {
34
- "^u":[
35
- "Net::IMAP::ResponseCode",
36
- "PERMANENTFLAGS",
37
- []]},
38
- "Read-only mailbox."]},
39
- {
40
- "^u":[
41
- "Net::IMAP::ResponseText",
42
- {
43
- "^u":[
44
- "Net::IMAP::ResponseCode",
45
- "UNSEEN",
46
- 6]},
47
- "First unseen."]},
48
- {
49
- "^u":[
50
- "Net::IMAP::ResponseText",
51
- {
52
- "^u":[
53
- "Net::IMAP::ResponseCode",
54
- "UIDVALIDITY",
55
- 1435851445]},
56
- "UIDs valid"]},
57
- {
58
- "^u":[
59
- "Net::IMAP::ResponseText",
60
- {
61
- "^u":[
62
- "Net::IMAP::ResponseCode",
63
- "UIDNEXT",
64
- 104489]},
65
- "Predicted next UID"]},
66
- {
67
- "^u":[
68
- "Net::IMAP::ResponseText",
69
- {
70
- "^u":[
71
- "Net::IMAP::ResponseCode",
72
- "HIGHESTMODSEQ",
73
- 309489]},
74
- "Highest"]}
75
- ],
76
- "PERMANENTFLAGS":[
77
- []
78
- ],
79
- "EXISTS":[
80
- 6
81
- ],
82
- "RECENT":[
83
- 0
84
- ],
85
- "UNSEEN":[
86
- 6
87
- ],
88
- "UIDVALIDITY":[
89
- 1435851445
90
- ],
91
- "UIDNEXT":[
92
- 104489
93
- ],
94
- "HIGHESTMODSEQ":[
95
- 309489
96
- ],
97
- "ESEARCH":[],
98
- "BYE":[
99
- {
100
- "^u":[
101
- "Net::IMAP::ResponseText",
102
- null,
103
- "Logging out"]}
104
- ]
105
- }
106
- },
107
- {
108
- ":imap_command":"list('')",
109
- ":imap_response":{
110
- "FLAGS":[
111
- [
112
- ":Answered",
113
- ":Flagged",
114
- ":Deleted",
115
- ":Seen",
116
- ":Draft",
117
- "NonJunk",
118
- "Junk",
119
- "$label2",
120
- "$forwarded",
121
- "$label5",
122
- "Old",
123
- "$label4",
124
- "$label3",
125
- "$SIGNED",
126
- "$JUNK",
127
- "$ATTACHMENT",
128
- "$NOTJUNK",
129
- "$INVITATION",
130
- "$label1",
131
- "$TODO"
132
- ]
133
- ],
134
- "OK":[
135
- {
136
- "^u":[
137
- "Net::IMAP::ResponseText",
138
- {
139
- "^u":[
140
- "Net::IMAP::ResponseCode",
141
- "PERMANENTFLAGS",
142
- []]},
143
- "Read-only mailbox."]},
144
- {
145
- "^u":[
146
- "Net::IMAP::ResponseText",
147
- {
148
- "^u":[
149
- "Net::IMAP::ResponseCode",
150
- "UNSEEN",
151
- 6]},
152
- "First unseen."]},
153
- {
154
- "^u":[
155
- "Net::IMAP::ResponseText",
156
- {
157
- "^u":[
158
- "Net::IMAP::ResponseCode",
159
- "UIDVALIDITY",
160
- 1435851445]},
161
- "UIDs valid"]},
162
- {
163
- "^u":[
164
- "Net::IMAP::ResponseText",
165
- {
166
- "^u":[
167
- "Net::IMAP::ResponseCode",
168
- "UIDNEXT",
169
- 104489]},
170
- "Predicted next UID"]},
171
- {
172
- "^u":[
173
- "Net::IMAP::ResponseText",
174
- {
175
- "^u":[
176
- "Net::IMAP::ResponseCode",
177
- "HIGHESTMODSEQ",
178
- 309489]},
179
- "Highest"]}
180
- ],
181
- "PERMANENTFLAGS":[
182
- []
183
- ],
184
- "EXISTS":[
185
- 6
186
- ],
187
- "RECENT":[
188
- 0
189
- ],
190
- "UNSEEN":[
191
- 6
192
- ],
193
- "UIDVALIDITY":[
194
- 1435851445
195
- ],
196
- "UIDNEXT":[
197
- 104489
198
- ],
199
- "HIGHESTMODSEQ":[
200
- 309489
201
- ],
202
- "ESEARCH":[],
203
- "BYE":[
204
- {
205
- "^u":[
206
- "Net::IMAP::ResponseText",
207
- null,
208
- "Logging out"]}
209
- ]
210
- }
211
- },
212
- {
213
- ":imap_command":"examine('INBOX')",
214
- ":imap_response":{
215
- "FLAGS":[
216
- [
217
- ":Answered",
218
- ":Flagged",
219
- ":Deleted",
220
- ":Seen",
221
- ":Draft",
222
- "NonJunk",
223
- "Junk",
224
- "$label2",
225
- "$forwarded",
226
- "$label5",
227
- "Old",
228
- "$label4",
229
- "$label3",
230
- "$SIGNED",
231
- "$JUNK",
232
- "$ATTACHMENT",
233
- "$NOTJUNK",
234
- "$INVITATION",
235
- "$label1",
236
- "$TODO"
237
- ]
238
- ],
239
- "OK":[
240
- {
241
- "^u":[
242
- "Net::IMAP::ResponseText",
243
- {
244
- "^u":[
245
- "Net::IMAP::ResponseCode",
246
- "PERMANENTFLAGS",
247
- []]},
248
- "Read-only mailbox."]},
249
- {
250
- "^u":[
251
- "Net::IMAP::ResponseText",
252
- {
253
- "^u":[
254
- "Net::IMAP::ResponseCode",
255
- "UNSEEN",
256
- 6]},
257
- "First unseen."]},
258
- {
259
- "^u":[
260
- "Net::IMAP::ResponseText",
261
- {
262
- "^u":[
263
- "Net::IMAP::ResponseCode",
264
- "UIDVALIDITY",
265
- 1435851445]},
266
- "UIDs valid"]},
267
- {
268
- "^u":[
269
- "Net::IMAP::ResponseText",
270
- {
271
- "^u":[
272
- "Net::IMAP::ResponseCode",
273
- "UIDNEXT",
274
- 104489]},
275
- "Predicted next UID"]},
276
- {
277
- "^u":[
278
- "Net::IMAP::ResponseText",
279
- {
280
- "^u":[
281
- "Net::IMAP::ResponseCode",
282
- "HIGHESTMODSEQ",
283
- 309489]},
284
- "Highest"]}
285
- ],
286
- "PERMANENTFLAGS":[
287
- []
288
- ],
289
- "EXISTS":[
290
- 6
291
- ],
292
- "RECENT":[
293
- 0
294
- ],
295
- "UNSEEN":[
296
- 6
297
- ],
298
- "UIDVALIDITY":[
299
- 1435851445
300
- ],
301
- "UIDNEXT":[
302
- 104489
303
- ],
304
- "HIGHESTMODSEQ":[
305
- 309489
306
- ],
307
- "ESEARCH":[],
308
- "BYE":[
309
- {
310
- "^u":[
311
- "Net::IMAP::ResponseText",
312
- null,
313
- "Logging out"]}
314
- ]
315
- }
316
- },
317
- {
318
- ":imap_command":"search('ALL')",
319
- ":imap_response":{
320
- "FLAGS":[
321
- [
322
- ":Answered",
323
- ":Flagged",
324
- ":Deleted",
325
- ":Seen",
326
- ":Draft",
327
- "NonJunk",
328
- "Junk",
329
- "$label2",
330
- "$forwarded",
331
- "$label5",
332
- "Old",
333
- "$label4",
334
- "$label3",
335
- "$SIGNED",
336
- "$JUNK",
337
- "$ATTACHMENT",
338
- "$NOTJUNK",
339
- "$INVITATION",
340
- "$label1",
341
- "$TODO"
342
- ]
343
- ],
344
- "OK":[
345
- {
346
- "^u":[
347
- "Net::IMAP::ResponseText",
348
- {
349
- "^u":[
350
- "Net::IMAP::ResponseCode",
351
- "PERMANENTFLAGS",
352
- []]},
353
- "Read-only mailbox."]},
354
- {
355
- "^u":[
356
- "Net::IMAP::ResponseText",
357
- {
358
- "^u":[
359
- "Net::IMAP::ResponseCode",
360
- "UNSEEN",
361
- 6]},
362
- "First unseen."]},
363
- {
364
- "^u":[
365
- "Net::IMAP::ResponseText",
366
- {
367
- "^u":[
368
- "Net::IMAP::ResponseCode",
369
- "UIDVALIDITY",
370
- 1435851445]},
371
- "UIDs valid"]},
372
- {
373
- "^u":[
374
- "Net::IMAP::ResponseText",
375
- {
376
- "^u":[
377
- "Net::IMAP::ResponseCode",
378
- "UIDNEXT",
379
- 104489]},
380
- "Predicted next UID"]},
381
- {
382
- "^u":[
383
- "Net::IMAP::ResponseText",
384
- {
385
- "^u":[
386
- "Net::IMAP::ResponseCode",
387
- "HIGHESTMODSEQ",
388
- 309489]},
389
- "Highest"]}
390
- ],
391
- "PERMANENTFLAGS":[
392
- []
393
- ],
394
- "EXISTS":[
395
- 6
396
- ],
397
- "RECENT":[
398
- 0
399
- ],
400
- "UNSEEN":[
401
- 6
402
- ],
403
- "UIDVALIDITY":[
404
- 1435851445
405
- ],
406
- "UIDNEXT":[
407
- 104489
408
- ],
409
- "HIGHESTMODSEQ":[
410
- 309489
411
- ],
412
- "ESEARCH":[],
413
- "BYE":[
414
- {
415
- "^u":[
416
- "Net::IMAP::ResponseText",
417
- null,
418
- "Logging out"]}
419
- ]
420
- }
421
- },
422
- {
423
- ":imap_command":"fetch(...)",
424
- ":imap_response":{
425
- "FLAGS":[
426
- [
427
- ":Answered",
428
- ":Flagged",
429
- ":Deleted",
430
- ":Seen",
431
- ":Draft",
432
- "NonJunk",
433
- "Junk",
434
- "$label2",
435
- "$forwarded",
436
- "$label5",
437
- "Old",
438
- "$label4",
439
- "$label3",
440
- "$SIGNED",
441
- "$JUNK",
442
- "$ATTACHMENT",
443
- "$NOTJUNK",
444
- "$INVITATION",
445
- "$label1",
446
- "$TODO"
447
- ]
448
- ],
449
- "OK":[
450
- {
451
- "^u":[
452
- "Net::IMAP::ResponseText",
453
- {
454
- "^u":[
455
- "Net::IMAP::ResponseCode",
456
- "PERMANENTFLAGS",
457
- []]},
458
- "Read-only mailbox."]},
459
- {
460
- "^u":[
461
- "Net::IMAP::ResponseText",
462
- {
463
- "^u":[
464
- "Net::IMAP::ResponseCode",
465
- "UNSEEN",
466
- 6]},
467
- "First unseen."]},
468
- {
469
- "^u":[
470
- "Net::IMAP::ResponseText",
471
- {
472
- "^u":[
473
- "Net::IMAP::ResponseCode",
474
- "UIDVALIDITY",
475
- 1435851445]},
476
- "UIDs valid"]},
477
- {
478
- "^u":[
479
- "Net::IMAP::ResponseText",
480
- {
481
- "^u":[
482
- "Net::IMAP::ResponseCode",
483
- "UIDNEXT",
484
- 104489]},
485
- "Predicted next UID"]},
486
- {
487
- "^u":[
488
- "Net::IMAP::ResponseText",
489
- {
490
- "^u":[
491
- "Net::IMAP::ResponseCode",
492
- "HIGHESTMODSEQ",
493
- 309489]},
494
- "Highest"]}
495
- ],
496
- "PERMANENTFLAGS":[
497
- []
498
- ],
499
- "EXISTS":[
500
- 6
501
- ],
502
- "RECENT":[
503
- 0
504
- ],
505
- "UNSEEN":[
506
- 6
507
- ],
508
- "UIDVALIDITY":[
509
- 1435851445
510
- ],
511
- "UIDNEXT":[
512
- 104489
513
- ],
514
- "HIGHESTMODSEQ":[
515
- 309489
516
- ],
517
- "ESEARCH":[],
518
- "BYE":[
519
- {
520
- "^u":[
521
- "Net::IMAP::ResponseText",
522
- null,
523
- "Logging out"]}
524
- ]
525
- }
526
- }
527
- ]