checkoff 0.200.0 → 0.203.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +130 -28
  3. data/.git-hooks/pre_commit/solargraph_typecheck.rb +12 -11
  4. data/.overcommit.yml +27 -2
  5. data/.rubocop.yml +20 -2
  6. data/.rubocop_todo.yml +90 -0
  7. data/.solargraph.yml +10 -1
  8. data/DEVELOPMENT.md +1 -1
  9. data/Gemfile +11 -8
  10. data/Gemfile.lock +66 -42
  11. data/LICENSE +1 -1
  12. data/Makefile +14 -12
  13. data/bin/brakeman +27 -0
  14. data/bin/overcommit_branch +117 -0
  15. data/bin/spoom +27 -0
  16. data/bin/srb +27 -0
  17. data/bin/srb-rbi +27 -0
  18. data/bin/tapioca +27 -0
  19. data/config/annotations_misc.rb +35 -0
  20. data/docs/cookiecutter_input.json +1 -0
  21. data/fix.sh +14 -6
  22. data/lib/checkoff/custom_fields.rb +3 -2
  23. data/lib/checkoff/internal/search_url/simple_param_converter.rb +11 -0
  24. data/lib/checkoff/version.rb +1 -1
  25. data/requirements_dev.txt +1 -1
  26. data/sorbet/config +4 -0
  27. data/sorbet/rbi/annotations/.gitattributes +1 -0
  28. data/sorbet/rbi/annotations/activesupport.rbi +453 -0
  29. data/sorbet/rbi/annotations/faraday.rbi +17 -0
  30. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  31. data/sorbet/rbi/annotations/mocha.rbi +34 -0
  32. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  33. data/sorbet/rbi/annotations/webmock.rbi +9 -0
  34. data/sorbet/rbi/dsl/.gitattributes +1 -0
  35. data/sorbet/rbi/dsl/active_support/callbacks.rbi +23 -0
  36. data/sorbet/rbi/gems/.gitattributes +1 -0
  37. data/sorbet/rbi/gems/activesupport@7.1.3.rbi +18749 -0
  38. data/sorbet/rbi/gems/addressable@2.8.6.rbi +1994 -0
  39. data/sorbet/rbi/gems/ansi@1.5.0.rbi +688 -0
  40. data/sorbet/rbi/gems/asana@0.10.6-ab9393136d9ca59b75e42a661fdddc1c65c8f7c3.rbi +6142 -0
  41. data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
  42. data/sorbet/rbi/gems/backport@1.2.0.rbi +523 -0
  43. data/sorbet/rbi/gems/base64@0.2.0.rbi +509 -0
  44. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  45. data/sorbet/rbi/gems/bigdecimal@3.1.5.rbi +78 -0
  46. data/sorbet/rbi/gems/builder@3.2.4.rbi +505 -0
  47. data/sorbet/rbi/gems/bump@0.10.0.rbi +169 -0
  48. data/sorbet/rbi/gems/cache@0.4.1.rbi +211 -0
  49. data/sorbet/rbi/gems/cache_method@0.2.7.rbi +293 -0
  50. data/sorbet/rbi/gems/chef-utils@18.3.0.rbi +9 -0
  51. data/sorbet/rbi/gems/childprocess@5.1.0.rbi +383 -0
  52. data/sorbet/rbi/gems/coderay@1.1.3.rbi +3427 -0
  53. data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +11591 -0
  54. data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +9 -0
  55. data/sorbet/rbi/gems/crack@0.4.5.rbi +145 -0
  56. data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +969 -0
  57. data/sorbet/rbi/gems/docile@1.4.0.rbi +377 -0
  58. data/sorbet/rbi/gems/drb@2.2.0.rbi +1347 -0
  59. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +9 -0
  60. data/sorbet/rbi/gems/erubi@1.13.0.rbi +152 -0
  61. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +222 -0
  62. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +126 -0
  63. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +136 -0
  64. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +145 -0
  65. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +259 -0
  66. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +142 -0
  67. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +118 -0
  68. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +125 -0
  69. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +133 -0
  70. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +198 -0
  71. data/sorbet/rbi/gems/faraday@1.10.3.rbi +2729 -0
  72. data/sorbet/rbi/gems/faraday_middleware-multi_json@0.0.6.rbi +29 -0
  73. data/sorbet/rbi/gems/faraday_middleware@1.2.0.rbi +1004 -0
  74. data/sorbet/rbi/gems/gli@2.21.1.rbi +9 -0
  75. data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +351 -0
  76. data/sorbet/rbi/gems/i18n@1.14.1.rbi +2326 -0
  77. data/sorbet/rbi/gems/imagen@0.1.8.rbi +340 -0
  78. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +899 -0
  79. data/sorbet/rbi/gems/jaro_winkler@1.6.0.rbi +22 -0
  80. data/sorbet/rbi/gems/json@2.7.1.rbi +1562 -0
  81. data/sorbet/rbi/gems/jwt@2.7.1.rbi +1405 -0
  82. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +128 -0
  83. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +3272 -0
  84. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14238 -0
  85. data/sorbet/rbi/gems/logger@1.6.1.rbi +920 -0
  86. data/sorbet/rbi/gems/mdl@0.13.0.rbi +445 -0
  87. data/sorbet/rbi/gems/method_source@1.0.0.rbi +273 -0
  88. data/sorbet/rbi/gems/mime-types-data@3.2023.1205.rbi +127 -0
  89. data/sorbet/rbi/gems/mime-types@3.5.1.rbi +1252 -0
  90. data/sorbet/rbi/gems/minitest-profile@0.0.2.rbi +136 -0
  91. data/sorbet/rbi/gems/minitest-reporters@1.6.1.rbi +1014 -0
  92. data/sorbet/rbi/gems/minitest@5.21.1.rbi +1539 -0
  93. data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +314 -0
  94. data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +581 -0
  95. data/sorbet/rbi/gems/mixlib-shellout@3.2.7.rbi +629 -0
  96. data/sorbet/rbi/gems/mocha@2.1.0.rbi +12 -0
  97. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +268 -0
  98. data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +102 -0
  99. data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +234 -0
  100. data/sorbet/rbi/gems/mutex_m@0.2.0.rbi +94 -0
  101. data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
  102. data/sorbet/rbi/gems/nokogiri@1.16.7.rbi +7311 -0
  103. data/sorbet/rbi/gems/oauth2@1.4.11.rbi +833 -0
  104. data/sorbet/rbi/gems/ostruct@0.6.1.rbi +354 -0
  105. data/sorbet/rbi/gems/overcommit@0.64.0.rbi +2400 -0
  106. data/sorbet/rbi/gems/parallel@1.23.0.rbi +274 -0
  107. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +7253 -0
  108. data/sorbet/rbi/gems/prism@1.2.0.rbi +39085 -0
  109. data/sorbet/rbi/gems/pry@0.14.2.rbi +10070 -0
  110. data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +936 -0
  111. data/sorbet/rbi/gems/punchlist@1.3.2.rbi +173 -0
  112. data/sorbet/rbi/gems/racc@1.7.3.rbi +162 -0
  113. data/sorbet/rbi/gems/rack@3.0.8.rbi +5184 -0
  114. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
  115. data/sorbet/rbi/gems/rake@13.1.0.rbi +3022 -0
  116. data/sorbet/rbi/gems/rbi@0.2.1.rbi +4535 -0
  117. data/sorbet/rbi/gems/rbs@2.8.4.rbi +5613 -0
  118. data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +3750 -0
  119. data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +390 -0
  120. data/sorbet/rbi/gems/rexml@3.2.6.rbi +4888 -0
  121. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7061 -0
  122. data/sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi +2577 -0
  123. data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +3262 -0
  124. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +329 -0
  125. data/sorbet/rbi/gems/rubocop@1.59.0.rbi +57238 -0
  126. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  127. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
  128. data/sorbet/rbi/gems/rugged@1.6.3.rbi +1577 -0
  129. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +217 -0
  130. data/sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi +256 -0
  131. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2149 -0
  132. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +9 -0
  133. data/sorbet/rbi/gems/solargraph@0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8.rbi +9396 -0
  134. data/sorbet/rbi/gems/source_finder@3.2.1.rbi +317 -0
  135. data/sorbet/rbi/gems/spoom@1.5.0.rbi +4932 -0
  136. data/sorbet/rbi/gems/tapioca@0.16.4.rbi +3604 -0
  137. data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
  138. data/sorbet/rbi/gems/tilt@2.4.0.rbi +933 -0
  139. data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +9 -0
  140. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5918 -0
  141. data/sorbet/rbi/gems/undercover@0.5.0.rbi +433 -0
  142. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +66 -0
  143. data/sorbet/rbi/gems/webmock@3.19.1.rbi +1769 -0
  144. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
  145. data/sorbet/rbi/gems/yard@0.9.34.rbi +18247 -0
  146. data/sorbet/rbi/todo.rbi +11 -0
  147. data/sorbet/tapioca/config.yml +13 -0
  148. data/sorbet/tapioca/require.rb +4 -0
  149. metadata +134 -3
@@ -0,0 +1,9 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `e2mmap` gem.
5
+ # Please instead update this file by running `bin/tapioca gem e2mmap`.
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,152 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `erubi` gem.
5
+ # Please instead update this file by running `bin/tapioca gem erubi`.
6
+
7
+
8
+ # source://erubi//lib/erubi.rb#3
9
+ module Erubi
10
+ private
11
+
12
+ # source://erubi//lib/erubi.rb#32
13
+ def h(value); end
14
+
15
+ class << self
16
+ # source://erubi//lib/erubi.rb#32
17
+ def h(value); end
18
+ end
19
+ end
20
+
21
+ # source://erubi//lib/erubi.rb#51
22
+ class Erubi::Engine
23
+ # Initialize a new Erubi::Engine. Options:
24
+ # +:bufval+ :: The value to use for the buffer variable, as a string (default <tt>'::String.new'</tt>).
25
+ # +:bufvar+ :: The variable name to use for the buffer variable, as a string.
26
+ # +:chain_appends+ :: Whether to chain <tt><<</t> calls to the buffer variable. Offers better
27
+ # performance, but can cause issues when the buffer variable is reassigned during
28
+ # template rendering (default +false+).
29
+ # +:ensure+ :: Wrap the template in a begin/ensure block restoring the previous value of bufvar.
30
+ # +:escapefunc+ :: The function to use for escaping, as a string (default: <tt>'::Erubi.h'</tt>).
31
+ # +:escape+ :: Whether to make <tt><%=</tt> escape by default, and <tt><%==</tt> not escape by default.
32
+ # +:escape_html+ :: Same as +:escape+, with lower priority.
33
+ # +:filename+ :: The filename for the template.
34
+ # the resulting source code. Note this may cause problems if you are wrapping the resulting
35
+ # source code in other code, because the magic comment only has an effect at the beginning of
36
+ # the file, and having the magic comment later in the file can trigger warnings.
37
+ # +:freeze_template_literals+ :: Whether to suffix all literal strings for template code with <tt>.freeze</tt>
38
+ # (default: +true+ on Ruby 2.1+, +false+ on Ruby 2.0 and older).
39
+ # Can be set to +false+ on Ruby 2.3+ when frozen string literals are enabled
40
+ # in order to improve performance.
41
+ # +:literal_prefix+ :: The prefix to output when using escaped tag delimiters (default <tt>'<%'</tt>).
42
+ # +:literal_postfix+ :: The postfix to output when using escaped tag delimiters (default <tt>'%>'</tt>).
43
+ # +:outvar+ :: Same as +:bufvar+, with lower priority.
44
+ # +:postamble+ :: The postamble for the template, by default returns the resulting source code.
45
+ # +:preamble+ :: The preamble for the template, by default initializes the buffer variable.
46
+ # +:regexp+ :: The regexp to use for scanning.
47
+ # +:src+ :: The initial value to use for the source code, an empty string by default.
48
+ # +:trim+ :: Whether to trim leading and trailing whitespace, true by default.
49
+ #
50
+ # @return [Engine] a new instance of Engine
51
+ #
52
+ # source://erubi//lib/erubi.rb#91
53
+ def initialize(input, properties = T.unsafe(nil)); end
54
+
55
+ # The variable name used for the buffer variable.
56
+ #
57
+ # source://erubi//lib/erubi.rb#62
58
+ def bufvar; end
59
+
60
+ # The filename of the template, if one was given.
61
+ #
62
+ # source://erubi//lib/erubi.rb#59
63
+ def filename; end
64
+
65
+ # The frozen ruby source code generated from the template, which can be evaled.
66
+ #
67
+ # source://erubi//lib/erubi.rb#56
68
+ def src; end
69
+
70
+ private
71
+
72
+ # Add ruby code to the template
73
+ #
74
+ # source://erubi//lib/erubi.rb#223
75
+ def add_code(code); end
76
+
77
+ # Add the given ruby expression result to the template,
78
+ # escaping it based on the indicator given and escape flag.
79
+ #
80
+ # source://erubi//lib/erubi.rb#232
81
+ def add_expression(indicator, code); end
82
+
83
+ # Add the result of Ruby expression to the template
84
+ #
85
+ # source://erubi//lib/erubi.rb#241
86
+ def add_expression_result(code); end
87
+
88
+ # Add the escaped result of Ruby expression to the template
89
+ #
90
+ # source://erubi//lib/erubi.rb#246
91
+ def add_expression_result_escaped(code); end
92
+
93
+ # Add the given postamble to the src. Can be overridden in subclasses
94
+ # to make additional changes to src that depend on the current state.
95
+ #
96
+ # source://erubi//lib/erubi.rb#252
97
+ def add_postamble(postamble); end
98
+
99
+ # Add raw text to the template. Modifies argument if argument is mutable as a memory optimization.
100
+ # Must be called with a string, cannot be called with nil (Rails's subclass depends on it).
101
+ #
102
+ # source://erubi//lib/erubi.rb#210
103
+ def add_text(text); end
104
+
105
+ # Raise an exception, as the base engine class does not support handling other indicators.
106
+ #
107
+ # @raise [ArgumentError]
108
+ #
109
+ # source://erubi//lib/erubi.rb#258
110
+ def handle(indicator, code, tailch, rspace, lspace); end
111
+
112
+ # Make sure that any current expression has been terminated.
113
+ # The default is to terminate all expressions, but when
114
+ # the chain_appends option is used, expressions may not be
115
+ # terminated.
116
+ #
117
+ # source://erubi//lib/erubi.rb#286
118
+ def terminate_expression; end
119
+
120
+ # Make sure the buffer variable is the target of the next append
121
+ # before yielding to the block. Mark that the buffer is the target
122
+ # of the next append after the block executes.
123
+ #
124
+ # This method should only be called if the block will result in
125
+ # code where << will append to the bufvar.
126
+ #
127
+ # source://erubi//lib/erubi.rb#268
128
+ def with_buffer; end
129
+ end
130
+
131
+ # The default regular expression used for scanning.
132
+ #
133
+ # source://erubi//lib/erubi.rb#53
134
+ Erubi::Engine::DEFAULT_REGEXP = T.let(T.unsafe(nil), Regexp)
135
+
136
+ # source://erubi//lib/erubi.rb#17
137
+ Erubi::FREEZE_TEMPLATE_LITERALS = T.let(T.unsafe(nil), TrueClass)
138
+
139
+ # source://erubi//lib/erubi.rb#15
140
+ Erubi::MATCH_METHOD = T.let(T.unsafe(nil), Symbol)
141
+
142
+ # source://erubi//lib/erubi.rb#8
143
+ Erubi::RANGE_FIRST = T.let(T.unsafe(nil), Integer)
144
+
145
+ # source://erubi//lib/erubi.rb#9
146
+ Erubi::RANGE_LAST = T.let(T.unsafe(nil), Integer)
147
+
148
+ # source://erubi//lib/erubi.rb#16
149
+ Erubi::SKIP_DEFINED_FOR_INSTANCE_VARIABLE = T.let(T.unsafe(nil), TrueClass)
150
+
151
+ # source://erubi//lib/erubi.rb#4
152
+ Erubi::VERSION = T.let(T.unsafe(nil), String)
@@ -0,0 +1,222 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `faraday-em_http` gem.
5
+ # Please instead update this file by running `bin/tapioca gem faraday-em_http`.
6
+
7
+
8
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#3
9
+ module Faraday
10
+ class << self
11
+ # source://faraday/1.10.3/lib/faraday.rb#81
12
+ def default_adapter; end
13
+
14
+ # source://faraday/1.10.3/lib/faraday.rb#137
15
+ def default_adapter=(adapter); end
16
+
17
+ # source://faraday/1.10.3/lib/faraday.rb#155
18
+ def default_connection; end
19
+
20
+ # source://faraday/1.10.3/lib/faraday.rb#84
21
+ def default_connection=(_arg0); end
22
+
23
+ # source://faraday/1.10.3/lib/faraday.rb#162
24
+ def default_connection_options; end
25
+
26
+ # source://faraday/1.10.3/lib/faraday.rb#169
27
+ def default_connection_options=(options); end
28
+
29
+ # source://faraday/1.10.3/lib/faraday.rb#89
30
+ def ignore_env_proxy; end
31
+
32
+ # source://faraday/1.10.3/lib/faraday.rb#89
33
+ def ignore_env_proxy=(_arg0); end
34
+
35
+ # source://faraday/1.10.3/lib/faraday.rb#72
36
+ def lib_path; end
37
+
38
+ # source://faraday/1.10.3/lib/faraday.rb#72
39
+ def lib_path=(_arg0); end
40
+
41
+ # source://faraday/1.10.3/lib/faraday.rb#118
42
+ def new(url = T.unsafe(nil), options = T.unsafe(nil), &block); end
43
+
44
+ # source://faraday/1.10.3/lib/faraday.rb#128
45
+ def require_lib(*libs); end
46
+
47
+ # source://faraday/1.10.3/lib/faraday.rb#128
48
+ def require_libs(*libs); end
49
+
50
+ # source://faraday/1.10.3/lib/faraday.rb#142
51
+ def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end
52
+
53
+ # source://faraday/1.10.3/lib/faraday.rb#68
54
+ def root_path; end
55
+
56
+ # source://faraday/1.10.3/lib/faraday.rb#68
57
+ def root_path=(_arg0); end
58
+
59
+ private
60
+
61
+ # source://faraday/1.10.3/lib/faraday.rb#178
62
+ def method_missing(name, *args, &block); end
63
+ end
64
+ end
65
+
66
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#4
67
+ class Faraday::Adapter
68
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#33
69
+ def initialize(_app = T.unsafe(nil), opts = T.unsafe(nil), &block); end
70
+
71
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#60
72
+ def call(env); end
73
+
74
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#55
75
+ def close; end
76
+
77
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#46
78
+ def connection(env); end
79
+
80
+ private
81
+
82
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#91
83
+ def request_timeout(type, options); end
84
+
85
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#67
86
+ def save_response(env, status, body, headers = T.unsafe(nil), reason_phrase = T.unsafe(nil)); end
87
+ end
88
+
89
+ # EventMachine adapter. This adapter is useful for either asynchronous
90
+ # requests when in an EM reactor loop, or for making parallel requests in
91
+ # synchronous code.
92
+ #
93
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#10
94
+ class Faraday::Adapter::EMHttp < ::Faraday::Adapter
95
+ include ::Faraday::Adapter::EMHttp::Options
96
+
97
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#116
98
+ def call(env); end
99
+
100
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#190
101
+ def create_request(env); end
102
+
103
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#196
104
+ def error_message(client); end
105
+
106
+ # @return [Boolean]
107
+ #
108
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#220
109
+ def parallel?(env); end
110
+
111
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#122
112
+ def perform_request(env); end
113
+
114
+ # TODO: reuse the connection to support pipelining
115
+ #
116
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#168
117
+ def perform_single_request(env); end
118
+
119
+ # @raise [error_class]
120
+ #
121
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#200
122
+ def raise_error(msg); end
123
+
124
+ # @return [Boolean]
125
+ #
126
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#214
127
+ def timeout_message?(msg); end
128
+
129
+ class << self
130
+ # @return [Manager]
131
+ #
132
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#112
133
+ def setup_parallel_manager(_options = T.unsafe(nil)); end
134
+ end
135
+ end
136
+
137
+ # This parallel manager is designed to start an EventMachine loop
138
+ # and block until all registered requests have been completed.
139
+ #
140
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#226
141
+ class Faraday::Adapter::EMHttp::Manager
142
+ # @return [Manager] a new instance of Manager
143
+ # @see reset
144
+ #
145
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#228
146
+ def initialize; end
147
+
148
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#246
149
+ def add(&block); end
150
+
151
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#283
152
+ def check_finished; end
153
+
154
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#271
155
+ def perform_request; end
156
+
157
+ # Re-initializes instance variables
158
+ #
159
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#233
160
+ def reset; end
161
+
162
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#255
163
+ def run; end
164
+
165
+ # @return [Boolean]
166
+ #
167
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#242
168
+ def running?; end
169
+ end
170
+
171
+ # Options is a module containing helpers to convert the Faraday env object
172
+ # into options hashes for EMHTTP method calls.
173
+ #
174
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#11
175
+ module Faraday::Adapter::EMHttp::Options
176
+ # Reads out compression header settings from env into options
177
+ #
178
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#79
179
+ def configure_compression(options, env); end
180
+
181
+ # Reads out proxy settings from env into options
182
+ #
183
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#39
184
+ def configure_proxy(options, env); end
185
+
186
+ # Reads out host and port settings from env into options
187
+ #
188
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#51
189
+ def configure_socket(options, env); end
190
+
191
+ # Reads out SSL certificate settings from env into options
192
+ #
193
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#62
194
+ def configure_ssl(options, env); end
195
+
196
+ # Reads out timeout settings from env into options
197
+ #
198
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#72
199
+ def configure_timeout(options, env); end
200
+
201
+ # @return [Hash]
202
+ #
203
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#13
204
+ def connection_config(env); end
205
+
206
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#33
207
+ def read_body(env); end
208
+
209
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#22
210
+ def request_config(env); end
211
+
212
+ # source://faraday-em_http//lib/faraday/adapter/em_http.rb#86
213
+ def request_options(env); end
214
+ end
215
+
216
+ # Main Faraday::EmHttp module
217
+ #
218
+ # source://faraday-em_http//lib/faraday/em_http/version.rb#4
219
+ module Faraday::EmHttp; end
220
+
221
+ # source://faraday-em_http//lib/faraday/em_http/version.rb#5
222
+ Faraday::EmHttp::VERSION = T.let(T.unsafe(nil), String)
@@ -0,0 +1,126 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `faraday-em_synchrony` gem.
5
+ # Please instead update this file by running `bin/tapioca gem faraday-em_synchrony`.
6
+
7
+
8
+ # source://faraday-em_synchrony//lib/faraday/adapter/em_synchrony.rb#5
9
+ module Faraday
10
+ class << self
11
+ # source://faraday/1.10.3/lib/faraday.rb#81
12
+ def default_adapter; end
13
+
14
+ # source://faraday/1.10.3/lib/faraday.rb#137
15
+ def default_adapter=(adapter); end
16
+
17
+ # source://faraday/1.10.3/lib/faraday.rb#155
18
+ def default_connection; end
19
+
20
+ # source://faraday/1.10.3/lib/faraday.rb#84
21
+ def default_connection=(_arg0); end
22
+
23
+ # source://faraday/1.10.3/lib/faraday.rb#162
24
+ def default_connection_options; end
25
+
26
+ # source://faraday/1.10.3/lib/faraday.rb#169
27
+ def default_connection_options=(options); end
28
+
29
+ # source://faraday/1.10.3/lib/faraday.rb#89
30
+ def ignore_env_proxy; end
31
+
32
+ # source://faraday/1.10.3/lib/faraday.rb#89
33
+ def ignore_env_proxy=(_arg0); end
34
+
35
+ # source://faraday/1.10.3/lib/faraday.rb#72
36
+ def lib_path; end
37
+
38
+ # source://faraday/1.10.3/lib/faraday.rb#72
39
+ def lib_path=(_arg0); end
40
+
41
+ # source://faraday/1.10.3/lib/faraday.rb#118
42
+ def new(url = T.unsafe(nil), options = T.unsafe(nil), &block); end
43
+
44
+ # source://faraday/1.10.3/lib/faraday.rb#128
45
+ def require_lib(*libs); end
46
+
47
+ # source://faraday/1.10.3/lib/faraday.rb#128
48
+ def require_libs(*libs); end
49
+
50
+ # source://faraday/1.10.3/lib/faraday.rb#142
51
+ def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end
52
+
53
+ # source://faraday/1.10.3/lib/faraday.rb#68
54
+ def root_path; end
55
+
56
+ # source://faraday/1.10.3/lib/faraday.rb#68
57
+ def root_path=(_arg0); end
58
+
59
+ private
60
+
61
+ # source://faraday/1.10.3/lib/faraday.rb#178
62
+ def method_missing(name, *args, &block); end
63
+ end
64
+ end
65
+
66
+ # source://faraday-em_synchrony//lib/faraday/adapter/em_synchrony.rb#6
67
+ class Faraday::Adapter
68
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#33
69
+ def initialize(_app = T.unsafe(nil), opts = T.unsafe(nil), &block); end
70
+
71
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#60
72
+ def call(env); end
73
+
74
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#55
75
+ def close; end
76
+
77
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#46
78
+ def connection(env); end
79
+
80
+ private
81
+
82
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#91
83
+ def request_timeout(type, options); end
84
+
85
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#67
86
+ def save_response(env, status, body, headers = T.unsafe(nil), reason_phrase = T.unsafe(nil)); end
87
+ end
88
+
89
+ # EventMachine Synchrony adapter.
90
+ #
91
+ # source://faraday-em_synchrony//lib/faraday/adapter/em_synchrony.rb#8
92
+ class Faraday::Adapter::EMSynchrony < ::Faraday::Adapter
93
+ include ::Faraday::Adapter::EMHttp::Options
94
+
95
+ # source://faraday-em_synchrony//lib/faraday/adapter/em_synchrony.rb#40
96
+ def call(env); end
97
+
98
+ # source://faraday-em_synchrony//lib/faraday/adapter/em_synchrony.rb#82
99
+ def create_request(env); end
100
+
101
+ private
102
+
103
+ # source://faraday-em_synchrony//lib/faraday/adapter/em_synchrony.rb#135
104
+ def call_block(block); end
105
+
106
+ # source://faraday-em_synchrony//lib/faraday/adapter/em_synchrony.rb#91
107
+ def execute_parallel_request(env, request, http_method); end
108
+
109
+ # source://faraday-em_synchrony//lib/faraday/adapter/em_synchrony.rb#112
110
+ def execute_single_request(env, request, http_method); end
111
+
112
+ class << self
113
+ # @return [ParallelManager]
114
+ #
115
+ # source://faraday-em_synchrony//lib/faraday/adapter/em_synchrony.rb#36
116
+ def setup_parallel_manager(_options = T.unsafe(nil)); end
117
+ end
118
+ end
119
+
120
+ # Main Faraday::EmSynchrony module
121
+ #
122
+ # source://faraday-em_synchrony//lib/faraday/em_synchrony/version.rb#4
123
+ module Faraday::EmSynchrony; end
124
+
125
+ # source://faraday-em_synchrony//lib/faraday/em_synchrony/version.rb#5
126
+ Faraday::EmSynchrony::VERSION = T.let(T.unsafe(nil), String)
@@ -0,0 +1,136 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `faraday-excon` gem.
5
+ # Please instead update this file by running `bin/tapioca gem faraday-excon`.
6
+
7
+
8
+ # source://faraday-excon//lib/faraday/adapter/excon.rb#3
9
+ module Faraday
10
+ class << self
11
+ # source://faraday/1.10.3/lib/faraday.rb#81
12
+ def default_adapter; end
13
+
14
+ # source://faraday/1.10.3/lib/faraday.rb#137
15
+ def default_adapter=(adapter); end
16
+
17
+ # source://faraday/1.10.3/lib/faraday.rb#155
18
+ def default_connection; end
19
+
20
+ # source://faraday/1.10.3/lib/faraday.rb#84
21
+ def default_connection=(_arg0); end
22
+
23
+ # source://faraday/1.10.3/lib/faraday.rb#162
24
+ def default_connection_options; end
25
+
26
+ # source://faraday/1.10.3/lib/faraday.rb#169
27
+ def default_connection_options=(options); end
28
+
29
+ # source://faraday/1.10.3/lib/faraday.rb#89
30
+ def ignore_env_proxy; end
31
+
32
+ # source://faraday/1.10.3/lib/faraday.rb#89
33
+ def ignore_env_proxy=(_arg0); end
34
+
35
+ # source://faraday/1.10.3/lib/faraday.rb#72
36
+ def lib_path; end
37
+
38
+ # source://faraday/1.10.3/lib/faraday.rb#72
39
+ def lib_path=(_arg0); end
40
+
41
+ # source://faraday/1.10.3/lib/faraday.rb#118
42
+ def new(url = T.unsafe(nil), options = T.unsafe(nil), &block); end
43
+
44
+ # source://faraday/1.10.3/lib/faraday.rb#128
45
+ def require_lib(*libs); end
46
+
47
+ # source://faraday/1.10.3/lib/faraday.rb#128
48
+ def require_libs(*libs); end
49
+
50
+ # source://faraday/1.10.3/lib/faraday.rb#142
51
+ def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end
52
+
53
+ # source://faraday/1.10.3/lib/faraday.rb#68
54
+ def root_path; end
55
+
56
+ # source://faraday/1.10.3/lib/faraday.rb#68
57
+ def root_path=(_arg0); end
58
+
59
+ private
60
+
61
+ # source://faraday/1.10.3/lib/faraday.rb#178
62
+ def method_missing(name, *args, &block); end
63
+ end
64
+ end
65
+
66
+ # source://faraday-excon//lib/faraday/adapter/excon.rb#4
67
+ class Faraday::Adapter
68
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#33
69
+ def initialize(_app = T.unsafe(nil), opts = T.unsafe(nil), &block); end
70
+
71
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#60
72
+ def call(env); end
73
+
74
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#55
75
+ def close; end
76
+
77
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#46
78
+ def connection(env); end
79
+
80
+ private
81
+
82
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#91
83
+ def request_timeout(type, options); end
84
+
85
+ # source://faraday/1.10.3/lib/faraday/adapter.rb#67
86
+ def save_response(env, status, body, headers = T.unsafe(nil), reason_phrase = T.unsafe(nil)); end
87
+ end
88
+
89
+ # Excon adapter.
90
+ #
91
+ # source://faraday-excon//lib/faraday/adapter/excon.rb#6
92
+ class Faraday::Adapter::Excon < ::Faraday::Adapter
93
+ # source://faraday-excon//lib/faraday/adapter/excon.rb#9
94
+ def build_connection(env); end
95
+
96
+ # source://faraday-excon//lib/faraday/adapter/excon.rb#14
97
+ def call(env); end
98
+
99
+ # TODO: support streaming requests
100
+ #
101
+ # source://faraday-excon//lib/faraday/adapter/excon.rb#47
102
+ def read_body(env); end
103
+
104
+ private
105
+
106
+ # source://faraday-excon//lib/faraday/adapter/excon.rb#108
107
+ def amend_opts_with_proxy_settings!(opts, req); end
108
+
109
+ # source://faraday-excon//lib/faraday/adapter/excon.rb#81
110
+ def amend_opts_with_ssl!(opts, ssl); end
111
+
112
+ # source://faraday-excon//lib/faraday/adapter/excon.rb#94
113
+ def amend_opts_with_timeouts!(opts, req); end
114
+
115
+ # @return [Boolean]
116
+ #
117
+ # source://faraday-excon//lib/faraday/adapter/excon.rb#65
118
+ def needs_ssl_settings?(env); end
119
+
120
+ # source://faraday-excon//lib/faraday/adapter/excon.rb#53
121
+ def opts_from_env(env); end
122
+
123
+ # source://faraday-excon//lib/faraday/adapter/excon.rb#112
124
+ def proxy_settings_for_opts(proxy); end
125
+ end
126
+
127
+ # source://faraday-excon//lib/faraday/adapter/excon.rb#69
128
+ Faraday::Adapter::Excon::OPTS_KEYS = T.let(T.unsafe(nil), Array)
129
+
130
+ # Main Faraday::Excon module
131
+ #
132
+ # source://faraday-excon//lib/faraday/excon/version.rb#4
133
+ module Faraday::Excon; end
134
+
135
+ # source://faraday-excon//lib/faraday/excon/version.rb#5
136
+ Faraday::Excon::VERSION = T.let(T.unsafe(nil), String)