ipt 1.0.1 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (235) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/test.yml +41 -0
  3. data/.gitignore +0 -1
  4. data/Gemfile.lock +318 -0
  5. data/README.md +1 -1
  6. data/bin/tapioca +29 -0
  7. data/ipt.gemspec +15 -8
  8. data/lib/pt.rb +8 -9
  9. data/lib/pt/action.rb +42 -24
  10. data/lib/pt/cli.rb +1 -1
  11. data/lib/pt/client.rb +2 -3
  12. data/lib/pt/configuration.rb +1 -1
  13. data/lib/pt/data_row.rb +1 -0
  14. data/lib/pt/data_table.rb +1 -2
  15. data/lib/pt/io.rb +16 -7
  16. data/lib/pt/version.rb +2 -1
  17. data/sorbet/config +3 -0
  18. data/sorbet/rbi/gems/activesupport.rbi +671 -0
  19. data/sorbet/rbi/gems/activesupport@6.1.3.2.rbi +63 -0
  20. data/sorbet/rbi/gems/addressable.rbi +147 -0
  21. data/sorbet/rbi/gems/addressable@2.7.0.rbi +8 -0
  22. data/sorbet/rbi/gems/anyway_config.rbi +197 -0
  23. data/sorbet/rbi/gems/anyway_config@2.1.0.rbi +8 -0
  24. data/sorbet/rbi/gems/aruba.rbi +917 -0
  25. data/sorbet/rbi/gems/aruba@0.14.14.rbi +1342 -0
  26. data/sorbet/rbi/gems/ast.rbi +49 -0
  27. data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
  28. data/sorbet/rbi/gems/axiom-types@0.1.1.rbi +8 -0
  29. data/sorbet/rbi/gems/builder@3.2.4.rbi +15 -0
  30. data/sorbet/rbi/gems/childprocess.rbi +107 -0
  31. data/sorbet/rbi/gems/childprocess@3.0.0.rbi +135 -0
  32. data/sorbet/rbi/gems/coderay.rbi +285 -0
  33. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  34. data/sorbet/rbi/gems/coercible@1.0.0.rbi +8 -0
  35. data/sorbet/rbi/gems/colorize.rbi +82 -0
  36. data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
  37. data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
  38. data/sorbet/rbi/gems/concurrent-ruby.rbi +1590 -0
  39. data/sorbet/rbi/gems/concurrent-ruby@1.1.8.rbi +8 -0
  40. data/sorbet/rbi/gems/config.rbi +124 -0
  41. data/sorbet/rbi/gems/config@3.1.0.rbi +8 -0
  42. data/sorbet/rbi/gems/contracts.rbi +391 -0
  43. data/sorbet/rbi/gems/contracts@0.16.1.rbi +592 -0
  44. data/sorbet/rbi/gems/cucumber-core.rbi +628 -0
  45. data/sorbet/rbi/gems/cucumber-core@9.0.0.rbi +8 -0
  46. data/sorbet/rbi/gems/cucumber-create-meta.rbi +27 -0
  47. data/sorbet/rbi/gems/cucumber-create-meta@4.0.0.rbi +8 -0
  48. data/sorbet/rbi/gems/cucumber-cucumber-expressions.rbi +216 -0
  49. data/sorbet/rbi/gems/cucumber-cucumber-expressions@12.1.1.rbi +8 -0
  50. data/sorbet/rbi/gems/cucumber-gherkin.rbi +289 -0
  51. data/sorbet/rbi/gems/cucumber-gherkin@18.1.1.rbi +8 -0
  52. data/sorbet/rbi/gems/cucumber-html-formatter@13.0.0.rbi +8 -0
  53. data/sorbet/rbi/gems/cucumber-messages.rbi +872 -0
  54. data/sorbet/rbi/gems/cucumber-messages@15.0.0.rbi +8 -0
  55. data/sorbet/rbi/gems/cucumber-tag-expressions.rbi +53 -0
  56. data/sorbet/rbi/gems/cucumber-tag-expressions@3.0.1.rbi +8 -0
  57. data/sorbet/rbi/gems/cucumber-wire.rbi +161 -0
  58. data/sorbet/rbi/gems/cucumber-wire@5.0.0.rbi +8 -0
  59. data/sorbet/rbi/gems/cucumber.rbi +1876 -0
  60. data/sorbet/rbi/gems/cucumber@6.0.0.rbi +8 -0
  61. data/sorbet/rbi/gems/declarative.rbi +75 -0
  62. data/sorbet/rbi/gems/declarative@0.0.20.rbi +8 -0
  63. data/sorbet/rbi/gems/deep_merge.rbi +26 -0
  64. data/sorbet/rbi/gems/deep_merge@1.2.1.rbi +8 -0
  65. data/sorbet/rbi/gems/descendants_tracker@0.0.4.rbi +8 -0
  66. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
  67. data/sorbet/rbi/gems/dry-configurable@0.12.1.rbi +8 -0
  68. data/sorbet/rbi/gems/dry-container@0.7.2.rbi +8 -0
  69. data/sorbet/rbi/gems/dry-core@0.5.0.rbi +8 -0
  70. data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +8 -0
  71. data/sorbet/rbi/gems/dry-inflector@0.2.0.rbi +8 -0
  72. data/sorbet/rbi/gems/dry-initializer@3.0.4.rbi +8 -0
  73. data/sorbet/rbi/gems/dry-logic@1.2.0.rbi +8 -0
  74. data/sorbet/rbi/gems/dry-schema@1.6.2.rbi +8 -0
  75. data/sorbet/rbi/gems/dry-types@1.5.1.rbi +8 -0
  76. data/sorbet/rbi/gems/dry-validation@1.6.0.rbi +8 -0
  77. data/sorbet/rbi/gems/equalizer.rbi +23 -0
  78. data/sorbet/rbi/gems/equalizer@0.0.11.rbi +8 -0
  79. data/sorbet/rbi/gems/equatable.rbi +26 -0
  80. data/sorbet/rbi/gems/equatable@0.5.0.rbi +8 -0
  81. data/sorbet/rbi/gems/excon.rbi +378 -0
  82. data/sorbet/rbi/gems/excon@0.81.0.rbi +8 -0
  83. data/sorbet/rbi/gems/faraday-excon.rbi +28 -0
  84. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +8 -0
  85. data/sorbet/rbi/gems/faraday-net_http.rbi +32 -0
  86. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +8 -0
  87. data/sorbet/rbi/gems/faraday-net_http_persistent.rbi +24 -0
  88. data/sorbet/rbi/gems/faraday-net_http_persistent@1.1.0.rbi +8 -0
  89. data/sorbet/rbi/gems/faraday.rbi +606 -0
  90. data/sorbet/rbi/gems/faraday@1.4.1.rbi +8 -0
  91. data/sorbet/rbi/gems/faraday_middleware.rbi +19 -0
  92. data/sorbet/rbi/gems/faraday_middleware@1.0.0.rbi +8 -0
  93. data/sorbet/rbi/gems/ffi.rbi +560 -0
  94. data/sorbet/rbi/gems/ffi@1.15.0.rbi +849 -0
  95. data/sorbet/rbi/gems/formatador.rbi +52 -0
  96. data/sorbet/rbi/gems/formatador@0.2.5.rbi +8 -0
  97. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +49 -0
  98. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +233 -0
  99. data/sorbet/rbi/gems/guard.rbi +397 -0
  100. data/sorbet/rbi/gems/guard@2.16.2.rbi +615 -0
  101. data/sorbet/rbi/gems/highline.rbi +567 -0
  102. data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
  103. data/sorbet/rbi/gems/i18n.rbi +133 -0
  104. data/sorbet/rbi/gems/i18n@1.8.10.rbi +8 -0
  105. data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +8 -0
  106. data/sorbet/rbi/gems/listen.rbi +301 -0
  107. data/sorbet/rbi/gems/listen@3.5.1.rbi +476 -0
  108. data/sorbet/rbi/gems/lumberjack.rbi +299 -0
  109. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +431 -0
  110. data/sorbet/rbi/gems/method_source.rbi +64 -0
  111. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  112. data/sorbet/rbi/gems/middleware.rbi +32 -0
  113. data/sorbet/rbi/gems/middleware@0.1.0.rbi +8 -0
  114. data/sorbet/rbi/gems/mime-types-data.rbi +17 -0
  115. data/sorbet/rbi/gems/mime-types-data@3.2021.0225.rbi +8 -0
  116. data/sorbet/rbi/gems/mime-types.rbi +218 -0
  117. data/sorbet/rbi/gems/mime-types@3.3.1.rbi +8 -0
  118. data/sorbet/rbi/gems/mini_mime.rbi +52 -0
  119. data/sorbet/rbi/gems/mini_mime@1.1.0.rbi +8 -0
  120. data/sorbet/rbi/gems/minitest@5.14.4.rbi +8 -0
  121. data/sorbet/rbi/gems/multi_json.rbi +62 -0
  122. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
  123. data/sorbet/rbi/gems/multi_test.rbi +28 -0
  124. data/sorbet/rbi/gems/multi_test@0.1.2.rbi +8 -0
  125. data/sorbet/rbi/gems/multipart-post.rbi +53 -0
  126. data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +8 -0
  127. data/sorbet/rbi/gems/necromancer.rbi +135 -0
  128. data/sorbet/rbi/gems/necromancer@0.3.0.rbi +8 -0
  129. data/sorbet/rbi/gems/nenv.rbi +60 -0
  130. data/sorbet/rbi/gems/nenv@0.3.0.rbi +88 -0
  131. data/sorbet/rbi/gems/notiffany.rbi +215 -0
  132. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +323 -0
  133. data/sorbet/rbi/gems/paint.rbi +31 -0
  134. data/sorbet/rbi/gems/paint@2.2.1.rbi +8 -0
  135. data/sorbet/rbi/gems/parlour.rbi +840 -0
  136. data/sorbet/rbi/gems/parlour@6.0.0.rbi +1610 -0
  137. data/sorbet/rbi/gems/parser.rbi +1517 -0
  138. data/sorbet/rbi/gems/parser@3.0.1.1.rbi +1726 -0
  139. data/sorbet/rbi/gems/pastel.rbi +128 -0
  140. data/sorbet/rbi/gems/pastel@0.6.1.rbi +8 -0
  141. data/sorbet/rbi/gems/protobuf-cucumber.rbi +1520 -0
  142. data/sorbet/rbi/gems/protobuf-cucumber@3.10.8.rbi +8 -0
  143. data/sorbet/rbi/gems/pry.rbi +1898 -0
  144. data/sorbet/rbi/gems/pry@0.14.1.rbi +2486 -0
  145. data/sorbet/rbi/gems/public_suffix.rbi +104 -0
  146. data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +8 -0
  147. data/sorbet/rbi/gems/rainbow.rbi +118 -0
  148. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
  149. data/sorbet/rbi/gems/rake.rbi +647 -0
  150. data/sorbet/rbi/gems/rake@10.5.0.rbi +805 -0
  151. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  152. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
  153. data/sorbet/rbi/gems/representable.rbi +227 -0
  154. data/sorbet/rbi/gems/representable@3.1.1.rbi +8 -0
  155. data/sorbet/rbi/gems/rspec-core.rbi +1932 -0
  156. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2455 -0
  157. data/sorbet/rbi/gems/rspec-expectations.rbi +1151 -0
  158. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1652 -0
  159. data/sorbet/rbi/gems/rspec-mocks.rbi +1100 -0
  160. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
  161. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  162. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  163. data/sorbet/rbi/gems/rspec.rbi +15 -0
  164. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  165. data/sorbet/rbi/gems/ruby-next-core.rbi +76 -0
  166. data/sorbet/rbi/gems/ruby-next-core@0.12.0.rbi +7 -0
  167. data/sorbet/rbi/gems/ruby2_keywords@0.0.4.rbi +8 -0
  168. data/sorbet/rbi/gems/shellany.rbi +29 -0
  169. data/sorbet/rbi/gems/shellany@0.0.1.rbi +28 -0
  170. data/sorbet/rbi/gems/spoom.rbi +872 -0
  171. data/sorbet/rbi/gems/spoom@1.1.1.rbi +1193 -0
  172. data/sorbet/rbi/gems/sys-uname.rbi +66 -0
  173. data/sorbet/rbi/gems/sys-uname@1.2.2.rbi +8 -0
  174. data/sorbet/rbi/gems/tapioca.rbi +39 -0
  175. data/sorbet/rbi/gems/tapioca@0.4.23.rbi +1230 -0
  176. data/sorbet/rbi/gems/terminal-table.rbi +166 -0
  177. data/sorbet/rbi/gems/terminal-table@3.0.0.rbi +8 -0
  178. data/sorbet/rbi/gems/thor.rbi +537 -0
  179. data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
  180. data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +8 -0
  181. data/sorbet/rbi/gems/tracker_api.rbi +33 -0
  182. data/sorbet/rbi/gems/tracker_api@1.13.0.rbi +21 -0
  183. data/sorbet/rbi/gems/trailblazer-option.rbi +22 -0
  184. data/sorbet/rbi/gems/trailblazer-option@0.1.1.rbi +8 -0
  185. data/sorbet/rbi/gems/tty-color.rbi +41 -0
  186. data/sorbet/rbi/gems/tty-color@0.3.0.rbi +8 -0
  187. data/sorbet/rbi/gems/tty-command@0.1.0.rbi +8 -0
  188. data/sorbet/rbi/gems/tty-cursor@0.3.0.rbi +8 -0
  189. data/sorbet/rbi/gems/tty-pager.rbi +41 -0
  190. data/sorbet/rbi/gems/tty-pager@0.4.0.rbi +8 -0
  191. data/sorbet/rbi/gems/tty-platform.rbi +36 -0
  192. data/sorbet/rbi/gems/tty-platform@0.1.0.rbi +8 -0
  193. data/sorbet/rbi/gems/tty-progressbar.rbi +164 -0
  194. data/sorbet/rbi/gems/tty-progressbar@0.9.0.rbi +8 -0
  195. data/sorbet/rbi/gems/tty-prompt@0.6.0.rbi +8 -0
  196. data/sorbet/rbi/gems/tty-screen.rbi +40 -0
  197. data/sorbet/rbi/gems/tty-screen@0.5.1.rbi +8 -0
  198. data/sorbet/rbi/gems/tty-spinner.rbi +40 -0
  199. data/sorbet/rbi/gems/tty-spinner@0.2.0.rbi +8 -0
  200. data/sorbet/rbi/gems/tty-table.rbi +417 -0
  201. data/sorbet/rbi/gems/tty-table@0.5.0.rbi +8 -0
  202. data/sorbet/rbi/gems/tty-which.rbi +22 -0
  203. data/sorbet/rbi/gems/tty-which@0.1.0.rbi +8 -0
  204. data/sorbet/rbi/gems/tty.rbi +126 -0
  205. data/sorbet/rbi/gems/tty@0.5.0.rbi +8 -0
  206. data/sorbet/rbi/gems/tzinfo.rbi +588 -0
  207. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +8 -0
  208. data/sorbet/rbi/gems/uber.rbi +18 -0
  209. data/sorbet/rbi/gems/uber@0.1.0.rbi +8 -0
  210. data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
  211. data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +8 -0
  212. data/sorbet/rbi/gems/unicode_utils.rbi +171 -0
  213. data/sorbet/rbi/gems/unicode_utils@1.4.0.rbi +8 -0
  214. data/sorbet/rbi/gems/vcr.rbi +582 -0
  215. data/sorbet/rbi/gems/vcr@6.0.0.rbi +782 -0
  216. data/sorbet/rbi/gems/verse.rbi +87 -0
  217. data/sorbet/rbi/gems/verse@0.4.0.rbi +8 -0
  218. data/sorbet/rbi/gems/virtus@1.0.5.rbi +8 -0
  219. data/sorbet/rbi/gems/wisper@1.6.1.rbi +8 -0
  220. data/sorbet/rbi/gems/zeitwerk.rbi +139 -0
  221. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +8 -0
  222. data/sorbet/rbi/hidden-definitions/errors.txt +8695 -0
  223. data/sorbet/rbi/hidden-definitions/hidden.rbi +18529 -0
  224. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +37 -0
  225. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1850 -0
  226. data/sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi +756 -0
  227. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
  228. data/sorbet/rbi/sorbet-typed/lib/parlour/6.0.0/parlour.rbi +1903 -0
  229. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
  230. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
  231. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
  232. data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
  233. data/sorbet/rbi/todo.rbi +23 -0
  234. data/sorbet/tapioca/require.rb +4 -0
  235. metadata +341 -23
@@ -0,0 +1,280 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rspec-support/all/rspec-support.rbi
9
+ #
10
+ # rspec-support-3.10.2
11
+
12
+ module RSpec
13
+ extend RSpec::Support::Warnings
14
+ end
15
+ module RSpec::Support
16
+ def self.class_of(object); end
17
+ def self.define_optimized_require_for_rspec(lib, &require_relative); end
18
+ def self.deregister_matcher_definition(&block); end
19
+ def self.failure_notifier; end
20
+ def self.failure_notifier=(callable); end
21
+ def self.is_a_matcher?(object); end
22
+ def self.matcher_definitions; end
23
+ def self.method_handle_for(object, method_name); end
24
+ def self.notify_failure(failure, options = nil); end
25
+ def self.register_matcher_definition(&block); end
26
+ def self.require_rspec_support(f); end
27
+ def self.rspec_description_for_object(object); end
28
+ def self.thread_local_data; end
29
+ def self.warning_notifier; end
30
+ def self.warning_notifier=(arg0); end
31
+ def self.with_failure_notifier(callable); end
32
+ end
33
+ module RSpec::Support::Version
34
+ end
35
+ class RSpec::Support::ComparableVersion
36
+ def <=>(other); end
37
+ def initialize(string); end
38
+ def segments; end
39
+ def string; end
40
+ include Comparable
41
+ end
42
+ module RSpec::Support::OS
43
+ def self.windows?; end
44
+ def self.windows_file_path?; end
45
+ def windows?; end
46
+ def windows_file_path?; end
47
+ end
48
+ module RSpec::Support::Ruby
49
+ def jruby?; end
50
+ def jruby_9000?; end
51
+ def jruby_version; end
52
+ def mri?; end
53
+ def non_mri?; end
54
+ def rbx?; end
55
+ def self.jruby?; end
56
+ def self.jruby_9000?; end
57
+ def self.jruby_version; end
58
+ def self.mri?; end
59
+ def self.non_mri?; end
60
+ def self.rbx?; end
61
+ def self.truffleruby?; end
62
+ def truffleruby?; end
63
+ end
64
+ module RSpec::Support::RubyFeatures
65
+ def caller_locations_supported?; end
66
+ def fork_supported?; end
67
+ def kw_args_supported?; end
68
+ def module_prepends_supported?; end
69
+ def module_refinement_supported?; end
70
+ def optional_and_splat_args_supported?; end
71
+ def required_kw_args_supported?; end
72
+ def ripper_supported?; end
73
+ def self.caller_locations_supported?; end
74
+ def self.fork_supported?; end
75
+ def self.kw_args_supported?; end
76
+ def self.module_prepends_supported?; end
77
+ def self.module_refinement_supported?; end
78
+ def self.optional_and_splat_args_supported?; end
79
+ def self.required_kw_args_supported?; end
80
+ def self.ripper_supported?; end
81
+ def self.supports_exception_cause?; end
82
+ def self.supports_rebinding_module_methods?; end
83
+ def self.supports_taint?; end
84
+ def supports_exception_cause?; end
85
+ def supports_rebinding_module_methods?; end
86
+ def supports_taint?; end
87
+ end
88
+ module RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
89
+ def self.===(exception); end
90
+ end
91
+ class RSpec::CallerFilter
92
+ def self.first_non_rspec_line(skip_frames = nil, increment = nil); end
93
+ end
94
+ module RSpec::Support::Warnings
95
+ def deprecate(deprecated, options = nil); end
96
+ def warn_deprecation(message, options = nil); end
97
+ def warn_with(message, options = nil); end
98
+ def warning(text, options = nil); end
99
+ end
100
+ class RSpec::Support::ObjectFormatter
101
+ def format(object); end
102
+ def initialize(max_formatted_output_length = nil); end
103
+ def max_formatted_output_length; end
104
+ def max_formatted_output_length=(arg0); end
105
+ def prepare_array(array); end
106
+ def prepare_element(element); end
107
+ def prepare_for_inspection(object); end
108
+ def prepare_hash(input_hash); end
109
+ def recursive_structure?(object); end
110
+ def self.default_instance; end
111
+ def self.format(object); end
112
+ def self.prepare_for_inspection(object); end
113
+ def sort_hash_keys(input_hash); end
114
+ def truncate_string(str, start_index, end_index); end
115
+ def with_entering_structure(structure); end
116
+ end
117
+ class RSpec::Support::ObjectFormatter::InspectableItem < Struct
118
+ def inspect; end
119
+ def pretty_print(pp); end
120
+ def self.[](*arg0); end
121
+ def self.inspect; end
122
+ def self.members; end
123
+ def self.new(*arg0); end
124
+ def text; end
125
+ def text=(_); end
126
+ end
127
+ class RSpec::Support::ObjectFormatter::BaseInspector < Struct
128
+ def formatter; end
129
+ def formatter=(_); end
130
+ def inspect; end
131
+ def object; end
132
+ def object=(_); end
133
+ def pretty_print(pp); end
134
+ def self.[](*arg0); end
135
+ def self.can_inspect?(_object); end
136
+ def self.inspect; end
137
+ def self.members; end
138
+ def self.new(*arg0); end
139
+ end
140
+ class RSpec::Support::ObjectFormatter::TimeInspector < RSpec::Support::ObjectFormatter::BaseInspector
141
+ def inspect; end
142
+ def self.can_inspect?(object); end
143
+ end
144
+ class RSpec::Support::ObjectFormatter::DateTimeInspector < RSpec::Support::ObjectFormatter::BaseInspector
145
+ def inspect; end
146
+ def self.can_inspect?(object); end
147
+ end
148
+ class RSpec::Support::ObjectFormatter::BigDecimalInspector < RSpec::Support::ObjectFormatter::BaseInspector
149
+ def inspect; end
150
+ def self.can_inspect?(object); end
151
+ end
152
+ class RSpec::Support::ObjectFormatter::DescribableMatcherInspector < RSpec::Support::ObjectFormatter::BaseInspector
153
+ def inspect; end
154
+ def self.can_inspect?(object); end
155
+ end
156
+ class RSpec::Support::ObjectFormatter::UninspectableObjectInspector < RSpec::Support::ObjectFormatter::BaseInspector
157
+ def inspect; end
158
+ def klass; end
159
+ def native_object_id; end
160
+ def self.can_inspect?(object); end
161
+ end
162
+ class RSpec::Support::ObjectFormatter::DelegatorInspector < RSpec::Support::ObjectFormatter::BaseInspector
163
+ def inspect; end
164
+ def self.can_inspect?(object); end
165
+ end
166
+ class RSpec::Support::ObjectFormatter::InspectableObjectInspector < RSpec::Support::ObjectFormatter::BaseInspector
167
+ def inspect; end
168
+ def self.can_inspect?(object); end
169
+ end
170
+ module RSpec::Support::FuzzyMatcher
171
+ def self.arrays_match?(expected_list, actual_list); end
172
+ def self.hashes_match?(expected_hash, actual_hash); end
173
+ def self.values_match?(expected, actual); end
174
+ end
175
+ class RSpec::Support::MethodSignature
176
+ def arbitrary_kw_args?; end
177
+ def classify_arity(arity = nil); end
178
+ def classify_parameters; end
179
+ def could_contain_kw_args?(args); end
180
+ def description; end
181
+ def has_kw_args_in?(args); end
182
+ def initialize(method); end
183
+ def invalid_kw_args_from(given_kw_args); end
184
+ def max_non_kw_args; end
185
+ def min_non_kw_args; end
186
+ def missing_kw_args_from(given_kw_args); end
187
+ def non_kw_args_arity_description; end
188
+ def optional_kw_args; end
189
+ def required_kw_args; end
190
+ def unlimited_args?; end
191
+ def valid_non_kw_args?(positional_arg_count, optional_max_arg_count = nil); end
192
+ end
193
+ class RSpec::Support::MethodSignatureExpectation
194
+ def empty?; end
195
+ def expect_arbitrary_keywords; end
196
+ def expect_arbitrary_keywords=(arg0); end
197
+ def expect_unlimited_arguments; end
198
+ def expect_unlimited_arguments=(arg0); end
199
+ def initialize; end
200
+ def keywords; end
201
+ def keywords=(values); end
202
+ def max_count; end
203
+ def max_count=(number); end
204
+ def min_count; end
205
+ def min_count=(number); end
206
+ end
207
+ class RSpec::Support::BlockSignature < RSpec::Support::MethodSignature
208
+ def classify_parameters; end
209
+ end
210
+ class RSpec::Support::MethodSignatureVerifier
211
+ def arbitrary_kw_args?; end
212
+ def error_message; end
213
+ def initialize(signature, args = nil); end
214
+ def invalid_kw_args; end
215
+ def kw_args; end
216
+ def max_non_kw_args; end
217
+ def min_non_kw_args; end
218
+ def missing_kw_args; end
219
+ def non_kw_args; end
220
+ def split_args(*args); end
221
+ def unlimited_args?; end
222
+ def valid?; end
223
+ def valid_non_kw_args?; end
224
+ def with_expectation(expectation); end
225
+ end
226
+ class RSpec::Support::LooseSignatureVerifier < RSpec::Support::MethodSignatureVerifier
227
+ def split_args(*args); end
228
+ end
229
+ class RSpec::Support::LooseSignatureVerifier::SignatureWithKeywordArgumentsMatcher
230
+ def has_kw_args_in?(args); end
231
+ def initialize(signature); end
232
+ def invalid_kw_args_from(_kw_args); end
233
+ def missing_kw_args_from(_kw_args); end
234
+ def non_kw_args_arity_description; end
235
+ def valid_non_kw_args?(*args); end
236
+ end
237
+ module RSpec::Support::WithKeywordsWhenNeeded
238
+ def class_exec(klass, *args, &block); end
239
+ def self.class_exec(klass, *args, &block); end
240
+ end
241
+ class RSpec::Support::EncodedString
242
+ def <<(string); end
243
+ def ==(*args, &block); end
244
+ def detect_source_encoding(string); end
245
+ def empty?(*args, &block); end
246
+ def encoding(*args, &block); end
247
+ def eql?(*args, &block); end
248
+ def initialize(string, encoding = nil); end
249
+ def lines(*args, &block); end
250
+ def matching_encoding(string); end
251
+ def remove_invalid_bytes(string); end
252
+ def self.pick_encoding(source_a, source_b); end
253
+ def source_encoding; end
254
+ def split(regex_or_string); end
255
+ def to_s; end
256
+ def to_str; end
257
+ end
258
+ class RSpec::Support::ReentrantMutex
259
+ def enter; end
260
+ def exit; end
261
+ def initialize; end
262
+ def synchronize; end
263
+ end
264
+ class RSpec::Support::Mutex < Thread::Mutex
265
+ def self.new; end
266
+ end
267
+ class RSpec::Support::DirectoryMaker
268
+ def self.directory_exists?(dirname); end
269
+ def self.generate_path(stack, part); end
270
+ def self.generate_stack(path); end
271
+ def self.mkdir_p(path); end
272
+ end
273
+ module RSpec::Support::RecursiveConstMethods
274
+ def const_defined_on?(mod, const_name); end
275
+ def constants_defined_on(mod); end
276
+ def get_const_defined_on(mod, const_name); end
277
+ def normalize_const_name(const_name); end
278
+ def recursive_const_defined?(const_name); end
279
+ def recursive_const_get(const_name); end
280
+ end
@@ -0,0 +1,509 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `rspec-support` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ module RSpec
8
+ extend ::RSpec::Support::Warnings
9
+ extend ::RSpec::Core::Warnings
10
+
11
+ class << self
12
+ def clear_examples; end
13
+ def configuration; end
14
+ def configuration=(_arg0); end
15
+ def configure; end
16
+ def const_missing(name); end
17
+ def context(*args, &example_group_block); end
18
+ def current_example; end
19
+ def current_example=(example); end
20
+ def describe(*args, &example_group_block); end
21
+ def example_group(*args, &example_group_block); end
22
+ def fcontext(*args, &example_group_block); end
23
+ def fdescribe(*args, &example_group_block); end
24
+ def reset; end
25
+ def shared_context(name, *args, &block); end
26
+ def shared_examples(name, *args, &block); end
27
+ def shared_examples_for(name, *args, &block); end
28
+ def world; end
29
+ def world=(_arg0); end
30
+ def xcontext(*args, &example_group_block); end
31
+ def xdescribe(*args, &example_group_block); end
32
+ end
33
+ end
34
+
35
+ class RSpec::CallerFilter
36
+ class << self
37
+ def first_non_rspec_line(skip_frames = T.unsafe(nil), increment = T.unsafe(nil)); end
38
+ end
39
+ end
40
+
41
+ RSpec::CallerFilter::ADDITIONAL_TOP_LEVEL_FILES = T.let(T.unsafe(nil), Array)
42
+ RSpec::CallerFilter::IGNORE_REGEX = T.let(T.unsafe(nil), Regexp)
43
+ RSpec::CallerFilter::LIB_REGEX = T.let(T.unsafe(nil), Regexp)
44
+ RSpec::CallerFilter::RSPEC_LIBS = T.let(T.unsafe(nil), Array)
45
+ RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
46
+ RSpec::SharedContext = RSpec::Core::SharedContext
47
+
48
+ module RSpec::Support
49
+ class << self
50
+ def class_of(object); end
51
+ def define_optimized_require_for_rspec(lib, &require_relative); end
52
+ def deregister_matcher_definition(&block); end
53
+ def failure_notifier; end
54
+ def failure_notifier=(callable); end
55
+ def is_a_matcher?(object); end
56
+ def matcher_definitions; end
57
+ def method_handle_for(object, method_name); end
58
+ def notify_failure(failure, options = T.unsafe(nil)); end
59
+ def register_matcher_definition(&block); end
60
+ def require_rspec_core(f); end
61
+ def require_rspec_expectations(f); end
62
+ def require_rspec_matchers(f); end
63
+ def require_rspec_mocks(f); end
64
+ def require_rspec_support(f); end
65
+ def rspec_description_for_object(object); end
66
+ def thread_local_data; end
67
+ def warning_notifier; end
68
+ def warning_notifier=(_arg0); end
69
+ def with_failure_notifier(callable); end
70
+ end
71
+ end
72
+
73
+ module RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
74
+ class << self
75
+ def ===(exception); end
76
+ end
77
+ end
78
+
79
+ RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue::AVOID_RESCUING = T.let(T.unsafe(nil), Array)
80
+
81
+ class RSpec::Support::BlockSignature < ::RSpec::Support::MethodSignature
82
+ def classify_parameters; end
83
+ end
84
+
85
+ class RSpec::Support::ComparableVersion
86
+ include ::Comparable
87
+
88
+ def initialize(string); end
89
+
90
+ def <=>(other); end
91
+ def segments; end
92
+ def string; end
93
+ end
94
+
95
+ RSpec::Support::DEFAULT_FAILURE_NOTIFIER = T.let(T.unsafe(nil), Proc)
96
+ RSpec::Support::DEFAULT_WARNING_NOTIFIER = T.let(T.unsafe(nil), Proc)
97
+
98
+ class RSpec::Support::Differ
99
+ def initialize(opts = T.unsafe(nil)); end
100
+
101
+ def color?; end
102
+ def diff(actual, expected); end
103
+ def diff_as_object(actual, expected); end
104
+ def diff_as_string(actual, expected); end
105
+
106
+ private
107
+
108
+ def add_old_hunk_to_hunk(hunk, oldhunk); end
109
+ def add_to_output(output, string); end
110
+ def all_strings?(*args); end
111
+ def any_multiline_strings?(*args); end
112
+ def blue(text); end
113
+ def build_hunks(actual, expected); end
114
+ def coerce_to_string(string_or_array); end
115
+ def color(text, color_code); end
116
+ def color_diff(diff); end
117
+ def diffably_stringify(array); end
118
+ def finalize_output(output, final_line); end
119
+ def format_type; end
120
+ def green(text); end
121
+ def handle_encoding_errors(actual, expected); end
122
+ def hash_to_string(hash); end
123
+ def multiline?(string); end
124
+ def no_numbers?(*args); end
125
+ def no_procs?(*args); end
126
+ def normal(text); end
127
+ def object_to_string(object); end
128
+ def red(text); end
129
+ def safely_flatten(array); end
130
+ end
131
+
132
+ class RSpec::Support::DirectoryMaker
133
+ class << self
134
+ def mkdir_p(path); end
135
+
136
+ private
137
+
138
+ def directory_exists?(dirname); end
139
+ def generate_path(stack, part); end
140
+ def generate_stack(path); end
141
+ end
142
+ end
143
+
144
+ class RSpec::Support::EncodedString
145
+ def initialize(string, encoding = T.unsafe(nil)); end
146
+
147
+ def <<(string); end
148
+ def ==(*args, &block); end
149
+ def empty?(*args, &block); end
150
+ def encoding(*args, &block); end
151
+ def eql?(*args, &block); end
152
+ def lines(*args, &block); end
153
+ def source_encoding; end
154
+ def split(regex_or_string); end
155
+ def to_s; end
156
+ def to_str; end
157
+
158
+ private
159
+
160
+ def detect_source_encoding(string); end
161
+ def matching_encoding(string); end
162
+ def remove_invalid_bytes(string); end
163
+
164
+ class << self
165
+ def pick_encoding(source_a, source_b); end
166
+ end
167
+ end
168
+
169
+ RSpec::Support::EncodedString::REPLACE = T.let(T.unsafe(nil), String)
170
+ RSpec::Support::EncodedString::US_ASCII = T.let(T.unsafe(nil), String)
171
+ RSpec::Support::EncodedString::UTF_8 = T.let(T.unsafe(nil), String)
172
+
173
+ module RSpec::Support::FuzzyMatcher
174
+ class << self
175
+ def values_match?(expected, actual); end
176
+
177
+ private
178
+
179
+ def arrays_match?(expected_list, actual_list); end
180
+ def hashes_match?(expected_hash, actual_hash); end
181
+ end
182
+ end
183
+
184
+ class RSpec::Support::HunkGenerator
185
+ def initialize(actual, expected); end
186
+
187
+ def hunks; end
188
+
189
+ private
190
+
191
+ def actual_lines; end
192
+ def build_hunk(piece); end
193
+ def context_lines; end
194
+ def diffs; end
195
+ def expected_lines; end
196
+ end
197
+
198
+ RSpec::Support::KERNEL_METHOD_METHOD = T.let(T.unsafe(nil), UnboundMethod)
199
+
200
+ class RSpec::Support::LooseSignatureVerifier < ::RSpec::Support::MethodSignatureVerifier
201
+ private
202
+
203
+ def split_args(*args); end
204
+ end
205
+
206
+ class RSpec::Support::LooseSignatureVerifier::SignatureWithKeywordArgumentsMatcher
207
+ def initialize(signature); end
208
+
209
+ def has_kw_args_in?(args); end
210
+ def invalid_kw_args_from(_kw_args); end
211
+ def missing_kw_args_from(_kw_args); end
212
+ def non_kw_args_arity_description; end
213
+ def valid_non_kw_args?(*args); end
214
+ end
215
+
216
+ class RSpec::Support::MethodSignature
217
+ def initialize(method); end
218
+
219
+ def arbitrary_kw_args?; end
220
+ def classify_arity(arity = T.unsafe(nil)); end
221
+ def classify_parameters; end
222
+ def could_contain_kw_args?(args); end
223
+ def description; end
224
+ def has_kw_args_in?(args); end
225
+ def invalid_kw_args_from(given_kw_args); end
226
+ def max_non_kw_args; end
227
+ def min_non_kw_args; end
228
+ def missing_kw_args_from(given_kw_args); end
229
+ def non_kw_args_arity_description; end
230
+ def optional_kw_args; end
231
+ def required_kw_args; end
232
+ def unlimited_args?; end
233
+ def valid_non_kw_args?(positional_arg_count, optional_max_arg_count = T.unsafe(nil)); end
234
+ end
235
+
236
+ RSpec::Support::MethodSignature::INFINITY = T.let(T.unsafe(nil), Float)
237
+
238
+ class RSpec::Support::MethodSignatureExpectation
239
+ def initialize; end
240
+
241
+ def empty?; end
242
+ def expect_arbitrary_keywords; end
243
+ def expect_arbitrary_keywords=(_arg0); end
244
+ def expect_unlimited_arguments; end
245
+ def expect_unlimited_arguments=(_arg0); end
246
+ def keywords; end
247
+ def keywords=(values); end
248
+ def max_count; end
249
+ def max_count=(number); end
250
+ def min_count; end
251
+ def min_count=(number); end
252
+ end
253
+
254
+ class RSpec::Support::MethodSignatureVerifier
255
+ def initialize(signature, args = T.unsafe(nil)); end
256
+
257
+ def error_message; end
258
+ def kw_args; end
259
+ def max_non_kw_args; end
260
+ def min_non_kw_args; end
261
+ def non_kw_args; end
262
+ def valid?; end
263
+ def with_expectation(expectation); end
264
+
265
+ private
266
+
267
+ def arbitrary_kw_args?; end
268
+ def invalid_kw_args; end
269
+ def missing_kw_args; end
270
+ def split_args(*args); end
271
+ def unlimited_args?; end
272
+ def valid_non_kw_args?; end
273
+ end
274
+
275
+ class RSpec::Support::Mutex < ::Thread::Mutex
276
+ class << self
277
+ def new; end
278
+ end
279
+ end
280
+
281
+ RSpec::Support::Mutex::NEW_MUTEX_METHOD = T.let(T.unsafe(nil), Method)
282
+
283
+ module RSpec::Support::OS
284
+ private
285
+
286
+ def windows?; end
287
+ def windows_file_path?; end
288
+
289
+ class << self
290
+ def windows?; end
291
+ def windows_file_path?; end
292
+ end
293
+ end
294
+
295
+ class RSpec::Support::ObjectFormatter
296
+ def initialize(max_formatted_output_length = T.unsafe(nil)); end
297
+
298
+ def format(object); end
299
+ def max_formatted_output_length; end
300
+ def max_formatted_output_length=(_arg0); end
301
+ def prepare_array(array); end
302
+ def prepare_element(element); end
303
+ def prepare_for_inspection(object); end
304
+ def prepare_hash(input_hash); end
305
+ def recursive_structure?(object); end
306
+ def sort_hash_keys(input_hash); end
307
+ def with_entering_structure(structure); end
308
+
309
+ private
310
+
311
+ def truncate_string(str, start_index, end_index); end
312
+
313
+ class << self
314
+ def default_instance; end
315
+ def format(object); end
316
+ def prepare_for_inspection(object); end
317
+ end
318
+ end
319
+
320
+ class RSpec::Support::ObjectFormatter::BaseInspector < ::Struct
321
+ def formatter; end
322
+ def formatter=(_); end
323
+ def inspect; end
324
+ def object; end
325
+ def object=(_); end
326
+ def pretty_print(pp); end
327
+
328
+ class << self
329
+ def [](*_arg0); end
330
+ def can_inspect?(_object); end
331
+ def inspect; end
332
+ def members; end
333
+ def new(*_arg0); end
334
+ end
335
+ end
336
+
337
+ class RSpec::Support::ObjectFormatter::BigDecimalInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
338
+ def inspect; end
339
+
340
+ class << self
341
+ def can_inspect?(object); end
342
+ end
343
+ end
344
+
345
+ class RSpec::Support::ObjectFormatter::DateTimeInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
346
+ def inspect; end
347
+
348
+ class << self
349
+ def can_inspect?(object); end
350
+ end
351
+ end
352
+
353
+ RSpec::Support::ObjectFormatter::DateTimeInspector::FORMAT = T.let(T.unsafe(nil), String)
354
+
355
+ class RSpec::Support::ObjectFormatter::DelegatorInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
356
+ def inspect; end
357
+
358
+ class << self
359
+ def can_inspect?(object); end
360
+ end
361
+ end
362
+
363
+ class RSpec::Support::ObjectFormatter::DescribableMatcherInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
364
+ def inspect; end
365
+
366
+ class << self
367
+ def can_inspect?(object); end
368
+ end
369
+ end
370
+
371
+ RSpec::Support::ObjectFormatter::ELLIPSIS = T.let(T.unsafe(nil), String)
372
+ RSpec::Support::ObjectFormatter::INSPECTOR_CLASSES = T.let(T.unsafe(nil), Array)
373
+
374
+ class RSpec::Support::ObjectFormatter::InspectableItem < ::Struct
375
+ def inspect; end
376
+ def pretty_print(pp); end
377
+ def text; end
378
+ def text=(_); end
379
+
380
+ class << self
381
+ def [](*_arg0); end
382
+ def inspect; end
383
+ def members; end
384
+ def new(*_arg0); end
385
+ end
386
+ end
387
+
388
+ class RSpec::Support::ObjectFormatter::InspectableObjectInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
389
+ def inspect; end
390
+
391
+ class << self
392
+ def can_inspect?(object); end
393
+ end
394
+ end
395
+
396
+ class RSpec::Support::ObjectFormatter::TimeInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
397
+ def inspect; end
398
+
399
+ class << self
400
+ def can_inspect?(object); end
401
+ end
402
+ end
403
+
404
+ RSpec::Support::ObjectFormatter::TimeInspector::FORMAT = T.let(T.unsafe(nil), String)
405
+
406
+ class RSpec::Support::ObjectFormatter::UninspectableObjectInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
407
+ def inspect; end
408
+ def klass; end
409
+ def native_object_id; end
410
+
411
+ class << self
412
+ def can_inspect?(object); end
413
+ end
414
+ end
415
+
416
+ RSpec::Support::ObjectFormatter::UninspectableObjectInspector::OBJECT_ID_FORMAT = T.let(T.unsafe(nil), String)
417
+
418
+ module RSpec::Support::RecursiveConstMethods
419
+ def const_defined_on?(mod, const_name); end
420
+ def constants_defined_on(mod); end
421
+ def get_const_defined_on(mod, const_name); end
422
+ def normalize_const_name(const_name); end
423
+ def recursive_const_defined?(const_name); end
424
+ def recursive_const_get(const_name); end
425
+ end
426
+
427
+ class RSpec::Support::ReentrantMutex
428
+ def initialize; end
429
+
430
+ def synchronize; end
431
+
432
+ private
433
+
434
+ def enter; end
435
+ def exit; end
436
+ end
437
+
438
+ module RSpec::Support::Ruby
439
+ private
440
+
441
+ def jruby?; end
442
+ def jruby_9000?; end
443
+ def jruby_version; end
444
+ def mri?; end
445
+ def non_mri?; end
446
+ def rbx?; end
447
+ def truffleruby?; end
448
+
449
+ class << self
450
+ def jruby?; end
451
+ def jruby_9000?; end
452
+ def jruby_version; end
453
+ def mri?; end
454
+ def non_mri?; end
455
+ def rbx?; end
456
+ def truffleruby?; end
457
+ end
458
+ end
459
+
460
+ module RSpec::Support::RubyFeatures
461
+ private
462
+
463
+ def caller_locations_supported?; end
464
+ def fork_supported?; end
465
+ def kw_args_supported?; end
466
+ def module_prepends_supported?; end
467
+ def module_refinement_supported?; end
468
+ def optional_and_splat_args_supported?; end
469
+ def required_kw_args_supported?; end
470
+ def ripper_supported?; end
471
+ def supports_exception_cause?; end
472
+ def supports_rebinding_module_methods?; end
473
+ def supports_taint?; end
474
+
475
+ class << self
476
+ def caller_locations_supported?; end
477
+ def fork_supported?; end
478
+ def kw_args_supported?; end
479
+ def module_prepends_supported?; end
480
+ def module_refinement_supported?; end
481
+ def optional_and_splat_args_supported?; end
482
+ def required_kw_args_supported?; end
483
+ def ripper_supported?; end
484
+ def supports_exception_cause?; end
485
+ def supports_rebinding_module_methods?; end
486
+ def supports_taint?; end
487
+ end
488
+ end
489
+
490
+ RSpec::Support::StrictSignatureVerifier = RSpec::Support::MethodSignatureVerifier
491
+ module RSpec::Support::Version; end
492
+ RSpec::Support::Version::STRING = T.let(T.unsafe(nil), String)
493
+
494
+ module RSpec::Support::Warnings
495
+ def deprecate(deprecated, options = T.unsafe(nil)); end
496
+ def warn_deprecation(message, options = T.unsafe(nil)); end
497
+ def warn_with(message, options = T.unsafe(nil)); end
498
+ def warning(text, options = T.unsafe(nil)); end
499
+ end
500
+
501
+ module RSpec::Support::WithKeywordsWhenNeeded
502
+ private
503
+
504
+ def class_exec(klass, *args, &block); end
505
+
506
+ class << self
507
+ def class_exec(klass, *args, &block); end
508
+ end
509
+ end