checkoff 0.200.0 → 0.203.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +130 -28
- data/.git-hooks/pre_commit/solargraph_typecheck.rb +12 -11
- data/.overcommit.yml +27 -2
- data/.rubocop.yml +20 -2
- data/.rubocop_todo.yml +90 -0
- data/.solargraph.yml +10 -1
- data/DEVELOPMENT.md +1 -1
- data/Gemfile +11 -8
- data/Gemfile.lock +66 -42
- data/LICENSE +1 -1
- data/Makefile +14 -12
- data/bin/brakeman +27 -0
- data/bin/overcommit_branch +117 -0
- data/bin/spoom +27 -0
- data/bin/srb +27 -0
- data/bin/srb-rbi +27 -0
- data/bin/tapioca +27 -0
- data/config/annotations_misc.rb +35 -0
- data/docs/cookiecutter_input.json +1 -0
- data/fix.sh +14 -6
- data/lib/checkoff/custom_fields.rb +3 -2
- data/lib/checkoff/internal/search_url/simple_param_converter.rb +11 -0
- data/lib/checkoff/version.rb +1 -1
- data/requirements_dev.txt +1 -1
- data/sorbet/config +4 -0
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/activesupport.rbi +453 -0
- data/sorbet/rbi/annotations/faraday.rbi +17 -0
- data/sorbet/rbi/annotations/minitest.rbi +119 -0
- data/sorbet/rbi/annotations/mocha.rbi +34 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/annotations/webmock.rbi +9 -0
- data/sorbet/rbi/dsl/.gitattributes +1 -0
- data/sorbet/rbi/dsl/active_support/callbacks.rbi +23 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/activesupport@7.1.3.rbi +18749 -0
- data/sorbet/rbi/gems/addressable@2.8.6.rbi +1994 -0
- data/sorbet/rbi/gems/ansi@1.5.0.rbi +688 -0
- data/sorbet/rbi/gems/asana@0.10.6-ab9393136d9ca59b75e42a661fdddc1c65c8f7c3.rbi +6142 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
- data/sorbet/rbi/gems/backport@1.2.0.rbi +523 -0
- data/sorbet/rbi/gems/base64@0.2.0.rbi +509 -0
- data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
- data/sorbet/rbi/gems/bigdecimal@3.1.5.rbi +78 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +505 -0
- data/sorbet/rbi/gems/bump@0.10.0.rbi +169 -0
- data/sorbet/rbi/gems/cache@0.4.1.rbi +211 -0
- data/sorbet/rbi/gems/cache_method@0.2.7.rbi +293 -0
- data/sorbet/rbi/gems/chef-utils@18.3.0.rbi +9 -0
- data/sorbet/rbi/gems/childprocess@5.1.0.rbi +383 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +3427 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +11591 -0
- data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +9 -0
- data/sorbet/rbi/gems/crack@0.4.5.rbi +145 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +969 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +377 -0
- data/sorbet/rbi/gems/drb@2.2.0.rbi +1347 -0
- data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +9 -0
- data/sorbet/rbi/gems/erubi@1.13.0.rbi +152 -0
- data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +222 -0
- data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +126 -0
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +136 -0
- data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +145 -0
- data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +259 -0
- data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +142 -0
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +118 -0
- data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +125 -0
- data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +133 -0
- data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +198 -0
- data/sorbet/rbi/gems/faraday@1.10.3.rbi +2729 -0
- data/sorbet/rbi/gems/faraday_middleware-multi_json@0.0.6.rbi +29 -0
- data/sorbet/rbi/gems/faraday_middleware@1.2.0.rbi +1004 -0
- data/sorbet/rbi/gems/gli@2.21.1.rbi +9 -0
- data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +351 -0
- data/sorbet/rbi/gems/i18n@1.14.1.rbi +2326 -0
- data/sorbet/rbi/gems/imagen@0.1.8.rbi +340 -0
- data/sorbet/rbi/gems/iniparse@1.5.0.rbi +899 -0
- data/sorbet/rbi/gems/jaro_winkler@1.6.0.rbi +22 -0
- data/sorbet/rbi/gems/json@2.7.1.rbi +1562 -0
- data/sorbet/rbi/gems/jwt@2.7.1.rbi +1405 -0
- data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +128 -0
- data/sorbet/rbi/gems/kramdown@2.4.0.rbi +3272 -0
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14238 -0
- data/sorbet/rbi/gems/logger@1.6.1.rbi +920 -0
- data/sorbet/rbi/gems/mdl@0.13.0.rbi +445 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +273 -0
- data/sorbet/rbi/gems/mime-types-data@3.2023.1205.rbi +127 -0
- data/sorbet/rbi/gems/mime-types@3.5.1.rbi +1252 -0
- data/sorbet/rbi/gems/minitest-profile@0.0.2.rbi +136 -0
- data/sorbet/rbi/gems/minitest-reporters@1.6.1.rbi +1014 -0
- data/sorbet/rbi/gems/minitest@5.21.1.rbi +1539 -0
- data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +314 -0
- data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +581 -0
- data/sorbet/rbi/gems/mixlib-shellout@3.2.7.rbi +629 -0
- data/sorbet/rbi/gems/mocha@2.1.0.rbi +12 -0
- data/sorbet/rbi/gems/multi_json@1.15.0.rbi +268 -0
- data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +102 -0
- data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +234 -0
- data/sorbet/rbi/gems/mutex_m@0.2.0.rbi +94 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
- data/sorbet/rbi/gems/nokogiri@1.16.7.rbi +7311 -0
- data/sorbet/rbi/gems/oauth2@1.4.11.rbi +833 -0
- data/sorbet/rbi/gems/ostruct@0.6.1.rbi +354 -0
- data/sorbet/rbi/gems/overcommit@0.64.0.rbi +2400 -0
- data/sorbet/rbi/gems/parallel@1.23.0.rbi +274 -0
- data/sorbet/rbi/gems/parser@3.2.2.4.rbi +7253 -0
- data/sorbet/rbi/gems/prism@1.2.0.rbi +39085 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +10070 -0
- data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +936 -0
- data/sorbet/rbi/gems/punchlist@1.3.2.rbi +173 -0
- data/sorbet/rbi/gems/racc@1.7.3.rbi +162 -0
- data/sorbet/rbi/gems/rack@3.0.8.rbi +5184 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
- data/sorbet/rbi/gems/rake@13.1.0.rbi +3022 -0
- data/sorbet/rbi/gems/rbi@0.2.1.rbi +4535 -0
- data/sorbet/rbi/gems/rbs@2.8.4.rbi +5613 -0
- data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +3750 -0
- data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +390 -0
- data/sorbet/rbi/gems/rexml@3.2.6.rbi +4888 -0
- data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7061 -0
- data/sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi +2577 -0
- data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +3262 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +329 -0
- data/sorbet/rbi/gems/rubocop@1.59.0.rbi +57238 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
- data/sorbet/rbi/gems/rugged@1.6.3.rbi +1577 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +217 -0
- data/sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi +256 -0
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2149 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +9 -0
- data/sorbet/rbi/gems/solargraph@0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8.rbi +9396 -0
- data/sorbet/rbi/gems/source_finder@3.2.1.rbi +317 -0
- data/sorbet/rbi/gems/spoom@1.5.0.rbi +4932 -0
- data/sorbet/rbi/gems/tapioca@0.16.4.rbi +3604 -0
- data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
- data/sorbet/rbi/gems/tilt@2.4.0.rbi +933 -0
- data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +9 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5918 -0
- data/sorbet/rbi/gems/undercover@0.5.0.rbi +433 -0
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +66 -0
- data/sorbet/rbi/gems/webmock@3.19.1.rbi +1769 -0
- data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
- data/sorbet/rbi/gems/yard@0.9.34.rbi +18247 -0
- data/sorbet/rbi/todo.rbi +11 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- 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)
|