categoria 0.1.0.pre.beta0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rubocop.yml +34 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +5 -0
- data/LICENSE.txt +21 -0
- data/README.md +33 -0
- data/Rakefile +12 -0
- data/categoria.gemspec +48 -0
- data/lib/categoria/version.rb +6 -0
- data/lib/categoria.rb +9 -0
- data/lib/generators/categoria/command_generator.rb +8 -0
- data/lib/generators/categoria/domain_generator.rb +35 -0
- data/lib/generators/categoria/model_generator.rb +8 -0
- data/lib/generators/categoria/templates/domain_module.rb.erb +6 -0
- data/sig/categoria.rbs +4 -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 +429 -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 +421 -0
- data/sorbet/rbi/annotations/globalid.rbi +30 -0
- data/sorbet/rbi/annotations/railties.rbi +61 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/actioncable@7.1.3.3.rbi +9 -0
- data/sorbet/rbi/gems/actionmailbox@7.1.3.3.rbi +9 -0
- data/sorbet/rbi/gems/actionmailer@7.1.3.3.rbi +9 -0
- data/sorbet/rbi/gems/actionpack@7.1.3.3.rbi +9 -0
- data/sorbet/rbi/gems/actiontext@7.1.3.3.rbi +9 -0
- data/sorbet/rbi/gems/actionview@7.1.3.3.rbi +9 -0
- data/sorbet/rbi/gems/activejob@7.1.3.3.rbi +9 -0
- data/sorbet/rbi/gems/activemodel@7.1.3.3.rbi +9 -0
- data/sorbet/rbi/gems/activerecord@7.1.3.3.rbi +9 -0
- data/sorbet/rbi/gems/activestorage@7.1.3.3.rbi +9 -0
- data/sorbet/rbi/gems/activesupport@7.1.3.3.rbi +11 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
- data/sorbet/rbi/gems/base64@0.2.0.rbi +9 -0
- data/sorbet/rbi/gems/bigdecimal@3.1.8.rbi +9 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +9 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.3.1.rbi +9 -0
- data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +9 -0
- data/sorbet/rbi/gems/crass@1.0.6.rbi +9 -0
- data/sorbet/rbi/gems/date@3.3.4.rbi +73 -0
- data/sorbet/rbi/gems/drb@2.2.1.rbi +9 -0
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +146 -0
- data/sorbet/rbi/gems/globalid@1.2.1.rbi +9 -0
- data/sorbet/rbi/gems/i18n@1.14.5.rbi +9 -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/loofah@2.22.0.rbi +9 -0
- data/sorbet/rbi/gems/mail@2.8.1.rbi +9 -0
- data/sorbet/rbi/gems/marcel@1.0.4.rbi +9 -0
- data/sorbet/rbi/gems/mini_mime@1.1.5.rbi +9 -0
- data/sorbet/rbi/gems/minitest@5.23.1.rbi +1555 -0
- data/sorbet/rbi/gems/mutex_m@0.2.0.rbi +9 -0
- data/sorbet/rbi/gems/net-imap@0.4.11.rbi +9 -0
- data/sorbet/rbi/gems/net-pop@0.1.2.rbi +9 -0
- data/sorbet/rbi/gems/net-protocol@0.2.2.rbi +282 -0
- data/sorbet/rbi/gems/net-smtp@0.5.0.rbi +9 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
- data/sorbet/rbi/gems/nio4r@2.7.3.rbi +9 -0
- data/sorbet/rbi/gems/nokogiri@1.16.5.rbi +9 -0
- data/sorbet/rbi/gems/parallel@1.24.0.rbi +281 -0
- data/sorbet/rbi/gems/parser@3.3.2.0.rbi +5519 -0
- data/sorbet/rbi/gems/prism@0.29.0.rbi +37987 -0
- data/sorbet/rbi/gems/psych@5.1.2.rbi +1732 -0
- data/sorbet/rbi/gems/racc@1.8.0.rbi +162 -0
- data/sorbet/rbi/gems/rack-session@2.0.0.rbi +9 -0
- data/sorbet/rbi/gems/rack-test@2.1.0.rbi +9 -0
- data/sorbet/rbi/gems/rack@3.0.11.rbi +2910 -0
- data/sorbet/rbi/gems/rackup@2.1.0.rbi +390 -0
- data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +9 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.6.0.rbi +9 -0
- data/sorbet/rbi/gems/rails@7.1.3.3.rbi +9 -0
- data/sorbet/rbi/gems/railties@7.1.3.3.rbi +9 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
- data/sorbet/rbi/gems/rake@13.2.1.rbi +3028 -0
- data/sorbet/rbi/gems/rbi@0.1.13.rbi +3078 -0
- data/sorbet/rbi/gems/rdoc@6.7.0.rbi +12719 -0
- data/sorbet/rbi/gems/regexp_parser@2.9.2.rbi +3772 -0
- data/sorbet/rbi/gems/reline@0.5.8.rbi +9 -0
- data/sorbet/rbi/gems/rexml@3.2.8.rbi +4794 -0
- data/sorbet/rbi/gems/rubocop-ast@1.31.3.rbi +7045 -0
- data/sorbet/rbi/gems/rubocop-minitest@0.35.0.rbi +2611 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +329 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.8.3.rbi +1607 -0
- data/sorbet/rbi/gems/rubocop@1.64.1.rbi +58104 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
- data/sorbet/rbi/gems/spoom@1.3.2.rbi +4421 -0
- data/sorbet/rbi/gems/stringio@3.1.0.rbi +9 -0
- data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
- data/sorbet/rbi/gems/tapioca@0.14.3.rbi +3534 -0
- data/sorbet/rbi/gems/thor@1.3.1.rbi +4352 -0
- data/sorbet/rbi/gems/timeout@0.4.1.rbi +143 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +9 -0
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +66 -0
- data/sorbet/rbi/gems/webrick@1.8.1.rbi +2607 -0
- data/sorbet/rbi/gems/websocket-driver@0.7.6.rbi +9 -0
- data/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +9 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +429 -0
- data/sorbet/rbi/gems/yard@0.9.36.rbi +18412 -0
- data/sorbet/rbi/gems/zeitwerk@2.6.15.rbi +9 -0
- data/sorbet/rbi/todo.rbi +46 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +339 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
# typed: true
|
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
|
+
|
8
|
+
# THIS IS AN EMPTY RBI FILE.
|
9
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,9 @@
|
|
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
|
+
|
8
|
+
# THIS IS AN EMPTY RBI FILE.
|
9
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,9 @@
|
|
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
|
+
|
8
|
+
# THIS IS AN EMPTY RBI FILE.
|
9
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,282 @@
|
|
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
|
+
class Net::BufferedIO
|
9
|
+
# @return [BufferedIO] a new instance of BufferedIO
|
10
|
+
#
|
11
|
+
# source://net-protocol//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//net/protocol.rb#285
|
15
|
+
def <<(*strs); end
|
16
|
+
|
17
|
+
# source://net-protocol//net/protocol.rb#145
|
18
|
+
def close; end
|
19
|
+
|
20
|
+
# @return [Boolean]
|
21
|
+
#
|
22
|
+
# source://net-protocol//net/protocol.rb#141
|
23
|
+
def closed?; end
|
24
|
+
|
25
|
+
# Returns the value of attribute continue_timeout.
|
26
|
+
#
|
27
|
+
# source://net-protocol//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//net/protocol.rb#130
|
35
|
+
def continue_timeout=(_arg0); end
|
36
|
+
|
37
|
+
# Returns the value of attribute debug_output.
|
38
|
+
#
|
39
|
+
# source://net-protocol//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//net/protocol.rb#131
|
47
|
+
def debug_output=(_arg0); end
|
48
|
+
|
49
|
+
# @return [Boolean]
|
50
|
+
#
|
51
|
+
# source://net-protocol//net/protocol.rb#137
|
52
|
+
def eof?; end
|
53
|
+
|
54
|
+
# source://net-protocol//net/protocol.rb#133
|
55
|
+
def inspect; end
|
56
|
+
|
57
|
+
# Returns the value of attribute io.
|
58
|
+
#
|
59
|
+
# source://net-protocol//net/protocol.rb#127
|
60
|
+
def io; end
|
61
|
+
|
62
|
+
# source://net-protocol//net/protocol.rb#155
|
63
|
+
def read(len, dest = T.unsafe(nil), ignore_eof = T.unsafe(nil)); end
|
64
|
+
|
65
|
+
# source://net-protocol//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//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//net/protocol.rb#128
|
78
|
+
def read_timeout=(_arg0); end
|
79
|
+
|
80
|
+
# source://net-protocol//net/protocol.rb#208
|
81
|
+
def readline; end
|
82
|
+
|
83
|
+
# source://net-protocol//net/protocol.rb#194
|
84
|
+
def readuntil(terminator, ignore_eof = T.unsafe(nil)); end
|
85
|
+
|
86
|
+
# source://net-protocol//net/protocol.rb#285
|
87
|
+
def write(*strs); end
|
88
|
+
|
89
|
+
# Returns the value of attribute write_timeout.
|
90
|
+
#
|
91
|
+
# source://net-protocol//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//net/protocol.rb#129
|
99
|
+
def write_timeout=(_arg0); end
|
100
|
+
|
101
|
+
# source://net-protocol//net/protocol.rb#293
|
102
|
+
def writeline(str); end
|
103
|
+
|
104
|
+
private
|
105
|
+
|
106
|
+
# source://net-protocol//net/protocol.rb#356
|
107
|
+
def LOG(msg); end
|
108
|
+
|
109
|
+
# source://net-protocol//net/protocol.rb#347
|
110
|
+
def LOG_off; end
|
111
|
+
|
112
|
+
# source://net-protocol//net/protocol.rb#352
|
113
|
+
def LOG_on; end
|
114
|
+
|
115
|
+
# source://net-protocol//net/protocol.rb#257
|
116
|
+
def rbuf_consume(len = T.unsafe(nil)); end
|
117
|
+
|
118
|
+
# source://net-protocol//net/protocol.rb#253
|
119
|
+
def rbuf_consume_all; end
|
120
|
+
|
121
|
+
# source://net-protocol//net/protocol.rb#216
|
122
|
+
def rbuf_fill; end
|
123
|
+
|
124
|
+
# source://net-protocol//net/protocol.rb#241
|
125
|
+
def rbuf_flush; end
|
126
|
+
|
127
|
+
# source://net-protocol//net/protocol.rb#249
|
128
|
+
def rbuf_size; end
|
129
|
+
|
130
|
+
# source://net-protocol//net/protocol.rb#311
|
131
|
+
def write0(*strs); end
|
132
|
+
|
133
|
+
# source://net-protocol//net/protocol.rb#301
|
134
|
+
def writing; end
|
135
|
+
end
|
136
|
+
|
137
|
+
class Net::InternetMessageIO < ::Net::BufferedIO
|
138
|
+
# @return [InternetMessageIO] a new instance of InternetMessageIO
|
139
|
+
#
|
140
|
+
# source://net-protocol//net/protocol.rb#364
|
141
|
+
def initialize(*_arg0, **_arg1); end
|
142
|
+
|
143
|
+
# *library private* (cannot handle 'break')
|
144
|
+
#
|
145
|
+
# source://net-protocol//net/protocol.rb#386
|
146
|
+
def each_list_item; end
|
147
|
+
|
148
|
+
# Read
|
149
|
+
#
|
150
|
+
# source://net-protocol//net/protocol.rb#373
|
151
|
+
def each_message_chunk; end
|
152
|
+
|
153
|
+
# Write
|
154
|
+
#
|
155
|
+
# source://net-protocol//net/protocol.rb#404
|
156
|
+
def write_message(src); end
|
157
|
+
|
158
|
+
# source://net-protocol//net/protocol.rb#392
|
159
|
+
def write_message_0(src); end
|
160
|
+
|
161
|
+
# source://net-protocol//net/protocol.rb#417
|
162
|
+
def write_message_by_block(&block); end
|
163
|
+
|
164
|
+
private
|
165
|
+
|
166
|
+
# source://net-protocol//net/protocol.rb#460
|
167
|
+
def buffer_filling(buf, src); end
|
168
|
+
|
169
|
+
# source://net-protocol//net/protocol.rb#436
|
170
|
+
def dot_stuff(s); end
|
171
|
+
|
172
|
+
# source://net-protocol//net/protocol.rb#452
|
173
|
+
def each_crlf_line(src); end
|
174
|
+
|
175
|
+
# source://net-protocol//net/protocol.rb#440
|
176
|
+
def using_each_crlf_line; end
|
177
|
+
end
|
178
|
+
|
179
|
+
# source://net-protocol//net/protocol.rb#541
|
180
|
+
Net::NetPrivate::Socket = Net::InternetMessageIO
|
181
|
+
|
182
|
+
# source://net-protocol//net/protocol.rb#68
|
183
|
+
Net::ProtocRetryError = Net::ProtoRetriableError
|
184
|
+
|
185
|
+
class Net::Protocol
|
186
|
+
private
|
187
|
+
|
188
|
+
# source://net-protocol//net/protocol.rb#40
|
189
|
+
def ssl_socket_connect(s, timeout); end
|
190
|
+
|
191
|
+
class << self
|
192
|
+
# source://net-protocol//net/protocol.rb#32
|
193
|
+
def protocol_param(name, val); end
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
# source://net-protocol//net/protocol.rb#29
|
198
|
+
Net::Protocol::VERSION = T.let(T.unsafe(nil), String)
|
199
|
+
|
200
|
+
class Net::ReadAdapter
|
201
|
+
# @return [ReadAdapter] a new instance of ReadAdapter
|
202
|
+
#
|
203
|
+
# source://net-protocol//net/protocol.rb#517
|
204
|
+
def initialize(block); end
|
205
|
+
|
206
|
+
# source://net-protocol//net/protocol.rb#525
|
207
|
+
def <<(str); end
|
208
|
+
|
209
|
+
# source://net-protocol//net/protocol.rb#521
|
210
|
+
def inspect; end
|
211
|
+
|
212
|
+
private
|
213
|
+
|
214
|
+
# This method is needed because @block must be called by yield,
|
215
|
+
# not Proc#call. You can see difference when using `break' in
|
216
|
+
# the block.
|
217
|
+
#
|
218
|
+
# @yield [str]
|
219
|
+
#
|
220
|
+
# source://net-protocol//net/protocol.rb#534
|
221
|
+
def call_block(str); end
|
222
|
+
end
|
223
|
+
|
224
|
+
# ReadTimeout, a subclass of Timeout::Error, is raised if a chunk of the
|
225
|
+
# response cannot be read within the read_timeout.
|
226
|
+
class Net::ReadTimeout < ::Timeout::Error
|
227
|
+
# @return [ReadTimeout] a new instance of ReadTimeout
|
228
|
+
#
|
229
|
+
# source://net-protocol//net/protocol.rb#81
|
230
|
+
def initialize(io = T.unsafe(nil)); end
|
231
|
+
|
232
|
+
# Returns the value of attribute io.
|
233
|
+
#
|
234
|
+
# source://net-protocol//net/protocol.rb#84
|
235
|
+
def io; end
|
236
|
+
|
237
|
+
# source://net-protocol//net/protocol.rb#86
|
238
|
+
def message; end
|
239
|
+
end
|
240
|
+
|
241
|
+
# The writer adapter class
|
242
|
+
class Net::WriteAdapter
|
243
|
+
# @return [WriteAdapter] a new instance of WriteAdapter
|
244
|
+
#
|
245
|
+
# source://net-protocol//net/protocol.rb#487
|
246
|
+
def initialize(writer); end
|
247
|
+
|
248
|
+
# source://net-protocol//net/protocol.rb#501
|
249
|
+
def <<(str); end
|
250
|
+
|
251
|
+
# source://net-protocol//net/protocol.rb#491
|
252
|
+
def inspect; end
|
253
|
+
|
254
|
+
# source://net-protocol//net/protocol.rb#495
|
255
|
+
def print(str); end
|
256
|
+
|
257
|
+
# source://net-protocol//net/protocol.rb#510
|
258
|
+
def printf(*args); end
|
259
|
+
|
260
|
+
# source://net-protocol//net/protocol.rb#506
|
261
|
+
def puts(str = T.unsafe(nil)); end
|
262
|
+
|
263
|
+
# source://net-protocol//net/protocol.rb#495
|
264
|
+
def write(str); end
|
265
|
+
end
|
266
|
+
|
267
|
+
# WriteTimeout, a subclass of Timeout::Error, is raised if a chunk of the
|
268
|
+
# response cannot be written within the write_timeout. Not raised on Windows.
|
269
|
+
class Net::WriteTimeout < ::Timeout::Error
|
270
|
+
# @return [WriteTimeout] a new instance of WriteTimeout
|
271
|
+
#
|
272
|
+
# source://net-protocol//net/protocol.rb#100
|
273
|
+
def initialize(io = T.unsafe(nil)); end
|
274
|
+
|
275
|
+
# Returns the value of attribute io.
|
276
|
+
#
|
277
|
+
# source://net-protocol//net/protocol.rb#103
|
278
|
+
def io; end
|
279
|
+
|
280
|
+
# source://net-protocol//net/protocol.rb#105
|
281
|
+
def message; end
|
282
|
+
end
|
@@ -0,0 +1,9 @@
|
|
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
|
+
|
8
|
+
# THIS IS AN EMPTY RBI FILE.
|
9
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,159 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `netrc` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem netrc`.
|
6
|
+
|
7
|
+
|
8
|
+
# source://netrc//lib/netrc.rb#3
|
9
|
+
class Netrc
|
10
|
+
# @return [Netrc] a new instance of Netrc
|
11
|
+
#
|
12
|
+
# source://netrc//lib/netrc.rb#166
|
13
|
+
def initialize(path, data); end
|
14
|
+
|
15
|
+
# source://netrc//lib/netrc.rb#180
|
16
|
+
def [](k); end
|
17
|
+
|
18
|
+
# source://netrc//lib/netrc.rb#188
|
19
|
+
def []=(k, info); end
|
20
|
+
|
21
|
+
# source://netrc//lib/netrc.rb#200
|
22
|
+
def delete(key); end
|
23
|
+
|
24
|
+
# source://netrc//lib/netrc.rb#211
|
25
|
+
def each(&block); end
|
26
|
+
|
27
|
+
# source://netrc//lib/netrc.rb#196
|
28
|
+
def length; end
|
29
|
+
|
30
|
+
# source://netrc//lib/netrc.rb#215
|
31
|
+
def new_item(m, l, p); end
|
32
|
+
|
33
|
+
# Returns the value of attribute new_item_prefix.
|
34
|
+
#
|
35
|
+
# source://netrc//lib/netrc.rb#178
|
36
|
+
def new_item_prefix; end
|
37
|
+
|
38
|
+
# Sets the attribute new_item_prefix
|
39
|
+
#
|
40
|
+
# @param value the value to set the attribute new_item_prefix to.
|
41
|
+
#
|
42
|
+
# source://netrc//lib/netrc.rb#178
|
43
|
+
def new_item_prefix=(_arg0); end
|
44
|
+
|
45
|
+
# source://netrc//lib/netrc.rb#219
|
46
|
+
def save; end
|
47
|
+
|
48
|
+
# source://netrc//lib/netrc.rb#233
|
49
|
+
def unparse; end
|
50
|
+
|
51
|
+
class << self
|
52
|
+
# source://netrc//lib/netrc.rb#42
|
53
|
+
def check_permissions(path); end
|
54
|
+
|
55
|
+
# source://netrc//lib/netrc.rb#33
|
56
|
+
def config; end
|
57
|
+
|
58
|
+
# @yield [self.config]
|
59
|
+
#
|
60
|
+
# source://netrc//lib/netrc.rb#37
|
61
|
+
def configure; end
|
62
|
+
|
63
|
+
# source://netrc//lib/netrc.rb#10
|
64
|
+
def default_path; end
|
65
|
+
|
66
|
+
# source://netrc//lib/netrc.rb#14
|
67
|
+
def home_path; end
|
68
|
+
|
69
|
+
# source://netrc//lib/netrc.rb#85
|
70
|
+
def lex(lines); end
|
71
|
+
|
72
|
+
# source://netrc//lib/netrc.rb#29
|
73
|
+
def netrc_filename; end
|
74
|
+
|
75
|
+
# Returns two values, a header and a list of items.
|
76
|
+
# Each item is a tuple, containing some or all of:
|
77
|
+
# - machine keyword (including trailing whitespace+comments)
|
78
|
+
# - machine name
|
79
|
+
# - login keyword (including surrounding whitespace+comments)
|
80
|
+
# - login
|
81
|
+
# - password keyword (including surrounding whitespace+comments)
|
82
|
+
# - password
|
83
|
+
# - trailing chars
|
84
|
+
# This lets us change individual fields, then write out the file
|
85
|
+
# with all its original formatting.
|
86
|
+
#
|
87
|
+
# source://netrc//lib/netrc.rb#129
|
88
|
+
def parse(ts); end
|
89
|
+
|
90
|
+
# Reads path and parses it as a .netrc file. If path doesn't
|
91
|
+
# exist, returns an empty object. Decrypt paths ending in .gpg.
|
92
|
+
#
|
93
|
+
# source://netrc//lib/netrc.rb#51
|
94
|
+
def read(path = T.unsafe(nil)); end
|
95
|
+
|
96
|
+
# @return [Boolean]
|
97
|
+
#
|
98
|
+
# source://netrc//lib/netrc.rb#112
|
99
|
+
def skip?(s); end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
# source://netrc//lib/netrc.rb#8
|
104
|
+
Netrc::CYGWIN = T.let(T.unsafe(nil), T.untyped)
|
105
|
+
|
106
|
+
# source://netrc//lib/netrc.rb#244
|
107
|
+
class Netrc::Entry < ::Struct
|
108
|
+
# Returns the value of attribute login
|
109
|
+
#
|
110
|
+
# @return [Object] the current value of login
|
111
|
+
def login; end
|
112
|
+
|
113
|
+
# Sets the attribute login
|
114
|
+
#
|
115
|
+
# @param value [Object] the value to set the attribute login to.
|
116
|
+
# @return [Object] the newly set value
|
117
|
+
def login=(_); end
|
118
|
+
|
119
|
+
# Returns the value of attribute password
|
120
|
+
#
|
121
|
+
# @return [Object] the current value of password
|
122
|
+
def password; end
|
123
|
+
|
124
|
+
# Sets the attribute password
|
125
|
+
#
|
126
|
+
# @param value [Object] the value to set the attribute password to.
|
127
|
+
# @return [Object] the newly set value
|
128
|
+
def password=(_); end
|
129
|
+
|
130
|
+
def to_ary; end
|
131
|
+
|
132
|
+
class << self
|
133
|
+
def [](*_arg0); end
|
134
|
+
def inspect; end
|
135
|
+
def keyword_init?; end
|
136
|
+
def members; end
|
137
|
+
def new(*_arg0); end
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# source://netrc//lib/netrc.rb#250
|
142
|
+
class Netrc::Error < ::StandardError; end
|
143
|
+
|
144
|
+
# source://netrc//lib/netrc.rb#68
|
145
|
+
class Netrc::TokenArray < ::Array
|
146
|
+
# source://netrc//lib/netrc.rb#76
|
147
|
+
def readto; end
|
148
|
+
|
149
|
+
# source://netrc//lib/netrc.rb#69
|
150
|
+
def take; end
|
151
|
+
end
|
152
|
+
|
153
|
+
# source://netrc//lib/netrc.rb#4
|
154
|
+
Netrc::VERSION = T.let(T.unsafe(nil), String)
|
155
|
+
|
156
|
+
# see http://stackoverflow.com/questions/4871309/what-is-the-correct-way-to-detect-if-ruby-is-running-on-windows
|
157
|
+
#
|
158
|
+
# source://netrc//lib/netrc.rb#7
|
159
|
+
Netrc::WINDOWS = T.let(T.unsafe(nil), T.untyped)
|
@@ -0,0 +1,9 @@
|
|
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
|
+
|
8
|
+
# THIS IS AN EMPTY RBI FILE.
|
9
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `nokogiri` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem nokogiri`.
|
6
|
+
|
7
|
+
|
8
|
+
# THIS IS AN EMPTY RBI FILE.
|
9
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|