vigiles 0.1.0.pre.beta3 → 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 -22
  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
@@ -0,0 +1,8 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `reline` gem.
5
+ # Please instead update this file by running `bin/tapioca gem reline`.
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 `stringio` gem.
5
+ # Please instead update this file by running `bin/tapioca gem stringio`.
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
@@ -0,0 +1,148 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `timeout` gem.
5
+ # Please instead update this file by running `bin/tapioca gem timeout`.
6
+
7
+ # source://timeout//lib/timeout.rb#25
8
+ module Timeout
9
+ private
10
+
11
+ # Perform an operation in a block, raising an error if it takes longer than
12
+ # +sec+ seconds to complete.
13
+ #
14
+ # +sec+:: Number of seconds to wait for the block to terminate. Any number
15
+ # may be used, including Floats to specify fractional seconds. A
16
+ # value of 0 or +nil+ will execute the block without any timeout.
17
+ # +klass+:: Exception Class to raise if the block fails to terminate
18
+ # in +sec+ seconds. Omitting will use the default, Timeout::Error
19
+ # +message+:: Error message to raise with Exception Class.
20
+ # Omitting will use the default, "execution expired"
21
+ #
22
+ # Returns the result of the block *if* the block completed before
23
+ # +sec+ seconds, otherwise throws an exception, based on the value of +klass+.
24
+ #
25
+ # The exception thrown to terminate the given block cannot be rescued inside
26
+ # the block unless +klass+ is given explicitly. However, the block can use
27
+ # ensure to prevent the handling of the exception. For that reason, this
28
+ # method cannot be relied on to enforce timeouts for untrusted blocks.
29
+ #
30
+ # If a scheduler is defined, it will be used to handle the timeout by invoking
31
+ # Scheduler#timeout_after.
32
+ #
33
+ # Note that this is both a method of module Timeout, so you can <tt>include
34
+ # Timeout</tt> into your classes so they have a #timeout method, as well as
35
+ # a module method, so you can call it directly as Timeout.timeout().
36
+ #
37
+ # source://timeout//lib/timeout.rb#169
38
+ def timeout(sec, klass = T.unsafe(nil), message = T.unsafe(nil), &block); end
39
+
40
+ class << self
41
+ # source://timeout//lib/timeout.rb#127
42
+ def ensure_timeout_thread_created; end
43
+
44
+ # Perform an operation in a block, raising an error if it takes longer than
45
+ # +sec+ seconds to complete.
46
+ #
47
+ # +sec+:: Number of seconds to wait for the block to terminate. Any number
48
+ # may be used, including Floats to specify fractional seconds. A
49
+ # value of 0 or +nil+ will execute the block without any timeout.
50
+ # +klass+:: Exception Class to raise if the block fails to terminate
51
+ # in +sec+ seconds. Omitting will use the default, Timeout::Error
52
+ # +message+:: Error message to raise with Exception Class.
53
+ # Omitting will use the default, "execution expired"
54
+ #
55
+ # Returns the result of the block *if* the block completed before
56
+ # +sec+ seconds, otherwise throws an exception, based on the value of +klass+.
57
+ #
58
+ # The exception thrown to terminate the given block cannot be rescued inside
59
+ # the block unless +klass+ is given explicitly. However, the block can use
60
+ # ensure to prevent the handling of the exception. For that reason, this
61
+ # method cannot be relied on to enforce timeouts for untrusted blocks.
62
+ #
63
+ # If a scheduler is defined, it will be used to handle the timeout by invoking
64
+ # Scheduler#timeout_after.
65
+ #
66
+ # Note that this is both a method of module Timeout, so you can <tt>include
67
+ # Timeout</tt> into your classes so they have a #timeout method, as well as
68
+ # a module method, so you can call it directly as Timeout.timeout().
69
+ #
70
+ # source://timeout//lib/timeout.rb#169
71
+ def timeout(sec, klass = T.unsafe(nil), message = T.unsafe(nil), &block); end
72
+
73
+ private
74
+
75
+ # source://timeout//lib/timeout.rb#97
76
+ def create_timeout_thread; end
77
+ end
78
+ end
79
+
80
+ # :stopdoc:
81
+ #
82
+ # source://timeout//lib/timeout.rb#50
83
+ Timeout::CONDVAR = T.let(T.unsafe(nil), Thread::ConditionVariable)
84
+
85
+ # Raised by Timeout.timeout when the block times out.
86
+ #
87
+ # source://timeout//lib/timeout.rb#36
88
+ class Timeout::Error < ::RuntimeError
89
+ class << self
90
+ # source://timeout//lib/timeout.rb#37
91
+ def handle_timeout(message); end
92
+ end
93
+ end
94
+
95
+ # Internal error raised to when a timeout is triggered.
96
+ #
97
+ # source://timeout//lib/timeout.rb#29
98
+ class Timeout::ExitException < ::Exception
99
+ # source://timeout//lib/timeout.rb#30
100
+ def exception(*_arg0); end
101
+ end
102
+
103
+ # We keep a private reference so that time mocking libraries won't break
104
+ # Timeout.
105
+ #
106
+ # source://timeout//lib/timeout.rb#139
107
+ Timeout::GET_TIME = T.let(T.unsafe(nil), Method)
108
+
109
+ # source://timeout//lib/timeout.rb#51
110
+ Timeout::QUEUE = T.let(T.unsafe(nil), Thread::Queue)
111
+
112
+ # source://timeout//lib/timeout.rb#52
113
+ Timeout::QUEUE_MUTEX = T.let(T.unsafe(nil), Thread::Mutex)
114
+
115
+ # source://timeout//lib/timeout.rb#57
116
+ class Timeout::Request
117
+ # @return [Request] a new instance of Request
118
+ #
119
+ # source://timeout//lib/timeout.rb#60
120
+ def initialize(thread, timeout, exception_class, message); end
121
+
122
+ # Returns the value of attribute deadline.
123
+ #
124
+ # source://timeout//lib/timeout.rb#58
125
+ def deadline; end
126
+
127
+ # @return [Boolean]
128
+ #
129
+ # source://timeout//lib/timeout.rb#70
130
+ def done?; end
131
+
132
+ # @return [Boolean]
133
+ #
134
+ # source://timeout//lib/timeout.rb#76
135
+ def expired?(now); end
136
+
137
+ # source://timeout//lib/timeout.rb#89
138
+ def finished; end
139
+
140
+ # source://timeout//lib/timeout.rb#80
141
+ def interrupt; end
142
+ end
143
+
144
+ # source://timeout//lib/timeout.rb#53
145
+ Timeout::TIMEOUT_THREAD_MUTEX = T.let(T.unsafe(nil), Thread::Mutex)
146
+
147
+ # source://timeout//lib/timeout.rb#26
148
+ Timeout::VERSION = T.let(T.unsafe(nil), String)