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,64 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strict
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/method_source/all/method_source.rbi
9
+ #
10
+ # method_source-1.0.0
11
+
12
+ module MethodSource
13
+ def self.comment_helper(source_location, name = nil); end
14
+ def self.extract_code(source_location); end
15
+ def self.lines_for(file_name, name = nil); end
16
+ def self.source_helper(source_location, name = nil); end
17
+ def self.valid_expression?(str); end
18
+ extend MethodSource::CodeHelpers
19
+ end
20
+ module MethodSource::ReeSourceLocation
21
+ def source_location; end
22
+ end
23
+ module MethodSource::SourceLocation
24
+ end
25
+ module MethodSource::SourceLocation::MethodExtensions
26
+ def source_location; end
27
+ def trace_func(event, file, line, id, binding, classname); end
28
+ end
29
+ module MethodSource::SourceLocation::ProcExtensions
30
+ def source_location; end
31
+ end
32
+ module MethodSource::SourceLocation::UnboundMethodExtensions
33
+ def source_location; end
34
+ end
35
+ module MethodSource::CodeHelpers
36
+ def comment_describing(file, line_number); end
37
+ def complete_expression?(str); end
38
+ def expression_at(file, line_number, options = nil); end
39
+ def extract_first_expression(lines, consume = nil, &block); end
40
+ def extract_last_comment(lines); end
41
+ end
42
+ module MethodSource::CodeHelpers::IncompleteExpression
43
+ def self.===(ex); end
44
+ def self.rbx?; end
45
+ end
46
+ class MethodSource::SourceNotFoundError < StandardError
47
+ end
48
+ module MethodSource::MethodExtensions
49
+ def comment; end
50
+ def self.included(klass); end
51
+ def source; end
52
+ end
53
+ class Method
54
+ include MethodSource::MethodExtensions
55
+ include MethodSource::SourceLocation::MethodExtensions
56
+ end
57
+ class UnboundMethod
58
+ include MethodSource::MethodExtensions
59
+ include MethodSource::SourceLocation::UnboundMethodExtensions
60
+ end
61
+ class Proc
62
+ include MethodSource::MethodExtensions
63
+ include MethodSource::SourceLocation::ProcExtensions
64
+ end
@@ -0,0 +1,72 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `method_source` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ module MethodSource
8
+ extend ::MethodSource::CodeHelpers
9
+
10
+ class << self
11
+ def comment_helper(source_location, name = T.unsafe(nil)); end
12
+ def extract_code(source_location); end
13
+ def lines_for(file_name, name = T.unsafe(nil)); end
14
+ def source_helper(source_location, name = T.unsafe(nil)); end
15
+ def valid_expression?(str); end
16
+ end
17
+ end
18
+
19
+ module MethodSource::CodeHelpers
20
+ def comment_describing(file, line_number); end
21
+ def complete_expression?(str); end
22
+ def expression_at(file, line_number, options = T.unsafe(nil)); end
23
+
24
+ private
25
+
26
+ def extract_first_expression(lines, consume = T.unsafe(nil), &block); end
27
+ def extract_last_comment(lines); end
28
+ end
29
+
30
+ module MethodSource::CodeHelpers::IncompleteExpression
31
+ class << self
32
+ def ===(ex); end
33
+ def rbx?; end
34
+ end
35
+ end
36
+
37
+ MethodSource::CodeHelpers::IncompleteExpression::GENERIC_REGEXPS = T.let(T.unsafe(nil), Array)
38
+ MethodSource::CodeHelpers::IncompleteExpression::RBX_ONLY_REGEXPS = T.let(T.unsafe(nil), Array)
39
+
40
+ module MethodSource::MethodExtensions
41
+ def comment; end
42
+ def source; end
43
+
44
+ class << self
45
+ def included(klass); end
46
+ end
47
+ end
48
+
49
+ module MethodSource::ReeSourceLocation
50
+ def source_location; end
51
+ end
52
+
53
+ module MethodSource::SourceLocation; end
54
+
55
+ module MethodSource::SourceLocation::MethodExtensions
56
+ def source_location; end
57
+
58
+ private
59
+
60
+ def trace_func(event, file, line, id, binding, classname); end
61
+ end
62
+
63
+ module MethodSource::SourceLocation::ProcExtensions
64
+ def source_location; end
65
+ end
66
+
67
+ module MethodSource::SourceLocation::UnboundMethodExtensions
68
+ def source_location; end
69
+ end
70
+
71
+ class MethodSource::SourceNotFoundError < ::StandardError; end
72
+ MethodSource::VERSION = T.let(T.unsafe(nil), String)
@@ -0,0 +1,32 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strict
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/middleware/all/middleware.rbi
9
+ #
10
+ # middleware-0.1.0
11
+
12
+ module Middleware
13
+ end
14
+ class Middleware::Builder
15
+ def call(env = nil); end
16
+ def delete(index); end
17
+ def flatten; end
18
+ def index(object); end
19
+ def initialize(opts = nil, &block); end
20
+ def insert(index, middleware, *args, &block); end
21
+ def insert_after(index, middleware, *args, &block); end
22
+ def insert_before(index, middleware, *args, &block); end
23
+ def replace(index, middleware, *args, &block); end
24
+ def stack; end
25
+ def to_app; end
26
+ def use(middleware, *args, &block); end
27
+ end
28
+ class Middleware::Runner
29
+ def build_call_chain(stack); end
30
+ def call(env); end
31
+ def initialize(stack); end
32
+ end
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `middleware` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,17 @@
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/mime-types-data/all/mime-types-data.rbi
9
+ #
10
+ # mime-types-data-3.2021.0225
11
+
12
+ module MIME
13
+ end
14
+ class MIME::Types
15
+ end
16
+ module MIME::Types::Data
17
+ end
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `mime-types-data` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,218 @@
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/mime-types/all/mime-types.rbi
9
+ #
10
+ # mime-types-3.3.1
11
+
12
+ module MIME
13
+ end
14
+ class MIME::Type
15
+ def <=>(other); end
16
+ def add_extensions(*extensions); end
17
+ def ascii?; end
18
+ def binary?; end
19
+ def complete?; end
20
+ def content_type; end
21
+ def content_type=(type_string); end
22
+ def default_encoding; end
23
+ def docs; end
24
+ def docs=(arg0); end
25
+ def encode_with(coder); end
26
+ def encoding; end
27
+ def encoding=(enc); end
28
+ def eql?(other); end
29
+ def extensions; end
30
+ def extensions=(value); end
31
+ def friendly(lang = nil); end
32
+ def i18n_key; end
33
+ def init_with(coder); end
34
+ def initialize(content_type); end
35
+ def inspect; end
36
+ def intern_string(string); end
37
+ def like?(other); end
38
+ def media_type; end
39
+ def obsolete; end
40
+ def obsolete=(arg0); end
41
+ def obsolete?; end
42
+ def preferred_extension; end
43
+ def preferred_extension=(value); end
44
+ def priority_compare(other); end
45
+ def raw_media_type; end
46
+ def raw_sub_type; end
47
+ def registered; end
48
+ def registered=(arg0); end
49
+ def registered?; end
50
+ def self.i18n_key(content_type); end
51
+ def self.match(content_type); end
52
+ def self.simplified(content_type, remove_x_prefix: nil); end
53
+ def self.simplify_matchdata(matchdata, remove_x = nil, joiner: nil); end
54
+ def signature; end
55
+ def signature=(arg0); end
56
+ def signature?; end
57
+ def simplified; end
58
+ def sub_type; end
59
+ def to_h; end
60
+ def to_json(*args); end
61
+ def to_s; end
62
+ def to_str; end
63
+ def use_instead; end
64
+ def use_instead=(arg0); end
65
+ def xref_map(values, helper); end
66
+ def xref_url_for_draft(value); end
67
+ def xref_url_for_person(value); end
68
+ def xref_url_for_rfc(value); end
69
+ def xref_url_for_rfc_errata(value); end
70
+ def xref_url_for_template(value); end
71
+ def xref_urls; end
72
+ def xrefs; end
73
+ def xrefs=(xrefs); end
74
+ include Comparable
75
+ end
76
+ class MIME::Type::InvalidContentType < ArgumentError
77
+ def initialize(type_string); end
78
+ def to_s; end
79
+ end
80
+ class MIME::Type::InvalidEncoding < ArgumentError
81
+ def initialize(encoding); end
82
+ def to_s; end
83
+ end
84
+ class MIME::Types::Cache < Struct
85
+ def data; end
86
+ def data=(_); end
87
+ def self.[](*arg0); end
88
+ def self.inspect; end
89
+ def self.load(cache_file = nil); end
90
+ def self.members; end
91
+ def self.new(*arg0); end
92
+ def self.save(types = nil, cache_file = nil); end
93
+ def version; end
94
+ def version=(_); end
95
+ end
96
+ class MIME::Types::Container
97
+ def ==(*args, &block); end
98
+ def [](key); end
99
+ def []=(key, value); end
100
+ def add(key, value); end
101
+ def container; end
102
+ def container=(arg0); end
103
+ def count(*args, &block); end
104
+ def each(*args, &block); end
105
+ def each_value(*args, &block); end
106
+ def empty?(*args, &block); end
107
+ def encode_with(coder); end
108
+ def flat_map(*args, &block); end
109
+ def init_with(coder); end
110
+ def initialize(hash = nil); end
111
+ def keys(*args, &block); end
112
+ def marshal_dump; end
113
+ def marshal_load(hash); end
114
+ def merge!(other); end
115
+ def merge(other); end
116
+ def normalize; end
117
+ def select(*args, &block); end
118
+ def to_hash; end
119
+ def values(*args, &block); end
120
+ extend Forwardable
121
+ end
122
+ class MIME::Types
123
+ def [](type_id, complete: nil, registered: nil); end
124
+ def add(*types); end
125
+ def add_type(type, quiet = nil); end
126
+ def add_type_variant!(mime_type); end
127
+ def count; end
128
+ def each; end
129
+ def index_extensions!(mime_type); end
130
+ def initialize; end
131
+ def inspect; end
132
+ def match(pattern); end
133
+ def of(filename); end
134
+ def prune_matches(matches, complete, registered); end
135
+ def reindex_extensions!(mime_type); end
136
+ def self.[](type_id, complete: nil, registered: nil); end
137
+ def self.__instances__; end
138
+ def self.__types__; end
139
+ def self.add(*types); end
140
+ def self.count; end
141
+ def self.each; end
142
+ def self.lazy_load?; end
143
+ def self.load_default_mime_types(mode = nil); end
144
+ def self.load_mode; end
145
+ def self.logger; end
146
+ def self.logger=(arg0); end
147
+ def self.new(*arg0); end
148
+ def self.of(filename); end
149
+ def self.reindex_extensions(type); end
150
+ def self.type_for(filename); end
151
+ def type_for(filename); end
152
+ include Enumerable
153
+ end
154
+ class MIME::Types::Loader
155
+ def columnar_path; end
156
+ def container; end
157
+ def initialize(path = nil, container = nil); end
158
+ def json_path; end
159
+ def load(options = nil); end
160
+ def load_columnar; end
161
+ def load_json; end
162
+ def load_yaml; end
163
+ def path; end
164
+ def self.load(options = nil); end
165
+ def self.load_from_json(filename); end
166
+ def self.load_from_yaml(filename); end
167
+ def self.read_file(filename); end
168
+ def yaml_path; end
169
+ end
170
+ class MIME::Types::WarnLogger < Logger
171
+ def initialize(_one, _two = nil, _three = nil); end
172
+ end
173
+ class MIME::Types::WarnLogger::WarnLogDevice < Logger::LogDevice
174
+ def close; end
175
+ def initialize(*arg0); end
176
+ def write(m); end
177
+ end
178
+ class MIME::Type::Columnar < MIME::Type
179
+ def docs(*args); end
180
+ def docs=(*args); end
181
+ def encode_with(coder); end
182
+ def encoding(*args); end
183
+ def encoding=(*args); end
184
+ def friendly(*args); end
185
+ def initialize(container, content_type, extensions); end
186
+ def obsolete(*args); end
187
+ def obsolete=(*args); end
188
+ def obsolete?(*args); end
189
+ def preferred_extension(*args); end
190
+ def preferred_extension=(*args); end
191
+ def registered(*args); end
192
+ def registered=(*args); end
193
+ def registered?(*args); end
194
+ def signature(*args); end
195
+ def signature=(*args); end
196
+ def signature?(*args); end
197
+ def use_instead(*args); end
198
+ def use_instead=(*args); end
199
+ def xref_urls(*args); end
200
+ def xrefs(*args); end
201
+ def xrefs=(*args); end
202
+ end
203
+ module MIME::Types::Columnar
204
+ def arr(line); end
205
+ def dict(line, array: nil); end
206
+ def each_file_line(name, lookup = nil); end
207
+ def flag(line); end
208
+ def load_base_data(path); end
209
+ def load_docs; end
210
+ def load_encoding; end
211
+ def load_flags; end
212
+ def load_friendly; end
213
+ def load_preferred_extension; end
214
+ def load_use_instead; end
215
+ def load_xrefs; end
216
+ def opt(line); end
217
+ def self.extended(obj); end
218
+ end
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `mime-types` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,52 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strict
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/mini_mime/all/mini_mime.rbi
9
+ #
10
+ # mini_mime-1.1.0
11
+
12
+ module MiniMime
13
+ def self.lookup_by_content_type(mime); end
14
+ def self.lookup_by_extension(extension); end
15
+ def self.lookup_by_filename(filename); end
16
+ end
17
+ module MiniMime::Configuration
18
+ def self.content_type_db_path; end
19
+ def self.content_type_db_path=(arg0); end
20
+ def self.ext_db_path; end
21
+ def self.ext_db_path=(arg0); end
22
+ end
23
+ class MiniMime::Info
24
+ def [](idx); end
25
+ def binary?; end
26
+ def content_type; end
27
+ def content_type=(arg0); end
28
+ def encoding; end
29
+ def encoding=(arg0); end
30
+ def extension; end
31
+ def extension=(arg0); end
32
+ def initialize(buffer); end
33
+ end
34
+ class MiniMime::Db
35
+ def initialize; end
36
+ def lookup_by_content_type(content_type); end
37
+ def lookup_by_extension(extension); end
38
+ def self.lookup_by_content_type(content_type); end
39
+ def self.lookup_by_extension(extension); end
40
+ def self.lookup_by_filename(filename); end
41
+ end
42
+ class MiniMime::Db::Cache
43
+ def []=(key, val); end
44
+ def fetch(key, &blk); end
45
+ def initialize(size); end
46
+ end
47
+ class MiniMime::Db::RandomAccessDb
48
+ def initialize(path, sort_order); end
49
+ def lookup(val); end
50
+ def lookup_uncached(val); end
51
+ def resolve(row); end
52
+ end