konstruo 1.0.0
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 +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +22 -0
- data/.tool-versions +1 -0
- data/CHANGELOG.md +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +35 -0
- data/Rakefile +10 -0
- data/lib/konstruo/mapper.rb +120 -0
- data/lib/konstruo/version.rb +6 -0
- data/lib/konstruo.rb +18 -0
- data/sorbet/config +4 -0
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/actionmailer.rbi +10 -0
- data/sorbet/rbi/annotations/actionpack.rbi +430 -0
- data/sorbet/rbi/annotations/actionview.rbi +75 -0
- data/sorbet/rbi/annotations/activejob.rbi +44 -0
- data/sorbet/rbi/annotations/activemodel.rbi +89 -0
- data/sorbet/rbi/annotations/activerecord.rbi +92 -0
- data/sorbet/rbi/annotations/activesupport.rbi +454 -0
- data/sorbet/rbi/annotations/globalid.rbi +30 -0
- data/sorbet/rbi/annotations/minitest.rbi +119 -0
- data/sorbet/rbi/annotations/railties.rbi +61 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/dsl/.gitattributes +1 -0
- data/sorbet/rbi/dsl/active_support/callbacks.rbi +23 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/actioncable@7.2.1.rbi +3096 -0
- data/sorbet/rbi/gems/actionmailbox@7.2.1.rbi +1832 -0
- data/sorbet/rbi/gems/actionmailer@7.2.1.rbi +2664 -0
- data/sorbet/rbi/gems/actionpack@7.2.1.rbi +20536 -0
- data/sorbet/rbi/gems/actiontext@7.2.1.rbi +1697 -0
- data/sorbet/rbi/gems/actionview@7.2.1.rbi +15752 -0
- data/sorbet/rbi/gems/activejob@7.2.1.rbi +2828 -0
- data/sorbet/rbi/gems/activemodel@7.2.1.rbi +6762 -0
- data/sorbet/rbi/gems/activerecord@7.2.1.rbi +41433 -0
- data/sorbet/rbi/gems/activestorage@7.2.1.rbi +3247 -0
- data/sorbet/rbi/gems/activesupport@7.2.1.rbi +21142 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
- data/sorbet/rbi/gems/base64@0.2.0.rbi +509 -0
- data/sorbet/rbi/gems/bigdecimal@3.1.8.rbi +78 -0
- data/sorbet/rbi/gems/builder@3.3.0.rbi +9 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.3.4.rbi +11645 -0
- data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +9 -0
- data/sorbet/rbi/gems/crass@1.0.6.rbi +623 -0
- data/sorbet/rbi/gems/dashbrains-rubocop-config@1.0.4.rbi +9 -0
- data/sorbet/rbi/gems/date@3.3.4.rbi +75 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +1131 -0
- data/sorbet/rbi/gems/drb@2.2.1.rbi +1347 -0
- data/sorbet/rbi/gems/erubi@1.13.0.rbi +150 -0
- data/sorbet/rbi/gems/globalid@1.2.1.rbi +749 -0
- data/sorbet/rbi/gems/i18n@1.14.5.rbi +2359 -0
- data/sorbet/rbi/gems/io-console@0.7.2.rbi +9 -0
- data/sorbet/rbi/gems/json@2.7.2.rbi +1562 -0
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14238 -0
- data/sorbet/rbi/gems/logger@1.6.1.rbi +920 -0
- data/sorbet/rbi/gems/loofah@2.22.0.rbi +1081 -0
- data/sorbet/rbi/gems/mail@2.8.1.rbi +8658 -0
- data/sorbet/rbi/gems/marcel@1.0.4.rbi +239 -0
- data/sorbet/rbi/gems/mini_mime@1.1.5.rbi +173 -0
- data/sorbet/rbi/gems/minitest@5.25.1.rbi +1546 -0
- data/sorbet/rbi/gems/net-imap@0.4.16.rbi +10845 -0
- data/sorbet/rbi/gems/net-pop@0.1.2.rbi +927 -0
- data/sorbet/rbi/gems/net-protocol@0.2.2.rbi +292 -0
- data/sorbet/rbi/gems/net-smtp@0.5.0.rbi +1228 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
- data/sorbet/rbi/gems/nio4r@2.7.3.rbi +293 -0
- data/sorbet/rbi/gems/nokogiri@1.16.7.rbi +7311 -0
- data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
- data/sorbet/rbi/gems/parser@3.3.5.0.rbi +5519 -0
- data/sorbet/rbi/gems/prism@1.0.0.rbi +35493 -0
- data/sorbet/rbi/gems/psych@5.1.2.rbi +1769 -0
- data/sorbet/rbi/gems/racc@1.8.1.rbi +162 -0
- data/sorbet/rbi/gems/rack-session@2.0.0.rbi +727 -0
- data/sorbet/rbi/gems/rack-test@2.1.0.rbi +747 -0
- data/sorbet/rbi/gems/rack@3.1.7.rbi +4902 -0
- data/sorbet/rbi/gems/rackup@2.1.0.rbi +390 -0
- data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +758 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.6.0.rbi +785 -0
- data/sorbet/rbi/gems/rails@7.2.1.rbi +9 -0
- data/sorbet/rbi/gems/railties@7.2.1.rbi +3824 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
- data/sorbet/rbi/gems/rake@13.2.1.rbi +3046 -0
- data/sorbet/rbi/gems/rbi@0.2.0.rbi +4105 -0
- data/sorbet/rbi/gems/rdoc@6.7.0.rbi +12721 -0
- data/sorbet/rbi/gems/regexp_parser@2.9.2.rbi +3772 -0
- data/sorbet/rbi/gems/reline@0.5.10.rbi +9 -0
- data/sorbet/rbi/gems/rspec-core@3.13.1.rbi +11012 -0
- data/sorbet/rbi/gems/rspec-expectations@3.13.3.rbi +8183 -0
- data/sorbet/rbi/gems/rspec-mocks@3.13.1.rbi +5341 -0
- data/sorbet/rbi/gems/rspec-support@3.13.1.rbi +1630 -0
- data/sorbet/rbi/gems/rspec@3.13.0.rbi +83 -0
- data/sorbet/rbi/gems/rubocop-ast@1.32.3.rbi +7446 -0
- data/sorbet/rbi/gems/rubocop-capybara@2.21.0.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-factory_bot@2.26.1.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-graphql@1.5.4.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-minitest@0.36.0.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-performance@1.21.1.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-rails@2.26.1.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +329 -0
- data/sorbet/rbi/gems/rubocop-rspec@3.0.5.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-rspec_rails@2.30.0.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.8.5.rbi +9 -0
- data/sorbet/rbi/gems/rubocop@1.66.1.rbi +58268 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
- data/sorbet/rbi/gems/securerandom@0.3.1.rbi +396 -0
- data/sorbet/rbi/gems/spoom@1.4.2.rbi +4932 -0
- data/sorbet/rbi/gems/stringio@3.1.1.rbi +9 -0
- data/sorbet/rbi/gems/tapioca@0.16.2.rbi +3581 -0
- data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
- data/sorbet/rbi/gems/timeout@0.4.1.rbi +149 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5918 -0
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +66 -0
- data/sorbet/rbi/gems/useragent@0.16.10.rbi +9 -0
- data/sorbet/rbi/gems/webrick@1.8.1.rbi +2607 -0
- data/sorbet/rbi/gems/websocket-driver@0.7.6.rbi +993 -0
- data/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +121 -0
- data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
- data/sorbet/rbi/gems/yard@0.9.37.rbi +18570 -0
- data/sorbet/rbi/gems/zeitwerk@2.6.18.rbi +1051 -0
- data/sorbet/rbi/todo.rbi +6 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +9 -0
- data/tasks/bundle_update.rake +14 -0
- data/tasks/sorbet.rake +26 -0
- metadata +216 -0
@@ -0,0 +1,292 @@
|
|
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
|
+
|
8
|
+
# source://net-protocol//lib/net/protocol.rb#115
|
9
|
+
class Net::BufferedIO
|
10
|
+
# @return [BufferedIO] a new instance of BufferedIO
|
11
|
+
#
|
12
|
+
# source://net-protocol//lib/net/protocol.rb#116
|
13
|
+
def initialize(io, read_timeout: T.unsafe(nil), write_timeout: T.unsafe(nil), continue_timeout: T.unsafe(nil), debug_output: T.unsafe(nil)); end
|
14
|
+
|
15
|
+
# source://net-protocol//lib/net/protocol.rb#285
|
16
|
+
def <<(*strs); end
|
17
|
+
|
18
|
+
# source://net-protocol//lib/net/protocol.rb#145
|
19
|
+
def close; end
|
20
|
+
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# source://net-protocol//lib/net/protocol.rb#141
|
24
|
+
def closed?; end
|
25
|
+
|
26
|
+
# Returns the value of attribute continue_timeout.
|
27
|
+
#
|
28
|
+
# source://net-protocol//lib/net/protocol.rb#130
|
29
|
+
def continue_timeout; end
|
30
|
+
|
31
|
+
# Sets the attribute continue_timeout
|
32
|
+
#
|
33
|
+
# @param value the value to set the attribute continue_timeout to.
|
34
|
+
#
|
35
|
+
# source://net-protocol//lib/net/protocol.rb#130
|
36
|
+
def continue_timeout=(_arg0); end
|
37
|
+
|
38
|
+
# Returns the value of attribute debug_output.
|
39
|
+
#
|
40
|
+
# source://net-protocol//lib/net/protocol.rb#131
|
41
|
+
def debug_output; end
|
42
|
+
|
43
|
+
# Sets the attribute debug_output
|
44
|
+
#
|
45
|
+
# @param value the value to set the attribute debug_output to.
|
46
|
+
#
|
47
|
+
# source://net-protocol//lib/net/protocol.rb#131
|
48
|
+
def debug_output=(_arg0); end
|
49
|
+
|
50
|
+
# @return [Boolean]
|
51
|
+
#
|
52
|
+
# source://net-protocol//lib/net/protocol.rb#137
|
53
|
+
def eof?; end
|
54
|
+
|
55
|
+
# source://net-protocol//lib/net/protocol.rb#133
|
56
|
+
def inspect; end
|
57
|
+
|
58
|
+
# Returns the value of attribute io.
|
59
|
+
#
|
60
|
+
# source://net-protocol//lib/net/protocol.rb#127
|
61
|
+
def io; end
|
62
|
+
|
63
|
+
# source://net-protocol//lib/net/protocol.rb#155
|
64
|
+
def read(len, dest = T.unsafe(nil), ignore_eof = T.unsafe(nil)); end
|
65
|
+
|
66
|
+
# source://net-protocol//lib/net/protocol.rb#176
|
67
|
+
def read_all(dest = T.unsafe(nil)); end
|
68
|
+
|
69
|
+
# Returns the value of attribute read_timeout.
|
70
|
+
#
|
71
|
+
# source://net-protocol//lib/net/protocol.rb#128
|
72
|
+
def read_timeout; end
|
73
|
+
|
74
|
+
# Sets the attribute read_timeout
|
75
|
+
#
|
76
|
+
# @param value the value to set the attribute read_timeout to.
|
77
|
+
#
|
78
|
+
# source://net-protocol//lib/net/protocol.rb#128
|
79
|
+
def read_timeout=(_arg0); end
|
80
|
+
|
81
|
+
# source://net-protocol//lib/net/protocol.rb#208
|
82
|
+
def readline; end
|
83
|
+
|
84
|
+
# source://net-protocol//lib/net/protocol.rb#194
|
85
|
+
def readuntil(terminator, ignore_eof = T.unsafe(nil)); end
|
86
|
+
|
87
|
+
# source://net-protocol//lib/net/protocol.rb#285
|
88
|
+
def write(*strs); end
|
89
|
+
|
90
|
+
# Returns the value of attribute write_timeout.
|
91
|
+
#
|
92
|
+
# source://net-protocol//lib/net/protocol.rb#129
|
93
|
+
def write_timeout; end
|
94
|
+
|
95
|
+
# Sets the attribute write_timeout
|
96
|
+
#
|
97
|
+
# @param value the value to set the attribute write_timeout to.
|
98
|
+
#
|
99
|
+
# source://net-protocol//lib/net/protocol.rb#129
|
100
|
+
def write_timeout=(_arg0); end
|
101
|
+
|
102
|
+
# source://net-protocol//lib/net/protocol.rb#293
|
103
|
+
def writeline(str); end
|
104
|
+
|
105
|
+
private
|
106
|
+
|
107
|
+
# source://net-protocol//lib/net/protocol.rb#356
|
108
|
+
def LOG(msg); end
|
109
|
+
|
110
|
+
# source://net-protocol//lib/net/protocol.rb#347
|
111
|
+
def LOG_off; end
|
112
|
+
|
113
|
+
# source://net-protocol//lib/net/protocol.rb#352
|
114
|
+
def LOG_on; end
|
115
|
+
|
116
|
+
# source://net-protocol//lib/net/protocol.rb#257
|
117
|
+
def rbuf_consume(len = T.unsafe(nil)); end
|
118
|
+
|
119
|
+
# source://net-protocol//lib/net/protocol.rb#253
|
120
|
+
def rbuf_consume_all; end
|
121
|
+
|
122
|
+
# source://net-protocol//lib/net/protocol.rb#216
|
123
|
+
def rbuf_fill; end
|
124
|
+
|
125
|
+
# source://net-protocol//lib/net/protocol.rb#241
|
126
|
+
def rbuf_flush; end
|
127
|
+
|
128
|
+
# source://net-protocol//lib/net/protocol.rb#249
|
129
|
+
def rbuf_size; end
|
130
|
+
|
131
|
+
# source://net-protocol//lib/net/protocol.rb#311
|
132
|
+
def write0(*strs); end
|
133
|
+
|
134
|
+
# source://net-protocol//lib/net/protocol.rb#301
|
135
|
+
def writing; end
|
136
|
+
end
|
137
|
+
|
138
|
+
# source://net-protocol//lib/net/protocol.rb#363
|
139
|
+
class Net::InternetMessageIO < ::Net::BufferedIO
|
140
|
+
# @return [InternetMessageIO] a new instance of InternetMessageIO
|
141
|
+
#
|
142
|
+
# source://net-protocol//lib/net/protocol.rb#364
|
143
|
+
def initialize(*_arg0, **_arg1); end
|
144
|
+
|
145
|
+
# *library private* (cannot handle 'break')
|
146
|
+
#
|
147
|
+
# source://net-protocol//lib/net/protocol.rb#386
|
148
|
+
def each_list_item; end
|
149
|
+
|
150
|
+
# Read
|
151
|
+
#
|
152
|
+
# source://net-protocol//lib/net/protocol.rb#373
|
153
|
+
def each_message_chunk; end
|
154
|
+
|
155
|
+
# Write
|
156
|
+
#
|
157
|
+
# source://net-protocol//lib/net/protocol.rb#404
|
158
|
+
def write_message(src); end
|
159
|
+
|
160
|
+
# source://net-protocol//lib/net/protocol.rb#392
|
161
|
+
def write_message_0(src); end
|
162
|
+
|
163
|
+
# source://net-protocol//lib/net/protocol.rb#417
|
164
|
+
def write_message_by_block(&block); end
|
165
|
+
|
166
|
+
private
|
167
|
+
|
168
|
+
# source://net-protocol//lib/net/protocol.rb#460
|
169
|
+
def buffer_filling(buf, src); end
|
170
|
+
|
171
|
+
# source://net-protocol//lib/net/protocol.rb#436
|
172
|
+
def dot_stuff(s); end
|
173
|
+
|
174
|
+
# source://net-protocol//lib/net/protocol.rb#452
|
175
|
+
def each_crlf_line(src); end
|
176
|
+
|
177
|
+
# source://net-protocol//lib/net/protocol.rb#440
|
178
|
+
def using_each_crlf_line; end
|
179
|
+
end
|
180
|
+
|
181
|
+
# source://net-protocol//lib/net/protocol.rb#541
|
182
|
+
Net::NetPrivate::Socket = Net::InternetMessageIO
|
183
|
+
|
184
|
+
# source://net-protocol//lib/net/protocol.rb#68
|
185
|
+
Net::ProtocRetryError = Net::ProtoRetriableError
|
186
|
+
|
187
|
+
# source://net-protocol//lib/net/protocol.rb#28
|
188
|
+
class Net::Protocol
|
189
|
+
private
|
190
|
+
|
191
|
+
# source://net-protocol//lib/net/protocol.rb#40
|
192
|
+
def ssl_socket_connect(s, timeout); end
|
193
|
+
|
194
|
+
class << self
|
195
|
+
# source://net-protocol//lib/net/protocol.rb#32
|
196
|
+
def protocol_param(name, val); end
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
# source://net-protocol//lib/net/protocol.rb#29
|
201
|
+
Net::Protocol::VERSION = T.let(T.unsafe(nil), String)
|
202
|
+
|
203
|
+
# source://net-protocol//lib/net/protocol.rb#516
|
204
|
+
class Net::ReadAdapter
|
205
|
+
# @return [ReadAdapter] a new instance of ReadAdapter
|
206
|
+
#
|
207
|
+
# source://net-protocol//lib/net/protocol.rb#517
|
208
|
+
def initialize(block); end
|
209
|
+
|
210
|
+
# source://net-protocol//lib/net/protocol.rb#525
|
211
|
+
def <<(str); end
|
212
|
+
|
213
|
+
# source://net-protocol//lib/net/protocol.rb#521
|
214
|
+
def inspect; end
|
215
|
+
|
216
|
+
private
|
217
|
+
|
218
|
+
# This method is needed because @block must be called by yield,
|
219
|
+
# not Proc#call. You can see difference when using `break' in
|
220
|
+
# the block.
|
221
|
+
#
|
222
|
+
# @yield [str]
|
223
|
+
#
|
224
|
+
# source://net-protocol//lib/net/protocol.rb#534
|
225
|
+
def call_block(str); end
|
226
|
+
end
|
227
|
+
|
228
|
+
# ReadTimeout, a subclass of Timeout::Error, is raised if a chunk of the
|
229
|
+
# response cannot be read within the read_timeout.
|
230
|
+
#
|
231
|
+
# source://net-protocol//lib/net/protocol.rb#80
|
232
|
+
class Net::ReadTimeout < ::Timeout::Error
|
233
|
+
# @return [ReadTimeout] a new instance of ReadTimeout
|
234
|
+
#
|
235
|
+
# source://net-protocol//lib/net/protocol.rb#81
|
236
|
+
def initialize(io = T.unsafe(nil)); end
|
237
|
+
|
238
|
+
# Returns the value of attribute io.
|
239
|
+
#
|
240
|
+
# source://net-protocol//lib/net/protocol.rb#84
|
241
|
+
def io; end
|
242
|
+
|
243
|
+
# source://net-protocol//lib/net/protocol.rb#86
|
244
|
+
def message; end
|
245
|
+
end
|
246
|
+
|
247
|
+
# The writer adapter class
|
248
|
+
#
|
249
|
+
# source://net-protocol//lib/net/protocol.rb#486
|
250
|
+
class Net::WriteAdapter
|
251
|
+
# @return [WriteAdapter] a new instance of WriteAdapter
|
252
|
+
#
|
253
|
+
# source://net-protocol//lib/net/protocol.rb#487
|
254
|
+
def initialize(writer); end
|
255
|
+
|
256
|
+
# source://net-protocol//lib/net/protocol.rb#501
|
257
|
+
def <<(str); end
|
258
|
+
|
259
|
+
# source://net-protocol//lib/net/protocol.rb#491
|
260
|
+
def inspect; end
|
261
|
+
|
262
|
+
# source://net-protocol//lib/net/protocol.rb#495
|
263
|
+
def print(str); end
|
264
|
+
|
265
|
+
# source://net-protocol//lib/net/protocol.rb#510
|
266
|
+
def printf(*args); end
|
267
|
+
|
268
|
+
# source://net-protocol//lib/net/protocol.rb#506
|
269
|
+
def puts(str = T.unsafe(nil)); end
|
270
|
+
|
271
|
+
# source://net-protocol//lib/net/protocol.rb#495
|
272
|
+
def write(str); end
|
273
|
+
end
|
274
|
+
|
275
|
+
# WriteTimeout, a subclass of Timeout::Error, is raised if a chunk of the
|
276
|
+
# response cannot be written within the write_timeout. Not raised on Windows.
|
277
|
+
#
|
278
|
+
# source://net-protocol//lib/net/protocol.rb#99
|
279
|
+
class Net::WriteTimeout < ::Timeout::Error
|
280
|
+
# @return [WriteTimeout] a new instance of WriteTimeout
|
281
|
+
#
|
282
|
+
# source://net-protocol//lib/net/protocol.rb#100
|
283
|
+
def initialize(io = T.unsafe(nil)); end
|
284
|
+
|
285
|
+
# Returns the value of attribute io.
|
286
|
+
#
|
287
|
+
# source://net-protocol//lib/net/protocol.rb#103
|
288
|
+
def io; end
|
289
|
+
|
290
|
+
# source://net-protocol//lib/net/protocol.rb#105
|
291
|
+
def message; end
|
292
|
+
end
|