vigiles 0.1.0.pre.beta2 → 0.1.0.pre.beta4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +10 -1
  3. data/lib/vigiles/archive/extras.rb +4 -3
  4. data/lib/vigiles/archive/metadata.rb +3 -2
  5. data/lib/vigiles/archive/request.rb +18 -4
  6. data/lib/vigiles/archive.rb +15 -3
  7. data/lib/vigiles/constants.rb +7 -0
  8. data/lib/vigiles/middleware/record_conversation.rb +6 -21
  9. data/lib/vigiles/spec.rb +1 -1
  10. data/lib/vigiles/utilities/uri.rb +18 -0
  11. data/lib/vigiles/version.rb +1 -1
  12. data/lib/vigiles.rb +4 -1
  13. data/sorbet/rbi/gems/{activemodel@7.0.5.rbi → actioncable@7.1.3.3.rbi} +2 -2
  14. data/sorbet/rbi/gems/actionmailbox@7.1.3.3.rbi +8 -0
  15. data/sorbet/rbi/gems/{activerecord@7.0.5.rbi → actionmailer@7.1.3.3.rbi} +2 -2
  16. data/sorbet/rbi/gems/actionpack@7.1.3.3.rbi +20046 -0
  17. data/sorbet/rbi/gems/actiontext@7.1.3.3.rbi +8 -0
  18. data/sorbet/rbi/gems/actionview@7.1.3.3.rbi +15953 -0
  19. data/sorbet/rbi/gems/activejob@7.1.3.3.rbi +8 -0
  20. data/sorbet/rbi/gems/activemodel@7.1.3.3.rbi +6657 -0
  21. data/sorbet/rbi/gems/activerecord@7.1.3.3.rbi +41520 -0
  22. data/sorbet/rbi/gems/activestorage@7.1.3.3.rbi +8 -0
  23. data/sorbet/rbi/gems/activesupport@7.1.3.3.rbi +20570 -0
  24. data/sorbet/rbi/gems/base64@0.2.0.rbi +508 -0
  25. data/sorbet/rbi/gems/bigdecimal@3.1.8.rbi +77 -0
  26. data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
  27. data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +8 -0
  28. data/sorbet/rbi/gems/crass@1.0.6.rbi +622 -0
  29. data/sorbet/rbi/gems/date@3.3.4.rbi +74 -0
  30. data/sorbet/rbi/gems/drb@2.2.1.rbi +1346 -0
  31. data/sorbet/rbi/gems/globalid@1.2.1.rbi +8 -0
  32. data/sorbet/rbi/gems/i18n@1.14.5.rbi +2358 -0
  33. data/sorbet/rbi/gems/io-console@0.7.2.rbi +8 -0
  34. data/sorbet/rbi/gems/loofah@2.22.0.rbi +1080 -0
  35. data/sorbet/rbi/gems/{i18n@1.14.1.rbi → mail@2.8.1.rbi} +2 -2
  36. data/sorbet/rbi/gems/marcel@1.0.4.rbi +8 -0
  37. data/sorbet/rbi/gems/mini_mime@1.1.5.rbi +8 -0
  38. data/sorbet/rbi/gems/mutex_m@0.2.0.rbi +93 -0
  39. data/sorbet/rbi/gems/net-imap@0.4.11.rbi +8 -0
  40. data/sorbet/rbi/gems/net-pop@0.1.2.rbi +8 -0
  41. data/sorbet/rbi/gems/net-protocol@0.2.2.rbi +291 -0
  42. data/sorbet/rbi/gems/net-smtp@0.5.0.rbi +8 -0
  43. data/sorbet/rbi/gems/nio4r@2.7.3.rbi +8 -0
  44. data/sorbet/rbi/gems/nokogiri@1.16.5.rbi +7310 -0
  45. data/sorbet/rbi/gems/psych@5.1.2.rbi +1768 -0
  46. data/sorbet/rbi/gems/rack-session@2.0.0.rbi +729 -0
  47. data/sorbet/rbi/gems/rack-test@2.1.0.rbi +749 -0
  48. data/sorbet/rbi/gems/rack@3.0.11.rbi +5195 -0
  49. data/sorbet/rbi/gems/rackup@2.1.0.rbi +406 -0
  50. data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +691 -0
  51. data/sorbet/rbi/gems/rails-html-sanitizer@1.6.0.rbi +721 -0
  52. data/sorbet/rbi/gems/rails@7.1.3.3.rbi +8 -0
  53. data/sorbet/rbi/gems/railties@7.1.3.3.rbi +2167 -0
  54. data/sorbet/rbi/gems/rdoc@6.6.3.1.rbi +12715 -0
  55. data/sorbet/rbi/gems/reline@0.5.7.rbi +8 -0
  56. data/sorbet/rbi/gems/stringio@3.1.0.rbi +8 -0
  57. data/sorbet/rbi/gems/timeout@0.4.1.rbi +148 -0
  58. data/sorbet/rbi/gems/webrick@1.8.1.rbi +2606 -0
  59. data/sorbet/rbi/gems/websocket-driver@0.7.6.rbi +8 -0
  60. data/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +8 -0
  61. data/sorbet/rbi/gems/zeitwerk@2.6.13.rbi +1003 -0
  62. data/vigiles.gemspec +1 -1
  63. metadata +54 -7
  64. data/sorbet/rbi/gems/activesupport@7.0.5.rbi +0 -14
@@ -1,8 +1,8 @@
1
1
  # typed: true
2
2
 
3
3
  # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `i18n` gem.
5
- # Please instead update this file by running `bin/tapioca gem i18n`.
4
+ # This is an autogenerated file for types exported from the `mail` gem.
5
+ # Please instead update this file by running `bin/tapioca gem mail`.
6
6
 
7
7
  # THIS IS AN EMPTY RBI FILE.
8
8
  # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
@@ -0,0 +1,8 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `marcel` gem.
5
+ # Please instead update this file by running `bin/tapioca gem marcel`.
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
@@ -0,0 +1,8 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `mini_mime` gem.
5
+ # Please instead update this file by running `bin/tapioca gem mini_mime`.
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
@@ -0,0 +1,93 @@
1
+ # typed: false
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `mutex_m` gem.
5
+ # Please instead update this file by running `bin/tapioca gem mutex_m`.
6
+
7
+ # = mutex_m.rb
8
+ #
9
+ # When 'mutex_m' is required, any object that extends or includes Mutex_m will
10
+ # be treated like a Mutex.
11
+ #
12
+ # Start by requiring the standard library Mutex_m:
13
+ #
14
+ # require "mutex_m.rb"
15
+ #
16
+ # From here you can extend an object with Mutex instance methods:
17
+ #
18
+ # obj = Object.new
19
+ # obj.extend Mutex_m
20
+ #
21
+ # Or mixin Mutex_m into your module to your class inherit Mutex instance
22
+ # methods --- remember to call super() in your class initialize method.
23
+ #
24
+ # class Foo
25
+ # include Mutex_m
26
+ # def initialize
27
+ # # ...
28
+ # super()
29
+ # end
30
+ # # ...
31
+ # end
32
+ # obj = Foo.new
33
+ # # this obj can be handled like Mutex
34
+ #
35
+ # source://mutex_m//lib/mutex_m.rb#41
36
+ module Mutex_m
37
+ # source://mutex_m//lib/mutex_m.rb#111
38
+ def initialize(*args, **_arg1); end
39
+
40
+ # source://mutex_m//lib/mutex_m.rb#64
41
+ def mu_extended; end
42
+
43
+ # See Thread::Mutex#lock
44
+ #
45
+ # source://mutex_m//lib/mutex_m.rb#91
46
+ def mu_lock; end
47
+
48
+ # See Thread::Mutex#locked?
49
+ #
50
+ # @return [Boolean]
51
+ #
52
+ # source://mutex_m//lib/mutex_m.rb#81
53
+ def mu_locked?; end
54
+
55
+ # See Thread::Mutex#synchronize
56
+ #
57
+ # source://mutex_m//lib/mutex_m.rb#76
58
+ def mu_synchronize(&block); end
59
+
60
+ # See Thread::Mutex#try_lock
61
+ #
62
+ # source://mutex_m//lib/mutex_m.rb#86
63
+ def mu_try_lock; end
64
+
65
+ # See Thread::Mutex#unlock
66
+ #
67
+ # source://mutex_m//lib/mutex_m.rb#96
68
+ def mu_unlock; end
69
+
70
+ # See Thread::Mutex#sleep
71
+ #
72
+ # source://mutex_m//lib/mutex_m.rb#101
73
+ def sleep(timeout = T.unsafe(nil)); end
74
+
75
+ private
76
+
77
+ # source://mutex_m//lib/mutex_m.rb#107
78
+ def mu_initialize; end
79
+
80
+ class << self
81
+ # source://mutex_m//lib/mutex_m.rb#54
82
+ def append_features(cl); end
83
+
84
+ # source://mutex_m//lib/mutex_m.rb#46
85
+ def define_aliases(cl); end
86
+
87
+ # source://mutex_m//lib/mutex_m.rb#59
88
+ def extend_object(obj); end
89
+ end
90
+ end
91
+
92
+ # source://mutex_m//lib/mutex_m.rb#43
93
+ Mutex_m::VERSION = T.let(T.unsafe(nil), String)
@@ -0,0 +1,8 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `net-imap` gem.
5
+ # Please instead update this file by running `bin/tapioca gem net-imap`.
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
@@ -0,0 +1,8 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `net-pop` gem.
5
+ # Please instead update this file by running `bin/tapioca gem net-pop`.
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
@@ -0,0 +1,291 @@
1
+ # typed: false
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `net-protocol` gem.
5
+ # Please instead update this file by running `bin/tapioca gem net-protocol`.
6
+
7
+ # source://net-protocol//lib/net/protocol.rb#115
8
+ class Net::BufferedIO
9
+ # @return [BufferedIO] a new instance of BufferedIO
10
+ #
11
+ # source://net-protocol//lib/net/protocol.rb#116
12
+ def initialize(io, read_timeout: T.unsafe(nil), write_timeout: T.unsafe(nil), continue_timeout: T.unsafe(nil), debug_output: T.unsafe(nil)); end
13
+
14
+ # source://net-protocol//lib/net/protocol.rb#285
15
+ def <<(*strs); end
16
+
17
+ # source://net-protocol//lib/net/protocol.rb#145
18
+ def close; end
19
+
20
+ # @return [Boolean]
21
+ #
22
+ # source://net-protocol//lib/net/protocol.rb#141
23
+ def closed?; end
24
+
25
+ # Returns the value of attribute continue_timeout.
26
+ #
27
+ # source://net-protocol//lib/net/protocol.rb#130
28
+ def continue_timeout; end
29
+
30
+ # Sets the attribute continue_timeout
31
+ #
32
+ # @param value the value to set the attribute continue_timeout to.
33
+ #
34
+ # source://net-protocol//lib/net/protocol.rb#130
35
+ def continue_timeout=(_arg0); end
36
+
37
+ # Returns the value of attribute debug_output.
38
+ #
39
+ # source://net-protocol//lib/net/protocol.rb#131
40
+ def debug_output; end
41
+
42
+ # Sets the attribute debug_output
43
+ #
44
+ # @param value the value to set the attribute debug_output to.
45
+ #
46
+ # source://net-protocol//lib/net/protocol.rb#131
47
+ def debug_output=(_arg0); end
48
+
49
+ # @return [Boolean]
50
+ #
51
+ # source://net-protocol//lib/net/protocol.rb#137
52
+ def eof?; end
53
+
54
+ # source://net-protocol//lib/net/protocol.rb#133
55
+ def inspect; end
56
+
57
+ # Returns the value of attribute io.
58
+ #
59
+ # source://net-protocol//lib/net/protocol.rb#127
60
+ def io; end
61
+
62
+ # source://net-protocol//lib/net/protocol.rb#155
63
+ def read(len, dest = T.unsafe(nil), ignore_eof = T.unsafe(nil)); end
64
+
65
+ # source://net-protocol//lib/net/protocol.rb#176
66
+ def read_all(dest = T.unsafe(nil)); end
67
+
68
+ # Returns the value of attribute read_timeout.
69
+ #
70
+ # source://net-protocol//lib/net/protocol.rb#128
71
+ def read_timeout; end
72
+
73
+ # Sets the attribute read_timeout
74
+ #
75
+ # @param value the value to set the attribute read_timeout to.
76
+ #
77
+ # source://net-protocol//lib/net/protocol.rb#128
78
+ def read_timeout=(_arg0); end
79
+
80
+ # source://net-protocol//lib/net/protocol.rb#208
81
+ def readline; end
82
+
83
+ # source://net-protocol//lib/net/protocol.rb#194
84
+ def readuntil(terminator, ignore_eof = T.unsafe(nil)); end
85
+
86
+ # source://net-protocol//lib/net/protocol.rb#285
87
+ def write(*strs); end
88
+
89
+ # Returns the value of attribute write_timeout.
90
+ #
91
+ # source://net-protocol//lib/net/protocol.rb#129
92
+ def write_timeout; end
93
+
94
+ # Sets the attribute write_timeout
95
+ #
96
+ # @param value the value to set the attribute write_timeout to.
97
+ #
98
+ # source://net-protocol//lib/net/protocol.rb#129
99
+ def write_timeout=(_arg0); end
100
+
101
+ # source://net-protocol//lib/net/protocol.rb#293
102
+ def writeline(str); end
103
+
104
+ private
105
+
106
+ # source://net-protocol//lib/net/protocol.rb#356
107
+ def LOG(msg); end
108
+
109
+ # source://net-protocol//lib/net/protocol.rb#347
110
+ def LOG_off; end
111
+
112
+ # source://net-protocol//lib/net/protocol.rb#352
113
+ def LOG_on; end
114
+
115
+ # source://net-protocol//lib/net/protocol.rb#257
116
+ def rbuf_consume(len = T.unsafe(nil)); end
117
+
118
+ # source://net-protocol//lib/net/protocol.rb#253
119
+ def rbuf_consume_all; end
120
+
121
+ # source://net-protocol//lib/net/protocol.rb#216
122
+ def rbuf_fill; end
123
+
124
+ # source://net-protocol//lib/net/protocol.rb#241
125
+ def rbuf_flush; end
126
+
127
+ # source://net-protocol//lib/net/protocol.rb#249
128
+ def rbuf_size; end
129
+
130
+ # source://net-protocol//lib/net/protocol.rb#311
131
+ def write0(*strs); end
132
+
133
+ # source://net-protocol//lib/net/protocol.rb#301
134
+ def writing; end
135
+ end
136
+
137
+ # source://net-protocol//lib/net/protocol.rb#363
138
+ class Net::InternetMessageIO < ::Net::BufferedIO
139
+ # @return [InternetMessageIO] a new instance of InternetMessageIO
140
+ #
141
+ # source://net-protocol//lib/net/protocol.rb#364
142
+ def initialize(*_arg0, **_arg1); end
143
+
144
+ # *library private* (cannot handle 'break')
145
+ #
146
+ # source://net-protocol//lib/net/protocol.rb#386
147
+ def each_list_item; end
148
+
149
+ # Read
150
+ #
151
+ # source://net-protocol//lib/net/protocol.rb#373
152
+ def each_message_chunk; end
153
+
154
+ # Write
155
+ #
156
+ # source://net-protocol//lib/net/protocol.rb#404
157
+ def write_message(src); end
158
+
159
+ # source://net-protocol//lib/net/protocol.rb#392
160
+ def write_message_0(src); end
161
+
162
+ # source://net-protocol//lib/net/protocol.rb#417
163
+ def write_message_by_block(&block); end
164
+
165
+ private
166
+
167
+ # source://net-protocol//lib/net/protocol.rb#460
168
+ def buffer_filling(buf, src); end
169
+
170
+ # source://net-protocol//lib/net/protocol.rb#436
171
+ def dot_stuff(s); end
172
+
173
+ # source://net-protocol//lib/net/protocol.rb#452
174
+ def each_crlf_line(src); end
175
+
176
+ # source://net-protocol//lib/net/protocol.rb#440
177
+ def using_each_crlf_line; end
178
+ end
179
+
180
+ # source://net-protocol//lib/net/protocol.rb#541
181
+ Net::NetPrivate::Socket = Net::InternetMessageIO
182
+
183
+ # source://net-protocol//lib/net/protocol.rb#68
184
+ Net::ProtocRetryError = Net::ProtoRetriableError
185
+
186
+ # source://net-protocol//lib/net/protocol.rb#28
187
+ class Net::Protocol
188
+ private
189
+
190
+ # source://net-protocol//lib/net/protocol.rb#40
191
+ def ssl_socket_connect(s, timeout); end
192
+
193
+ class << self
194
+ # source://net-protocol//lib/net/protocol.rb#32
195
+ def protocol_param(name, val); end
196
+ end
197
+ end
198
+
199
+ # source://net-protocol//lib/net/protocol.rb#29
200
+ Net::Protocol::VERSION = T.let(T.unsafe(nil), String)
201
+
202
+ # source://net-protocol//lib/net/protocol.rb#516
203
+ class Net::ReadAdapter
204
+ # @return [ReadAdapter] a new instance of ReadAdapter
205
+ #
206
+ # source://net-protocol//lib/net/protocol.rb#517
207
+ def initialize(block); end
208
+
209
+ # source://net-protocol//lib/net/protocol.rb#525
210
+ def <<(str); end
211
+
212
+ # source://net-protocol//lib/net/protocol.rb#521
213
+ def inspect; end
214
+
215
+ private
216
+
217
+ # This method is needed because @block must be called by yield,
218
+ # not Proc#call. You can see difference when using `break' in
219
+ # the block.
220
+ #
221
+ # @yield [str]
222
+ #
223
+ # source://net-protocol//lib/net/protocol.rb#534
224
+ def call_block(str); end
225
+ end
226
+
227
+ # ReadTimeout, a subclass of Timeout::Error, is raised if a chunk of the
228
+ # response cannot be read within the read_timeout.
229
+ #
230
+ # source://net-protocol//lib/net/protocol.rb#80
231
+ class Net::ReadTimeout < ::Timeout::Error
232
+ # @return [ReadTimeout] a new instance of ReadTimeout
233
+ #
234
+ # source://net-protocol//lib/net/protocol.rb#81
235
+ def initialize(io = T.unsafe(nil)); end
236
+
237
+ # Returns the value of attribute io.
238
+ #
239
+ # source://net-protocol//lib/net/protocol.rb#84
240
+ def io; end
241
+
242
+ # source://net-protocol//lib/net/protocol.rb#86
243
+ def message; end
244
+ end
245
+
246
+ # The writer adapter class
247
+ #
248
+ # source://net-protocol//lib/net/protocol.rb#486
249
+ class Net::WriteAdapter
250
+ # @return [WriteAdapter] a new instance of WriteAdapter
251
+ #
252
+ # source://net-protocol//lib/net/protocol.rb#487
253
+ def initialize(writer); end
254
+
255
+ # source://net-protocol//lib/net/protocol.rb#501
256
+ def <<(str); end
257
+
258
+ # source://net-protocol//lib/net/protocol.rb#491
259
+ def inspect; end
260
+
261
+ # source://net-protocol//lib/net/protocol.rb#495
262
+ def print(str); end
263
+
264
+ # source://net-protocol//lib/net/protocol.rb#510
265
+ def printf(*args); end
266
+
267
+ # source://net-protocol//lib/net/protocol.rb#506
268
+ def puts(str = T.unsafe(nil)); end
269
+
270
+ # source://net-protocol//lib/net/protocol.rb#495
271
+ def write(str); end
272
+ end
273
+
274
+ # WriteTimeout, a subclass of Timeout::Error, is raised if a chunk of the
275
+ # response cannot be written within the write_timeout. Not raised on Windows.
276
+ #
277
+ # source://net-protocol//lib/net/protocol.rb#99
278
+ class Net::WriteTimeout < ::Timeout::Error
279
+ # @return [WriteTimeout] a new instance of WriteTimeout
280
+ #
281
+ # source://net-protocol//lib/net/protocol.rb#100
282
+ def initialize(io = T.unsafe(nil)); end
283
+
284
+ # Returns the value of attribute io.
285
+ #
286
+ # source://net-protocol//lib/net/protocol.rb#103
287
+ def io; end
288
+
289
+ # source://net-protocol//lib/net/protocol.rb#105
290
+ def message; end
291
+ end
@@ -0,0 +1,8 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `net-smtp` gem.
5
+ # Please instead update this file by running `bin/tapioca gem net-smtp`.
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
@@ -0,0 +1,8 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `nio4r` gem.
5
+ # Please instead update this file by running `bin/tapioca gem nio4r`.
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem