workos 4.1.0 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +37 -0
- data/.github/workflows/release.yml +43 -0
- data/.rubocop.yml +8 -1
- data/Gemfile.lock +22 -69
- data/lib/workos/audit_log_export.rb +8 -31
- data/lib/workos/audit_logs.rb +0 -26
- data/lib/workos/authentication_factor_and_challenge.rb +0 -3
- data/lib/workos/authentication_response.rb +3 -6
- data/lib/workos/challenge.rb +9 -28
- data/lib/workos/client.rb +0 -41
- data/lib/workos/configuration.rb +0 -1
- data/lib/workos/connection.rb +11 -35
- data/lib/workos/directory.rb +10 -37
- data/lib/workos/directory_group.rb +9 -36
- data/lib/workos/directory_sync.rb +0 -21
- data/lib/workos/directory_user.rb +17 -51
- data/lib/workos/errors.rb +0 -16
- data/lib/workos/event.rb +5 -26
- data/lib/workos/events.rb +0 -7
- data/lib/workos/factor.rb +9 -28
- data/lib/workos/hash_provider.rb +0 -1
- data/lib/workos/impersonator.rb +0 -3
- data/lib/workos/invitation.rb +12 -37
- data/lib/workos/mfa.rb +0 -42
- data/lib/workos/organization.rb +8 -31
- data/lib/workos/organization_membership.rb +8 -27
- data/lib/workos/organizations.rb +0 -26
- data/lib/workos/passwordless.rb +0 -14
- data/lib/workos/portal.rb +1 -13
- data/lib/workos/profile.rb +12 -39
- data/lib/workos/profile_and_token.rb +1 -4
- data/lib/workos/refresh_authentication_response.rb +2 -5
- data/lib/workos/sso.rb +1 -43
- data/lib/workos/types/intent.rb +16 -0
- data/lib/workos/types/list_struct.rb +8 -5
- data/lib/workos/types/passwordless_session_struct.rb +10 -9
- data/lib/workos/types/provider.rb +15 -0
- data/lib/workos/types.rb +5 -23
- data/lib/workos/user.rb +10 -31
- data/lib/workos/user_and_token.rb +1 -4
- data/lib/workos/user_management.rb +36 -244
- data/lib/workos/user_response.rb +0 -3
- data/lib/workos/verify_challenge.rb +4 -18
- data/lib/workos/version.rb +1 -2
- data/lib/workos/webhook.rb +5 -26
- data/lib/workos/webhooks.rb +1 -38
- data/lib/workos.rb +0 -2
- data/spec/lib/workos/audit_logs_spec.rb +2 -3
- data/spec/lib/workos/configuration_spec.rb +0 -1
- data/spec/lib/workos/directory_sync_spec.rb +0 -1
- data/spec/lib/workos/directory_user_spec.rb +0 -1
- data/spec/lib/workos/event_spec.rb +0 -1
- data/spec/lib/workos/mfa_spec.rb +0 -1
- data/spec/lib/workos/organizations_spec.rb +0 -1
- data/spec/lib/workos/passwordless_spec.rb +0 -1
- data/spec/lib/workos/portal_spec.rb +0 -1
- data/spec/lib/workos/sso_spec.rb +0 -1
- data/spec/lib/workos/user_management_spec.rb +29 -1
- data/spec/lib/workos/webhooks_spec.rb +0 -1
- data/spec/spec_helper.rb +0 -9
- data/spec/support/fixtures/vcr_cassettes/user_management/revoke_session/not_found.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/user_management/revoke_session/valid.yml +76 -0
- data/spec/support/shared_examples/client_spec.rb +0 -1
- data/workos.gemspec +1 -6
- metadata +15 -129
- data/.semaphore/rubygems.yml +0 -24
- data/.semaphore/semaphore.yml +0 -51
- data/bin/tapioca +0 -29
- data/codecov.yml +0 -12
- data/devbox.json +0 -18
- data/devbox.lock +0 -11
- data/lib/workos/types/audit_log_export_struct.rb +0 -17
- data/lib/workos/types/challenge_struct.rb +0 -18
- data/lib/workos/types/connection_struct.rb +0 -20
- data/lib/workos/types/directory_group_struct.rb +0 -19
- data/lib/workos/types/directory_struct.rb +0 -19
- data/lib/workos/types/directory_user_struct.rb +0 -26
- data/lib/workos/types/event_struct.rb +0 -15
- data/lib/workos/types/factor_struct.rb +0 -18
- data/lib/workos/types/intent_enum.rb +0 -17
- data/lib/workos/types/invitation_struct.rb +0 -20
- data/lib/workos/types/magic_auth_challenge_struct.rb +0 -12
- data/lib/workos/types/organization_membership_struct.rb +0 -16
- data/lib/workos/types/organization_struct.rb +0 -17
- data/lib/workos/types/profile_struct.rb +0 -21
- data/lib/workos/types/provider_enum.rb +0 -16
- data/lib/workos/types/user_struct.rb +0 -18
- data/lib/workos/types/verify_challenge_struct.rb +0 -13
- data/lib/workos/types/webhook_struct.rb +0 -15
- data/sorbet/config +0 -2
- data/sorbet/rbi/gems/addressable@2.8.0.rbi +0 -290
- data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
- data/sorbet/rbi/gems/codecov@0.2.12.rbi +0 -55
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
- data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -57
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
- data/sorbet/rbi/gems/docile@1.3.5.rbi +0 -54
- data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +0 -82
- data/sorbet/rbi/gems/json@2.5.1.rbi +0 -109
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
- data/sorbet/rbi/gems/parser@3.0.1.0.rbi +0 -1187
- data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -8
- data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +0 -146
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
- data/sorbet/rbi/gems/rake@13.0.3.rbi +0 -807
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +0 -2118
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1117
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -709
- data/sorbet/rbi/gems/rspec-core@3.9.3.rbi +0 -2467
- data/sorbet/rbi/gems/rspec-expectations@3.9.4.rbi +0 -1569
- data/sorbet/rbi/gems/rspec-mocks@3.9.1.rbi +0 -1493
- data/sorbet/rbi/gems/rspec-support@3.9.4.rbi +0 -511
- data/sorbet/rbi/gems/rspec@3.9.0.rbi +0 -38
- data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +0 -1881
- data/sorbet/rbi/gems/rubocop@0.93.1.rbi +0 -11497
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.2.rbi +0 -8
- data/sorbet/rbi/gems/spoom@1.1.15.rbi +0 -1549
- data/sorbet/rbi/gems/tapioca@0.7.3.rbi +0 -1718
- data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -844
- data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +0 -22
- data/sorbet/rbi/gems/unparser@0.6.2.rbi +0 -8
- data/sorbet/rbi/gems/vcr@5.0.0.rbi +0 -699
- data/sorbet/rbi/gems/webmock@3.12.2.rbi +0 -662
- data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +0 -268
- data/sorbet/rbi/gems/yard@0.9.26.rbi +0 -4048
- data/sorbet/tapioca/config.yml +0 -13
- data/sorbet/tapioca/require.rb +0 -4
@@ -1,18 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
# typed: strict
|
3
|
-
|
4
|
-
module WorkOS
|
5
|
-
module Types
|
6
|
-
# This UserStruct acts as a typed interface for the User class
|
7
|
-
class UserStruct < T::Struct
|
8
|
-
const :id, String
|
9
|
-
const :email, String
|
10
|
-
const :first_name, T.nilable(String)
|
11
|
-
const :last_name, T.nilable(String)
|
12
|
-
const :email_verified, T::Boolean
|
13
|
-
const :profile_picture_url, T.nilable(String)
|
14
|
-
const :created_at, String
|
15
|
-
const :updated_at, String
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
# typed: strict
|
3
|
-
|
4
|
-
module WorkOS
|
5
|
-
module Types
|
6
|
-
# This VerifyChallengeStruct acts as a typed interface
|
7
|
-
# for the VerifyChallenge class
|
8
|
-
class VerifyChallengeStruct < T::Struct
|
9
|
-
const :challenge, T.nilable(T::Hash[Symbol, Object])
|
10
|
-
const :valid, T::Boolean
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
# typed: strict
|
3
|
-
|
4
|
-
module WorkOS
|
5
|
-
module Types
|
6
|
-
# This WebhookStruct acts as a typed interface
|
7
|
-
# for the Webhook class
|
8
|
-
class WebhookStruct < T::Struct
|
9
|
-
const :id, String
|
10
|
-
const :event, String
|
11
|
-
const :data, T::Hash[Symbol, Object]
|
12
|
-
const :created_at, String
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
data/sorbet/config
DELETED
@@ -1,290 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `addressable` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem addressable`.
|
6
|
-
|
7
|
-
module Addressable; end
|
8
|
-
|
9
|
-
module Addressable::IDNA
|
10
|
-
class << self
|
11
|
-
def to_ascii(input); end
|
12
|
-
def to_unicode(input); end
|
13
|
-
def unicode_normalize_kc(input); end
|
14
|
-
|
15
|
-
private
|
16
|
-
|
17
|
-
def lookup_unicode_combining_class(codepoint); end
|
18
|
-
def lookup_unicode_compatibility(codepoint); end
|
19
|
-
def lookup_unicode_composition(unpacked); end
|
20
|
-
def lookup_unicode_lowercase(codepoint); end
|
21
|
-
def punycode_adapt(delta, numpoints, firsttime); end
|
22
|
-
def punycode_basic?(codepoint); end
|
23
|
-
def punycode_decode(punycode); end
|
24
|
-
def punycode_decode_digit(codepoint); end
|
25
|
-
def punycode_delimiter?(codepoint); end
|
26
|
-
def punycode_encode(unicode); end
|
27
|
-
def punycode_encode_digit(d); end
|
28
|
-
def ucs4_to_utf8(char, buffer); end
|
29
|
-
def unicode_compose(unpacked); end
|
30
|
-
def unicode_compose_pair(ch_one, ch_two); end
|
31
|
-
def unicode_decompose(unpacked); end
|
32
|
-
def unicode_decompose_hangul(codepoint); end
|
33
|
-
def unicode_downcase(input); end
|
34
|
-
def unicode_sort_canonical(unpacked); end
|
35
|
-
end
|
36
|
-
end
|
37
|
-
|
38
|
-
Addressable::IDNA::ACE_MAX_LENGTH = T.let(T.unsafe(nil), Integer)
|
39
|
-
Addressable::IDNA::ACE_PREFIX = T.let(T.unsafe(nil), String)
|
40
|
-
Addressable::IDNA::COMPOSITION_TABLE = T.let(T.unsafe(nil), Hash)
|
41
|
-
Addressable::IDNA::HANGUL_LBASE = T.let(T.unsafe(nil), Integer)
|
42
|
-
Addressable::IDNA::HANGUL_LCOUNT = T.let(T.unsafe(nil), Integer)
|
43
|
-
Addressable::IDNA::HANGUL_NCOUNT = T.let(T.unsafe(nil), Integer)
|
44
|
-
Addressable::IDNA::HANGUL_SBASE = T.let(T.unsafe(nil), Integer)
|
45
|
-
Addressable::IDNA::HANGUL_SCOUNT = T.let(T.unsafe(nil), Integer)
|
46
|
-
Addressable::IDNA::HANGUL_TBASE = T.let(T.unsafe(nil), Integer)
|
47
|
-
Addressable::IDNA::HANGUL_TCOUNT = T.let(T.unsafe(nil), Integer)
|
48
|
-
Addressable::IDNA::HANGUL_VBASE = T.let(T.unsafe(nil), Integer)
|
49
|
-
Addressable::IDNA::HANGUL_VCOUNT = T.let(T.unsafe(nil), Integer)
|
50
|
-
Addressable::IDNA::PUNYCODE_BASE = T.let(T.unsafe(nil), Integer)
|
51
|
-
Addressable::IDNA::PUNYCODE_DAMP = T.let(T.unsafe(nil), Integer)
|
52
|
-
Addressable::IDNA::PUNYCODE_DELIMITER = T.let(T.unsafe(nil), Integer)
|
53
|
-
Addressable::IDNA::PUNYCODE_INITIAL_BIAS = T.let(T.unsafe(nil), Integer)
|
54
|
-
Addressable::IDNA::PUNYCODE_INITIAL_N = T.let(T.unsafe(nil), Integer)
|
55
|
-
Addressable::IDNA::PUNYCODE_MAXINT = T.let(T.unsafe(nil), Integer)
|
56
|
-
Addressable::IDNA::PUNYCODE_PRINT_ASCII = T.let(T.unsafe(nil), String)
|
57
|
-
Addressable::IDNA::PUNYCODE_SKEW = T.let(T.unsafe(nil), Integer)
|
58
|
-
Addressable::IDNA::PUNYCODE_TMAX = T.let(T.unsafe(nil), Integer)
|
59
|
-
Addressable::IDNA::PUNYCODE_TMIN = T.let(T.unsafe(nil), Integer)
|
60
|
-
class Addressable::IDNA::PunycodeBadInput < ::StandardError; end
|
61
|
-
class Addressable::IDNA::PunycodeBigOutput < ::StandardError; end
|
62
|
-
class Addressable::IDNA::PunycodeOverflow < ::StandardError; end
|
63
|
-
Addressable::IDNA::UNICODE_DATA = T.let(T.unsafe(nil), Hash)
|
64
|
-
Addressable::IDNA::UNICODE_DATA_CANONICAL = T.let(T.unsafe(nil), Integer)
|
65
|
-
Addressable::IDNA::UNICODE_DATA_COMBINING_CLASS = T.let(T.unsafe(nil), Integer)
|
66
|
-
Addressable::IDNA::UNICODE_DATA_COMPATIBILITY = T.let(T.unsafe(nil), Integer)
|
67
|
-
Addressable::IDNA::UNICODE_DATA_EXCLUSION = T.let(T.unsafe(nil), Integer)
|
68
|
-
Addressable::IDNA::UNICODE_DATA_LOWERCASE = T.let(T.unsafe(nil), Integer)
|
69
|
-
Addressable::IDNA::UNICODE_DATA_TITLECASE = T.let(T.unsafe(nil), Integer)
|
70
|
-
Addressable::IDNA::UNICODE_DATA_UPPERCASE = T.let(T.unsafe(nil), Integer)
|
71
|
-
Addressable::IDNA::UNICODE_MAX_LENGTH = T.let(T.unsafe(nil), Integer)
|
72
|
-
Addressable::IDNA::UNICODE_TABLE = T.let(T.unsafe(nil), String)
|
73
|
-
Addressable::IDNA::UTF8_REGEX = T.let(T.unsafe(nil), Regexp)
|
74
|
-
Addressable::IDNA::UTF8_REGEX_MULTIBYTE = T.let(T.unsafe(nil), Regexp)
|
75
|
-
|
76
|
-
class Addressable::Template
|
77
|
-
def initialize(pattern); end
|
78
|
-
|
79
|
-
def ==(template); end
|
80
|
-
def eql?(template); end
|
81
|
-
def expand(mapping, processor = T.unsafe(nil), normalize_values = T.unsafe(nil)); end
|
82
|
-
def extract(uri, processor = T.unsafe(nil)); end
|
83
|
-
def freeze; end
|
84
|
-
def inspect; end
|
85
|
-
def keys; end
|
86
|
-
def match(uri, processor = T.unsafe(nil)); end
|
87
|
-
def named_captures; end
|
88
|
-
def names; end
|
89
|
-
def partial_expand(mapping, processor = T.unsafe(nil), normalize_values = T.unsafe(nil)); end
|
90
|
-
def pattern; end
|
91
|
-
def source; end
|
92
|
-
def to_regexp; end
|
93
|
-
def variable_defaults; end
|
94
|
-
def variables; end
|
95
|
-
|
96
|
-
private
|
97
|
-
|
98
|
-
def join_values(operator, return_value); end
|
99
|
-
def normalize_keys(mapping); end
|
100
|
-
def normalize_value(value); end
|
101
|
-
def ordered_variable_defaults; end
|
102
|
-
def parse_new_template_pattern(pattern, processor = T.unsafe(nil)); end
|
103
|
-
def parse_template_pattern(pattern, processor = T.unsafe(nil)); end
|
104
|
-
def transform_capture(mapping, capture, processor = T.unsafe(nil), normalize_values = T.unsafe(nil)); end
|
105
|
-
def transform_partial_capture(mapping, capture, processor = T.unsafe(nil), normalize_values = T.unsafe(nil)); end
|
106
|
-
end
|
107
|
-
|
108
|
-
Addressable::Template::EXPRESSION = T.let(T.unsafe(nil), Regexp)
|
109
|
-
class Addressable::Template::InvalidTemplateOperatorError < ::StandardError; end
|
110
|
-
class Addressable::Template::InvalidTemplateValueError < ::StandardError; end
|
111
|
-
Addressable::Template::JOINERS = T.let(T.unsafe(nil), Hash)
|
112
|
-
Addressable::Template::LEADERS = T.let(T.unsafe(nil), Hash)
|
113
|
-
|
114
|
-
class Addressable::Template::MatchData
|
115
|
-
def initialize(uri, template, mapping); end
|
116
|
-
|
117
|
-
def [](key, len = T.unsafe(nil)); end
|
118
|
-
def captures; end
|
119
|
-
def inspect; end
|
120
|
-
def keys; end
|
121
|
-
def mapping; end
|
122
|
-
def names; end
|
123
|
-
def post_match; end
|
124
|
-
def pre_match; end
|
125
|
-
def string; end
|
126
|
-
def template; end
|
127
|
-
def to_a; end
|
128
|
-
def to_s; end
|
129
|
-
def uri; end
|
130
|
-
def values; end
|
131
|
-
def values_at(*indexes); end
|
132
|
-
def variables; end
|
133
|
-
end
|
134
|
-
|
135
|
-
Addressable::Template::RESERVED = T.let(T.unsafe(nil), String)
|
136
|
-
class Addressable::Template::TemplateOperatorAbortedError < ::StandardError; end
|
137
|
-
Addressable::Template::UNRESERVED = T.let(T.unsafe(nil), String)
|
138
|
-
Addressable::Template::VARIABLE_LIST = T.let(T.unsafe(nil), Regexp)
|
139
|
-
Addressable::Template::VARNAME = T.let(T.unsafe(nil), Regexp)
|
140
|
-
Addressable::Template::VARSPEC = T.let(T.unsafe(nil), Regexp)
|
141
|
-
|
142
|
-
class Addressable::URI
|
143
|
-
def initialize(options = T.unsafe(nil)); end
|
144
|
-
|
145
|
-
def +(uri); end
|
146
|
-
def ==(uri); end
|
147
|
-
def ===(uri); end
|
148
|
-
def absolute?; end
|
149
|
-
def authority; end
|
150
|
-
def authority=(new_authority); end
|
151
|
-
def basename; end
|
152
|
-
def default_port; end
|
153
|
-
def defer_validation; end
|
154
|
-
def display_uri; end
|
155
|
-
def domain; end
|
156
|
-
def dup; end
|
157
|
-
def empty?; end
|
158
|
-
def eql?(uri); end
|
159
|
-
def extname; end
|
160
|
-
def fragment; end
|
161
|
-
def fragment=(new_fragment); end
|
162
|
-
def freeze; end
|
163
|
-
def hash; end
|
164
|
-
def host; end
|
165
|
-
def host=(new_host); end
|
166
|
-
def hostname; end
|
167
|
-
def hostname=(new_hostname); end
|
168
|
-
def inferred_port; end
|
169
|
-
def inspect; end
|
170
|
-
def ip_based?; end
|
171
|
-
def join(uri); end
|
172
|
-
def join!(uri); end
|
173
|
-
def merge(hash); end
|
174
|
-
def merge!(uri); end
|
175
|
-
def normalize; end
|
176
|
-
def normalize!; end
|
177
|
-
def normalized_authority; end
|
178
|
-
def normalized_fragment; end
|
179
|
-
def normalized_host; end
|
180
|
-
def normalized_password; end
|
181
|
-
def normalized_path; end
|
182
|
-
def normalized_port; end
|
183
|
-
def normalized_query(*flags); end
|
184
|
-
def normalized_scheme; end
|
185
|
-
def normalized_site; end
|
186
|
-
def normalized_user; end
|
187
|
-
def normalized_userinfo; end
|
188
|
-
def omit(*components); end
|
189
|
-
def omit!(*components); end
|
190
|
-
def origin; end
|
191
|
-
def origin=(new_origin); end
|
192
|
-
def password; end
|
193
|
-
def password=(new_password); end
|
194
|
-
def path; end
|
195
|
-
def path=(new_path); end
|
196
|
-
def port; end
|
197
|
-
def port=(new_port); end
|
198
|
-
def query; end
|
199
|
-
def query=(new_query); end
|
200
|
-
def query_values(return_type = T.unsafe(nil)); end
|
201
|
-
def query_values=(new_query_values); end
|
202
|
-
def relative?; end
|
203
|
-
def request_uri; end
|
204
|
-
def request_uri=(new_request_uri); end
|
205
|
-
def route_from(uri); end
|
206
|
-
def route_to(uri); end
|
207
|
-
def scheme; end
|
208
|
-
def scheme=(new_scheme); end
|
209
|
-
def site; end
|
210
|
-
def site=(new_site); end
|
211
|
-
def tld; end
|
212
|
-
def tld=(new_tld); end
|
213
|
-
def to_hash; end
|
214
|
-
def to_s; end
|
215
|
-
def to_str; end
|
216
|
-
def user; end
|
217
|
-
def user=(new_user); end
|
218
|
-
def userinfo; end
|
219
|
-
def userinfo=(new_userinfo); end
|
220
|
-
|
221
|
-
protected
|
222
|
-
|
223
|
-
def remove_composite_values; end
|
224
|
-
def replace_self(uri); end
|
225
|
-
def split_path(path); end
|
226
|
-
def validate; end
|
227
|
-
|
228
|
-
class << self
|
229
|
-
def convert_path(path); end
|
230
|
-
def encode(uri, return_type = T.unsafe(nil)); end
|
231
|
-
def encode_component(component, character_class = T.unsafe(nil), upcase_encoded = T.unsafe(nil)); end
|
232
|
-
def escape(uri, return_type = T.unsafe(nil)); end
|
233
|
-
def escape_component(component, character_class = T.unsafe(nil), upcase_encoded = T.unsafe(nil)); end
|
234
|
-
def form_encode(form_values, sort = T.unsafe(nil)); end
|
235
|
-
def form_unencode(encoded_value); end
|
236
|
-
def heuristic_parse(uri, hints = T.unsafe(nil)); end
|
237
|
-
def ip_based_schemes; end
|
238
|
-
def join(*uris); end
|
239
|
-
def normalize_component(component, character_class = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end
|
240
|
-
def normalize_path(path); end
|
241
|
-
def normalized_encode(uri, return_type = T.unsafe(nil)); end
|
242
|
-
def parse(uri); end
|
243
|
-
def port_mapping; end
|
244
|
-
def unencode(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end
|
245
|
-
def unencode_component(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end
|
246
|
-
def unescape(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end
|
247
|
-
def unescape_component(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end
|
248
|
-
end
|
249
|
-
end
|
250
|
-
|
251
|
-
module Addressable::URI::CharacterClasses; end
|
252
|
-
Addressable::URI::CharacterClasses::ALPHA = T.let(T.unsafe(nil), String)
|
253
|
-
Addressable::URI::CharacterClasses::AUTHORITY = T.let(T.unsafe(nil), String)
|
254
|
-
Addressable::URI::CharacterClasses::DIGIT = T.let(T.unsafe(nil), String)
|
255
|
-
Addressable::URI::CharacterClasses::FRAGMENT = T.let(T.unsafe(nil), String)
|
256
|
-
Addressable::URI::CharacterClasses::GEN_DELIMS = T.let(T.unsafe(nil), String)
|
257
|
-
Addressable::URI::CharacterClasses::HOST = T.let(T.unsafe(nil), String)
|
258
|
-
Addressable::URI::CharacterClasses::PATH = T.let(T.unsafe(nil), String)
|
259
|
-
Addressable::URI::CharacterClasses::PCHAR = T.let(T.unsafe(nil), String)
|
260
|
-
Addressable::URI::CharacterClasses::QUERY = T.let(T.unsafe(nil), String)
|
261
|
-
Addressable::URI::CharacterClasses::RESERVED = T.let(T.unsafe(nil), String)
|
262
|
-
Addressable::URI::CharacterClasses::SCHEME = T.let(T.unsafe(nil), String)
|
263
|
-
Addressable::URI::CharacterClasses::SUB_DELIMS = T.let(T.unsafe(nil), String)
|
264
|
-
Addressable::URI::CharacterClasses::UNRESERVED = T.let(T.unsafe(nil), String)
|
265
|
-
Addressable::URI::EMPTY_STR = T.let(T.unsafe(nil), String)
|
266
|
-
class Addressable::URI::InvalidURIError < ::StandardError; end
|
267
|
-
Addressable::URI::NORMPATH = T.let(T.unsafe(nil), Regexp)
|
268
|
-
module Addressable::URI::NormalizeCharacterClasses; end
|
269
|
-
Addressable::URI::NormalizeCharacterClasses::FRAGMENT = T.let(T.unsafe(nil), Regexp)
|
270
|
-
Addressable::URI::NormalizeCharacterClasses::HOST = T.let(T.unsafe(nil), Regexp)
|
271
|
-
Addressable::URI::NormalizeCharacterClasses::PCHAR = T.let(T.unsafe(nil), Regexp)
|
272
|
-
Addressable::URI::NormalizeCharacterClasses::QUERY = T.let(T.unsafe(nil), Regexp)
|
273
|
-
Addressable::URI::NormalizeCharacterClasses::SCHEME = T.let(T.unsafe(nil), Regexp)
|
274
|
-
Addressable::URI::NormalizeCharacterClasses::UNRESERVED = T.let(T.unsafe(nil), Regexp)
|
275
|
-
Addressable::URI::PARENT = T.let(T.unsafe(nil), String)
|
276
|
-
Addressable::URI::PORT_MAPPING = T.let(T.unsafe(nil), Hash)
|
277
|
-
Addressable::URI::RULE_2A = T.let(T.unsafe(nil), Regexp)
|
278
|
-
Addressable::URI::RULE_2B_2C = T.let(T.unsafe(nil), Regexp)
|
279
|
-
Addressable::URI::RULE_2D = T.let(T.unsafe(nil), Regexp)
|
280
|
-
Addressable::URI::RULE_PREFIXED_PARENT = T.let(T.unsafe(nil), Regexp)
|
281
|
-
Addressable::URI::SELF_REF = T.let(T.unsafe(nil), String)
|
282
|
-
Addressable::URI::SEQUENCE_ENCODING_TABLE = T.let(T.unsafe(nil), Hash)
|
283
|
-
Addressable::URI::SEQUENCE_UPCASED_PERCENT_ENCODING_TABLE = T.let(T.unsafe(nil), Hash)
|
284
|
-
Addressable::URI::SLASH = T.let(T.unsafe(nil), String)
|
285
|
-
Addressable::URI::URIREGEX = T.let(T.unsafe(nil), Regexp)
|
286
|
-
module Addressable::VERSION; end
|
287
|
-
Addressable::VERSION::MAJOR = T.let(T.unsafe(nil), Integer)
|
288
|
-
Addressable::VERSION::MINOR = T.let(T.unsafe(nil), Integer)
|
289
|
-
Addressable::VERSION::STRING = T.let(T.unsafe(nil), String)
|
290
|
-
Addressable::VERSION::TINY = T.let(T.unsafe(nil), Integer)
|
@@ -1,54 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `ast` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem ast`.
|
6
|
-
|
7
|
-
module AST; end
|
8
|
-
|
9
|
-
class AST::Node
|
10
|
-
def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
|
11
|
-
|
12
|
-
def +(array); end
|
13
|
-
def <<(element); end
|
14
|
-
def ==(other); end
|
15
|
-
def append(element); end
|
16
|
-
def children; end
|
17
|
-
def clone; end
|
18
|
-
def concat(array); end
|
19
|
-
def deconstruct; end
|
20
|
-
def dup; end
|
21
|
-
def eql?(other); end
|
22
|
-
def hash; end
|
23
|
-
def inspect(indent = T.unsafe(nil)); end
|
24
|
-
def to_a; end
|
25
|
-
def to_ast; end
|
26
|
-
def to_s(indent = T.unsafe(nil)); end
|
27
|
-
def to_sexp(indent = T.unsafe(nil)); end
|
28
|
-
def to_sexp_array; end
|
29
|
-
def type; end
|
30
|
-
def updated(type = T.unsafe(nil), children = T.unsafe(nil), properties = T.unsafe(nil)); end
|
31
|
-
|
32
|
-
protected
|
33
|
-
|
34
|
-
def assign_properties(properties); end
|
35
|
-
def fancy_type; end
|
36
|
-
|
37
|
-
private
|
38
|
-
|
39
|
-
def original_dup; end
|
40
|
-
end
|
41
|
-
|
42
|
-
class AST::Processor
|
43
|
-
include ::AST::Processor::Mixin
|
44
|
-
end
|
45
|
-
|
46
|
-
module AST::Processor::Mixin
|
47
|
-
def handler_missing(node); end
|
48
|
-
def process(node); end
|
49
|
-
def process_all(nodes); end
|
50
|
-
end
|
51
|
-
|
52
|
-
module AST::Sexp
|
53
|
-
def s(type, *children); end
|
54
|
-
end
|
@@ -1,55 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `codecov` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem codecov`.
|
6
|
-
|
7
|
-
class SimpleCov::Formatter::Codecov
|
8
|
-
def build_params(ci); end
|
9
|
-
def create_report(report); end
|
10
|
-
def detect_ci; end
|
11
|
-
def display_header; end
|
12
|
-
def format(result, disable_net_blockers = T.unsafe(nil)); end
|
13
|
-
def gzip_report(report); end
|
14
|
-
def handle_report_response(report); end
|
15
|
-
def retry_request(req, https); end
|
16
|
-
def upload_to_codecov(ci, report); end
|
17
|
-
def upload_to_v2(url, report, query, query_without_token); end
|
18
|
-
def upload_to_v4(url, report, query, query_without_token); end
|
19
|
-
|
20
|
-
private
|
21
|
-
|
22
|
-
def black(str); end
|
23
|
-
def file_network; end
|
24
|
-
def file_to_codecov(file); end
|
25
|
-
def green(str); end
|
26
|
-
def net_blockers(switch); end
|
27
|
-
def red(str); end
|
28
|
-
def result_to_codecov(result); end
|
29
|
-
def result_to_codecov_coverage(result); end
|
30
|
-
def result_to_codecov_messages(result); end
|
31
|
-
def result_to_codecov_report(result); end
|
32
|
-
def shortened_filename(file); end
|
33
|
-
end
|
34
|
-
|
35
|
-
SimpleCov::Formatter::Codecov::APPVEYOR = T.let(T.unsafe(nil), String)
|
36
|
-
SimpleCov::Formatter::Codecov::AZUREPIPELINES = T.let(T.unsafe(nil), String)
|
37
|
-
SimpleCov::Formatter::Codecov::BITBUCKET = T.let(T.unsafe(nil), String)
|
38
|
-
SimpleCov::Formatter::Codecov::BITRISE = T.let(T.unsafe(nil), String)
|
39
|
-
SimpleCov::Formatter::Codecov::BUILDKITE = T.let(T.unsafe(nil), String)
|
40
|
-
SimpleCov::Formatter::Codecov::CIRCLE = T.let(T.unsafe(nil), String)
|
41
|
-
SimpleCov::Formatter::Codecov::CODEBUILD = T.let(T.unsafe(nil), String)
|
42
|
-
SimpleCov::Formatter::Codecov::CODESHIP = T.let(T.unsafe(nil), String)
|
43
|
-
SimpleCov::Formatter::Codecov::DRONEIO = T.let(T.unsafe(nil), String)
|
44
|
-
SimpleCov::Formatter::Codecov::GITHUB = T.let(T.unsafe(nil), String)
|
45
|
-
SimpleCov::Formatter::Codecov::GITLAB = T.let(T.unsafe(nil), String)
|
46
|
-
SimpleCov::Formatter::Codecov::HEROKU = T.let(T.unsafe(nil), String)
|
47
|
-
SimpleCov::Formatter::Codecov::JENKINS = T.let(T.unsafe(nil), String)
|
48
|
-
SimpleCov::Formatter::Codecov::RECOGNIZED_CIS = T.let(T.unsafe(nil), Array)
|
49
|
-
SimpleCov::Formatter::Codecov::SEMAPHORE = T.let(T.unsafe(nil), String)
|
50
|
-
SimpleCov::Formatter::Codecov::SHIPPABLE = T.let(T.unsafe(nil), String)
|
51
|
-
SimpleCov::Formatter::Codecov::SOLANO = T.let(T.unsafe(nil), String)
|
52
|
-
SimpleCov::Formatter::Codecov::TEAMCITY = T.let(T.unsafe(nil), String)
|
53
|
-
SimpleCov::Formatter::Codecov::TRAVIS = T.let(T.unsafe(nil), String)
|
54
|
-
SimpleCov::Formatter::Codecov::VERSION = T.let(T.unsafe(nil), String)
|
55
|
-
SimpleCov::Formatter::Codecov::WERCKER = T.let(T.unsafe(nil), String)
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `coderay` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem coderay`.
|
6
|
-
|
7
|
-
# THIS IS AN EMPTY RBI FILE.
|
8
|
-
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -1,57 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `crack` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem crack`.
|
6
|
-
|
7
|
-
module Crack; end
|
8
|
-
|
9
|
-
class Crack::REXMLParser
|
10
|
-
class << self
|
11
|
-
def parse(xml); end
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
class Crack::XML
|
16
|
-
class << self
|
17
|
-
def parse(xml); end
|
18
|
-
def parser; end
|
19
|
-
def parser=(parser); end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
class REXMLUtilityNode
|
24
|
-
def initialize(name, normalized_attributes = T.unsafe(nil)); end
|
25
|
-
|
26
|
-
def add_node(node); end
|
27
|
-
def attributes; end
|
28
|
-
def attributes=(_arg0); end
|
29
|
-
def children; end
|
30
|
-
def children=(_arg0); end
|
31
|
-
def inner_html; end
|
32
|
-
def name; end
|
33
|
-
def name=(_arg0); end
|
34
|
-
def to_hash; end
|
35
|
-
def to_html; end
|
36
|
-
def to_s; end
|
37
|
-
def type; end
|
38
|
-
def type=(_arg0); end
|
39
|
-
def typecast_value(value); end
|
40
|
-
def undasherize_keys(params); end
|
41
|
-
|
42
|
-
private
|
43
|
-
|
44
|
-
def unnormalize_xml_entities(value); end
|
45
|
-
|
46
|
-
class << self
|
47
|
-
def available_typecasts; end
|
48
|
-
def available_typecasts=(obj); end
|
49
|
-
def typecasts; end
|
50
|
-
def typecasts=(obj); end
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
class REXMLUtiliyNodeString < ::String
|
55
|
-
def attributes; end
|
56
|
-
def attributes=(_arg0); end
|
57
|
-
end
|