researchable-freedcamp-api 0.1.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.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/.bundle/config +2 -0
  3. data/.gitignore +1 -0
  4. data/Gemfile +7 -0
  5. data/Gemfile.lock +69 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +39 -0
  8. data/Rakefile +12 -0
  9. data/bin/console +15 -0
  10. data/bin/setup +8 -0
  11. data/lib/researchable/freedcamp_api/create_task.rb +22 -0
  12. data/lib/researchable/freedcamp_api/endpoint.rb +34 -0
  13. data/lib/researchable/freedcamp_api/list_milestones.rb +1 -0
  14. data/lib/researchable/freedcamp_api/list_projects.rb +1 -0
  15. data/lib/researchable/freedcamp_api/list_tasks.rb +36 -0
  16. data/lib/researchable/freedcamp_api/sessions/session.rb +28 -0
  17. data/lib/researchable/freedcamp_api/sessions/signed_session.rb +128 -0
  18. data/lib/researchable/freedcamp_api/sessions.rb +17 -0
  19. data/lib/researchable/freedcamp_api/structs/signature.rb +11 -0
  20. data/lib/researchable/freedcamp_api/structs/task.rb +48 -0
  21. data/lib/researchable/freedcamp_api/structs.rb +8 -0
  22. data/lib/researchable/freedcamp_api/update_task.rb +27 -0
  23. data/lib/researchable/freedcamp_api/version.rb +8 -0
  24. data/lib/researchable/freedcamp_api.rb +21 -0
  25. data/lib/researchable-freedcamp-api.rb +6 -0
  26. data/output/62d1c67bf1eebc3456f9cc8879519700b2a0fc45 +1 -0
  27. data/researchable_freedcamp_api.gemspec +44 -0
  28. data/sorbet/config +3 -0
  29. data/sorbet/rbi/gems/active_interaction.rbi +304 -0
  30. data/sorbet/rbi/gems/activemodel.rbi +342 -0
  31. data/sorbet/rbi/gems/activesupport.rbi +1023 -0
  32. data/sorbet/rbi/gems/concurrent-ruby.rbi +1662 -0
  33. data/sorbet/rbi/gems/httparty.rbi +446 -0
  34. data/sorbet/rbi/gems/i18n.rbi +133 -0
  35. data/sorbet/rbi/gems/mime-types-data.rbi +17 -0
  36. data/sorbet/rbi/gems/mime-types.rbi +225 -0
  37. data/sorbet/rbi/gems/multi_xml.rbi +35 -0
  38. data/sorbet/rbi/gems/researchable-freedcamp-api.rbi +25 -0
  39. data/sorbet/rbi/gems/rspec-core.rbi +1915 -0
  40. data/sorbet/rbi/gems/rspec-expectations.rbi +1151 -0
  41. data/sorbet/rbi/gems/rspec-mocks.rbi +1110 -0
  42. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  43. data/sorbet/rbi/gems/rspec.rbi +15 -0
  44. data/sorbet/rbi/gems/tzinfo.rbi +586 -0
  45. data/sorbet/rbi/hidden-definitions/errors.txt +4251 -0
  46. data/sorbet/rbi/hidden-definitions/hidden.rbi +8306 -0
  47. data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +715 -0
  48. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +37 -0
  49. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1850 -0
  50. data/sorbet/rbi/sorbet-typed/lib/httparty/all/httparty.rbi +566 -0
  51. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
  52. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +24 -0
  53. data/sorbet/rbi/todo.rbi +7 -0
  54. data/test.rb +41 -0
  55. metadata +198 -0
@@ -0,0 +1,566 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi sorbet-typed
3
+ #
4
+ # If you would like to make changes to this file, great! Please upstream any changes you make here:
5
+ #
6
+ # https://github.com/sorbet/sorbet-typed/edit/master/lib/httparty/all/httparty.rbi
7
+ #
8
+ # typed: false
9
+
10
+ module HTTParty
11
+ include(::HTTParty::ModuleInheritableAttributes)
12
+
13
+ mixes_in_class_methods(::HTTParty::ClassMethods)
14
+
15
+ class << self
16
+ def copy(path, options = T.unsafe(nil), &block); end
17
+ def delete(path, options = T.unsafe(nil), &block); end
18
+ def get(path, options = T.unsafe(nil), &block); end
19
+ def head(path, options = T.unsafe(nil), &block); end
20
+ def included(base); end
21
+ def move(path, options = T.unsafe(nil), &block); end
22
+ def normalize_base_uri(url); end
23
+ def options(path, options = T.unsafe(nil), &block); end
24
+ def patch(path, options = T.unsafe(nil), &block); end
25
+ def post(path, options = T.unsafe(nil), &block); end
26
+ def put(path, options = T.unsafe(nil), &block); end
27
+ end
28
+ end
29
+
30
+ class HTTParty::Basement
31
+ include(::HTTParty)
32
+ include(::HTTParty::ModuleInheritableAttributes)
33
+ extend(::HTTParty::ClassMethods)
34
+ extend(::HTTParty::ModuleInheritableAttributes::ClassMethods)
35
+
36
+ class << self
37
+ def default_cookies; end
38
+ def default_cookies=(_arg0); end
39
+ def default_options; end
40
+ def default_options=(_arg0); end
41
+ end
42
+ end
43
+
44
+ module HTTParty::ClassMethods
45
+ def base_uri(uri = T.unsafe(nil)); end
46
+ def basic_auth(u, p); end
47
+ def ciphers(cipher_names); end
48
+ def connection_adapter(custom_adapter = T.unsafe(nil), options = T.unsafe(nil)); end
49
+ def cookies(h = T.unsafe(nil)); end
50
+ def copy(path, options = T.unsafe(nil), &block); end
51
+ def debug_output(stream = T.unsafe(nil)); end
52
+ def default_options; end
53
+ def default_params(h = T.unsafe(nil)); end
54
+ def default_timeout(value); end
55
+ def delete(path, options = T.unsafe(nil), &block); end
56
+ def digest_auth(u, p); end
57
+ def disable_rails_query_string_format; end
58
+ def follow_redirects(value = T.unsafe(nil)); end
59
+ def format(f = T.unsafe(nil)); end
60
+ def get(path, options = T.unsafe(nil), &block); end
61
+ def head(path, options = T.unsafe(nil), &block); end
62
+ def headers(h = T.unsafe(nil)); end
63
+ def http_proxy(addr = T.unsafe(nil), port = T.unsafe(nil), user = T.unsafe(nil), pass = T.unsafe(nil)); end
64
+ def lock(path, options = T.unsafe(nil), &block); end
65
+ def logger(logger, level = T.unsafe(nil), format = T.unsafe(nil)); end
66
+ def maintain_method_across_redirects(value = T.unsafe(nil)); end
67
+ def mkcol(path, options = T.unsafe(nil), &block); end
68
+ def move(path, options = T.unsafe(nil), &block); end
69
+ def no_follow(value = T.unsafe(nil)); end
70
+ def open_timeout(value); end
71
+ def options(path, options = T.unsafe(nil), &block); end
72
+ def parser(custom_parser = T.unsafe(nil)); end
73
+ def patch(path, options = T.unsafe(nil), &block); end
74
+ def pem(pem_contents, password = T.unsafe(nil)); end
75
+ def pkcs12(p12_contents, password); end
76
+ def post(path, options = T.unsafe(nil), &block); end
77
+ def put(path, options = T.unsafe(nil), &block); end
78
+ def query_string_normalizer(normalizer); end
79
+ def raise_on(codes = T.unsafe(nil)); end
80
+ def read_timeout(value); end
81
+ def resend_on_redirect(value = T.unsafe(nil)); end
82
+ def ssl_ca_file(path); end
83
+ def ssl_ca_path(path); end
84
+ def ssl_version(version); end
85
+ def unlock(path, options = T.unsafe(nil), &block); end
86
+ def uri_adapter(uri_adapter); end
87
+ def write_timeout(value); end
88
+
89
+ private
90
+
91
+ def ensure_method_maintained_across_redirects(options); end
92
+ def perform_request(http_method, path, options, &block); end
93
+ def process_cookies(options); end
94
+ def validate_format; end
95
+ def validate_timeout_argument(timeout_type, value); end
96
+ end
97
+
98
+ class HTTParty::ConnectionAdapter
99
+ def initialize(uri, options = T.unsafe(nil)); end
100
+
101
+ def connection; end
102
+ def options; end
103
+ def uri; end
104
+
105
+ private
106
+
107
+ def add_max_retries?(max_retries); end
108
+ def add_timeout?(timeout); end
109
+ def attach_ssl_certificates(http, options); end
110
+ def clean_host(host); end
111
+ def from_ruby_version(ruby_version, option: T.unsafe(nil), warn: T.unsafe(nil)); end
112
+ def ssl_implied?(uri); end
113
+ def strip_ipv6_brackets(host); end
114
+ def verify_ssl_certificate?; end
115
+
116
+ class << self
117
+ def call(uri, options); end
118
+ def default_cert_store; end
119
+ end
120
+ end
121
+
122
+ HTTParty::ConnectionAdapter::OPTION_DEFAULTS = T.let(T.unsafe(nil), T::Hash[T.untyped, T.untyped])
123
+
124
+ HTTParty::ConnectionAdapter::StripIpv6BracketsRegex = T.let(T.unsafe(nil), Regexp)
125
+
126
+ class HTTParty::CookieHash < ::Hash
127
+ K = type_member(fixed: T.untyped)
128
+ V = type_member(fixed: T.untyped)
129
+ Elem = type_member(fixed: T.untyped)
130
+
131
+ def add_cookies(data); end
132
+ def to_cookie_string; end
133
+ end
134
+
135
+ HTTParty::CookieHash::CLIENT_COOKIES = T.let(T.unsafe(nil), T::Array[T.untyped])
136
+
137
+ class HTTParty::DuplicateLocationHeader < ::HTTParty::ResponseError
138
+ end
139
+
140
+ class HTTParty::Error < ::StandardError
141
+ end
142
+
143
+ module HTTParty::HashConversions
144
+ class << self
145
+ def normalize_keys(key, value); end
146
+ def normalize_param(key, value); end
147
+ def to_params(hash); end
148
+ end
149
+ end
150
+
151
+ class HTTParty::HeadersProcessor
152
+ def initialize(headers, options); end
153
+
154
+ def call; end
155
+ def headers; end
156
+ def options; end
157
+
158
+ private
159
+
160
+ def process_dynamic_headers; end
161
+ end
162
+
163
+ module HTTParty::Logger
164
+ class << self
165
+ def add_formatter(name, formatter); end
166
+ def build(logger, level, formatter); end
167
+ def formatters; end
168
+ end
169
+ end
170
+
171
+ class HTTParty::Logger::ApacheFormatter
172
+ def initialize(logger, level); end
173
+
174
+ def format(request, response); end
175
+ def level; end
176
+ def level=(_arg0); end
177
+ def logger; end
178
+ def logger=(_arg0); end
179
+
180
+ private
181
+
182
+ def content_length; end
183
+ def current_time; end
184
+ def http_method; end
185
+ def message; end
186
+ def path; end
187
+ def request; end
188
+ def response; end
189
+ end
190
+
191
+ HTTParty::Logger::ApacheFormatter::TAG_NAME = T.let(T.unsafe(nil), String)
192
+
193
+ class HTTParty::Logger::CurlFormatter
194
+ def initialize(logger, level); end
195
+
196
+ def format(request, response); end
197
+ def level; end
198
+ def level=(_arg0); end
199
+ def logger; end
200
+ def logger=(_arg0); end
201
+
202
+ private
203
+
204
+ def current_time; end
205
+ def log(direction, line = T.unsafe(nil)); end
206
+ def log_hash(hash); end
207
+ def log_headers; end
208
+ def log_query; end
209
+ def log_request; end
210
+ def log_response; end
211
+ def log_response_headers; end
212
+ def log_url; end
213
+ def messages; end
214
+ def messages=(_arg0); end
215
+ def request; end
216
+ def response; end
217
+ end
218
+
219
+ HTTParty::Logger::CurlFormatter::IN = T.let(T.unsafe(nil), String)
220
+
221
+ HTTParty::Logger::CurlFormatter::OUT = T.let(T.unsafe(nil), String)
222
+
223
+ HTTParty::Logger::CurlFormatter::TAG_NAME = T.let(T.unsafe(nil), String)
224
+
225
+ class HTTParty::Logger::LogstashFormatter
226
+ def initialize(logger, level); end
227
+
228
+ def format(request, response); end
229
+ def level; end
230
+ def level=(_arg0); end
231
+ def logger; end
232
+ def logger=(_arg0); end
233
+
234
+ private
235
+
236
+ def content_length; end
237
+ def current_time; end
238
+ def http_method; end
239
+ def logstash_message; end
240
+ def message; end
241
+ def path; end
242
+ def request; end
243
+ def response; end
244
+ end
245
+
246
+ HTTParty::Logger::LogstashFormatter::TAG_NAME = T.let(T.unsafe(nil), String)
247
+
248
+ module HTTParty::ModuleInheritableAttributes
249
+ mixes_in_class_methods(::HTTParty::ModuleInheritableAttributes::ClassMethods)
250
+
251
+ class << self
252
+ def hash_deep_dup(hash); end
253
+ def included(base); end
254
+ end
255
+ end
256
+
257
+ module HTTParty::ModuleInheritableAttributes::ClassMethods
258
+ def inherited(subclass); end
259
+ def mattr_inheritable(*args); end
260
+ end
261
+
262
+ class HTTParty::Parser
263
+ def initialize(body, format); end
264
+
265
+ def body; end
266
+ def format; end
267
+ def parse; end
268
+
269
+ protected
270
+
271
+ def csv; end
272
+ def html; end
273
+ def json; end
274
+ def parse_supported_format; end
275
+ def plain; end
276
+ def supports_format?; end
277
+ def xml; end
278
+
279
+ class << self
280
+ def call(body, format); end
281
+ def format_from_mimetype(mimetype); end
282
+ def formats; end
283
+ def supported_formats; end
284
+ def supports_format?(format); end
285
+ end
286
+ end
287
+
288
+ HTTParty::Parser::SupportedFormats = T.let(T.unsafe(nil), T::Hash[T.untyped, T.untyped])
289
+
290
+ HTTParty::Parser::UTF8_BOM = T.let(T.unsafe(nil), String)
291
+
292
+ class HTTParty::RedirectionTooDeep < ::HTTParty::ResponseError
293
+ end
294
+
295
+ class HTTParty::Request
296
+ def initialize(http_method, path, o = T.unsafe(nil)); end
297
+
298
+ def base_uri; end
299
+ def connection_adapter; end
300
+ def format; end
301
+ def handle_unauthorized(&block); end
302
+ def http_method; end
303
+ def http_method=(_arg0); end
304
+ def last_response; end
305
+ def last_response=(_arg0); end
306
+ def last_uri; end
307
+ def last_uri=(_arg0); end
308
+ def options; end
309
+ def options=(_arg0); end
310
+ def parser; end
311
+ def path; end
312
+ def path=(uri); end
313
+ def perform(&block); end
314
+ def raw_body; end
315
+ def redirect; end
316
+ def redirect=(_arg0); end
317
+ def request_uri(uri); end
318
+ def uri; end
319
+
320
+ private
321
+
322
+ def assume_utf16_is_big_endian; end
323
+ def capture_cookies(response); end
324
+ def check_duplicate_location_header; end
325
+ def credentials; end
326
+ def digest_auth?; end
327
+ def encode_text(text, content_type); end
328
+ def format_from_mimetype(mimetype); end
329
+ def handle_host_redirection; end
330
+ def handle_response(body, &block); end
331
+ def http; end
332
+ def normalize_query(query); end
333
+ def parse_response(body); end
334
+ def password; end
335
+ def post?; end
336
+ def query_string(uri); end
337
+ def query_string_normalizer; end
338
+ def response_has_digest_auth_challenge?; end
339
+ def response_redirects?; end
340
+ def response_unauthorized?; end
341
+ def send_authorization_header?; end
342
+ def set_basic_auth_from_uri; end
343
+ def setup_digest_auth; end
344
+ def setup_raw_request; end
345
+ def username; end
346
+ def validate; end
347
+ end
348
+
349
+ class HTTParty::Request::Body
350
+ def initialize(params, query_string_normalizer: T.unsafe(nil), force_multipart: T.unsafe(nil)); end
351
+
352
+ def boundary; end
353
+ def call; end
354
+ def multipart?; end
355
+
356
+ private
357
+
358
+ def content_type(object); end
359
+ def file?(object); end
360
+ def file_name(object); end
361
+ def force_multipart; end
362
+ def generate_multipart; end
363
+ def has_file?(value); end
364
+ def normalize_query(query); end
365
+ def params; end
366
+ def query_string_normalizer; end
367
+ end
368
+
369
+ HTTParty::Request::JSON_API_QUERY_STRING_NORMALIZER = T.let(T.unsafe(nil), Proc)
370
+
371
+ class HTTParty::Request::MultipartBoundary
372
+ class << self
373
+ def generate; end
374
+ end
375
+ end
376
+
377
+ HTTParty::Request::NON_RAILS_QUERY_STRING_NORMALIZER = T.let(T.unsafe(nil), Proc)
378
+
379
+ HTTParty::Request::SupportedHTTPMethods = T.let(T.unsafe(nil), T::Array[T.untyped])
380
+
381
+ HTTParty::Request::SupportedURISchemes = T.let(T.unsafe(nil), T::Array[T.untyped])
382
+
383
+ class HTTParty::Response
384
+ def initialize(request, response, parsed_block, options = T.unsafe(nil)); end
385
+
386
+ def _dump(_level); end
387
+ def accepted?; end
388
+ def already_reported?; end
389
+ def bad_gateway?; end
390
+ def bad_request?; end
391
+ def body; end
392
+ def client_error?; end
393
+ def code; end
394
+ def conflict?; end
395
+ def continue?; end
396
+ def created?; end
397
+ def display(port = T.unsafe(nil)); end
398
+ def early_hints?; end
399
+ def expectation_failed?; end
400
+ def failed_dependency?; end
401
+ def forbidden?; end
402
+ def found?; end
403
+ def gateway_time_out?; end
404
+ def gateway_timeout?; end
405
+ def gone?; end
406
+ def headers; end
407
+ def http_version; end
408
+ def im_used?; end
409
+ def information?; end
410
+ def inspect; end
411
+ def insufficient_storage?; end
412
+ def internal_server_error?; end
413
+ def length_required?; end
414
+ def locked?; end
415
+ def loop_detected?; end
416
+ def method_not_allowed?; end
417
+ def misdirected_request?; end
418
+ def moved_permanently?; end
419
+ def multi_status?; end
420
+ def multiple_choice?; end
421
+ def multiple_choices?; end
422
+ def network_authentication_required?; end
423
+ def nil?; end
424
+ def no_content?; end
425
+ def non_authoritative_information?; end
426
+ def not_acceptable?; end
427
+ def not_extended?; end
428
+ def not_found?; end
429
+ def not_implemented?; end
430
+ def not_modified?; end
431
+ def ok?; end
432
+ def parsed_response; end
433
+ def partial_content?; end
434
+ def payload_too_large?; end
435
+ def payment_required?; end
436
+ def permanent_redirect?; end
437
+ def precondition_failed?; end
438
+ def precondition_required?; end
439
+ def pretty_print(pp); end
440
+ def processing?; end
441
+ def proxy_authentication_required?; end
442
+ def range_not_satisfiable?; end
443
+ def redirection?; end
444
+ def request; end
445
+ def request_entity_too_large?; end
446
+ def request_header_fields_too_large?; end
447
+ def request_time_out?; end
448
+ def request_timeout?; end
449
+ def request_uri_too_long?; end
450
+ def requested_range_not_satisfiable?; end
451
+ def reset_content?; end
452
+ def response; end
453
+ def see_other?; end
454
+ def server_error?; end
455
+ def service_unavailable?; end
456
+ def success?; end
457
+ def switch_protocol?; end
458
+ def tap; end
459
+ def temporary_redirect?; end
460
+ def to_s; end
461
+ def too_many_requests?; end
462
+ def unauthorized?; end
463
+ def unavailable_for_legal_reasons?; end
464
+ def unprocessable_entity?; end
465
+ def unsupported_media_type?; end
466
+ def upgrade_required?; end
467
+ def uri_too_long?; end
468
+ def use_proxy?; end
469
+ def variant_also_negotiates?; end
470
+ def version_not_supported?; end
471
+
472
+ protected
473
+
474
+ def method_missing(name, *args, &block); end
475
+ def throw_exception; end
476
+
477
+ private
478
+
479
+ def respond_to_missing?(name, *args); end
480
+ def warn_about_nil_deprecation; end
481
+
482
+ class << self
483
+ def _load(data); end
484
+ def underscore(string); end
485
+ end
486
+ end
487
+
488
+ HTTParty::Response::CODES_TO_OBJ = T.let(T.unsafe(nil), T::Hash[T.untyped, T.untyped])
489
+
490
+ class HTTParty::Response::Headers < ::SimpleDelegator
491
+ include(::Net::HTTPHeader)
492
+
493
+ def initialize(header_values = T.unsafe(nil)); end
494
+
495
+ def ==(other); end
496
+ end
497
+
498
+ class HTTParty::ResponseError < ::HTTParty::Error
499
+ def initialize(response); end
500
+
501
+ def response; end
502
+ end
503
+
504
+ class HTTParty::ResponseFragment < ::SimpleDelegator
505
+ def initialize(fragment, http_response, connection); end
506
+
507
+ def code; end
508
+ def connection; end
509
+ def http_response; end
510
+ end
511
+
512
+ class HTTParty::TextEncoder
513
+ def initialize(text, assume_utf16_is_big_endian: T.unsafe(nil), content_type: T.unsafe(nil)); end
514
+
515
+ def assume_utf16_is_big_endian; end
516
+ def call; end
517
+ def content_type; end
518
+ def text; end
519
+
520
+ private
521
+
522
+ def can_encode?; end
523
+ def charset; end
524
+ def encode_utf_16; end
525
+ def encode_with_ruby_encoding; end
526
+ def encoded_text; end
527
+ end
528
+
529
+ class HTTParty::UnsupportedFormat < ::HTTParty::Error
530
+ end
531
+
532
+ class HTTParty::UnsupportedURIScheme < ::HTTParty::Error
533
+ end
534
+
535
+ module HTTParty::Utils
536
+ class << self
537
+ def stringify_keys(hash); end
538
+ end
539
+ end
540
+
541
+ HTTParty::VERSION = T.let(T.unsafe(nil), String)
542
+
543
+ module Net::HTTPHeader
544
+ def digest_auth(username, password, response); end
545
+ end
546
+
547
+ class Net::HTTPHeader::DigestAuthenticator
548
+ def initialize(username, password, method, path, response_header); end
549
+
550
+ def authorization_header; end
551
+ def cookie_header; end
552
+
553
+ private
554
+
555
+ def a1; end
556
+ def a2; end
557
+ def algorithm_present?; end
558
+ def md5(str); end
559
+ def opaque_present?; end
560
+ def parse(response_header); end
561
+ def parse_cookies(response_header); end
562
+ def qop_present?; end
563
+ def random; end
564
+ def request_digest; end
565
+ def use_md5_sess?; end
566
+ end
@@ -0,0 +1,108 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi sorbet-typed
3
+ #
4
+ # If you would like to make changes to this file, great! Please upstream any changes you make here:
5
+ #
6
+ # https://github.com/sorbet/sorbet-typed/edit/master/lib/minitest/all/minitest.rbi
7
+ #
8
+ # typed: strong
9
+
10
+ module Minitest
11
+ class Runnable
12
+ end
13
+
14
+ class Test < Runnable
15
+ include Minitest::Assertions
16
+ end
17
+
18
+ sig { void }
19
+ def self.autorun; end
20
+
21
+ sig { params(args: T::Array[String]).returns(T::Boolean) }
22
+ def self.run(args = []); end
23
+ end
24
+
25
+ module Minitest::Assertions
26
+ extend T::Sig
27
+
28
+ sig { params(test: T.untyped, msg: T.nilable(String)).returns(TrueClass) }
29
+ def assert(test, msg = nil); end
30
+
31
+ sig do
32
+ params(
33
+ exp: BasicObject,
34
+ msg: T.nilable(String)
35
+ ).returns(TrueClass)
36
+ end
37
+ def assert_empty(exp, msg = nil); end
38
+
39
+ sig do
40
+ params(
41
+ exp: BasicObject,
42
+ act: BasicObject,
43
+ msg: T.nilable(String)
44
+ ).returns(TrueClass)
45
+ end
46
+ def assert_equal(exp, act, msg = nil); end
47
+
48
+ sig do
49
+ params(
50
+ collection: T::Enumerable[T.untyped],
51
+ obj: BasicObject,
52
+ msg: T.nilable(String)
53
+ ).returns(TrueClass)
54
+ end
55
+ def assert_includes(collection, obj, msg = nil); end
56
+
57
+ sig do
58
+ params(
59
+ obj: BasicObject,
60
+ msg: T.nilable(String)
61
+ ).returns(TrueClass)
62
+ end
63
+ def assert_nil(obj, msg = nil); end
64
+
65
+ sig do
66
+ params(
67
+ exp: T.untyped
68
+ ).returns(StandardError)
69
+ end
70
+ def assert_raises(*exp, &block); end
71
+
72
+ sig { params(test: T.untyped, msg: T.nilable(String)).returns(TrueClass) }
73
+ def refute(test, msg = nil); end
74
+
75
+ sig do
76
+ params(
77
+ exp: BasicObject,
78
+ msg: T.nilable(String)
79
+ ).returns(TrueClass)
80
+ end
81
+ def refute_empty(exp, msg = nil); end
82
+
83
+ sig do
84
+ params(
85
+ exp: BasicObject,
86
+ act: BasicObject,
87
+ msg: T.nilable(String)
88
+ ).returns(TrueClass)
89
+ end
90
+ def refute_equal(exp, act, msg = nil); end
91
+
92
+ sig do
93
+ params(
94
+ collection: T::Enumerable[T.untyped],
95
+ obj: BasicObject,
96
+ msg: T.nilable(String)
97
+ ).returns(TrueClass)
98
+ end
99
+ def refute_includes(collection, obj, msg = nil); end
100
+
101
+ sig do
102
+ params(
103
+ obj: BasicObject,
104
+ msg: T.nilable(String)
105
+ ).returns(TrueClass)
106
+ end
107
+ def refute_nil(obj, msg = nil); end
108
+ end
@@ -0,0 +1,24 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi sorbet-typed
3
+ #
4
+ # If you would like to make changes to this file, great! Please upstream any changes you make here:
5
+ #
6
+ # https://github.com/sorbet/sorbet-typed/edit/master/lib/rspec-core/all/rspec-core.rbi
7
+ #
8
+ # typed: ignore
9
+
10
+ module RSpec::Core::ShellEscape
11
+ def conditionally_quote(id); end
12
+ def escape(shell_command); end
13
+ def quote(argument); end
14
+ def self.conditionally_quote(id); end
15
+ def self.escape(shell_command); end
16
+ def self.quote(argument); end
17
+ def self.shell_allows_unquoted_ids?; end
18
+ def shell_allows_unquoted_ids?; end
19
+ end
20
+ class RSpec::Core::RakeTask < ::Rake::TaskLib
21
+ include ::Rake::DSL
22
+ include RSpec::Core::ShellEscape
23
+ def initialize(*args, &task_block); end
24
+ end
@@ -0,0 +1,7 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi todo
3
+
4
+ # typed: strong
5
+ module ::FreedcampApi; end
6
+ module ActiveInteraction::Hashable; end
7
+ module ActiveInteraction::Missable; end