workos 2.9.0 → 2.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/pull_request_template.md +11 -0
- data/Gemfile.lock +32 -3
- data/bin/tapioca +29 -0
- data/lib/workos/portal.rb +1 -1
- data/lib/workos/types/intent_enum.rb +3 -2
- data/lib/workos/version.rb +1 -1
- data/sorbet/rbi/gems/addressable@2.8.0.rbi +290 -0
- data/sorbet/rbi/gems/{ast.rbi → ast@2.4.2.rbi} +27 -22
- data/sorbet/rbi/gems/codecov@0.2.12.rbi +55 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
- data/sorbet/rbi/gems/crack@0.4.5.rbi +57 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +185 -0
- data/sorbet/rbi/gems/docile@1.3.5.rbi +54 -0
- data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +82 -0
- data/sorbet/rbi/gems/json@2.5.1.rbi +109 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +113 -0
- data/sorbet/rbi/gems/parser@3.0.1.0.rbi +1187 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +8 -0
- data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +146 -0
- data/sorbet/rbi/gems/{rainbow.rbi → rainbow@3.0.0.rbi} +90 -55
- data/sorbet/rbi/gems/{rake.rbi → rake@13.0.3.rbi} +587 -424
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +2118 -0
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1117 -0
- data/sorbet/rbi/gems/{rexml.rbi → rexml@3.2.5.rbi} +587 -506
- data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.9.3.rbi} +2321 -1752
- data/sorbet/rbi/gems/{rspec-expectations.rbi → rspec-expectations@3.9.4.rbi} +1119 -677
- data/sorbet/rbi/gems/{rspec-mocks.rbi → rspec-mocks@3.9.1.rbi} +1327 -933
- data/sorbet/rbi/gems/rspec-support@3.9.4.rbi +511 -0
- data/sorbet/rbi/gems/rspec@3.9.0.rbi +38 -0
- data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +1881 -0
- data/sorbet/rbi/gems/rubocop@0.93.1.rbi +11497 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.2.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.1.15.rbi +1549 -0
- data/sorbet/rbi/gems/tapioca@0.7.3.rbi +1718 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +844 -0
- data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +22 -0
- data/sorbet/rbi/gems/unparser@0.6.2.rbi +8 -0
- data/sorbet/rbi/gems/{vcr.rbi → vcr@5.0.0.rbi} +528 -401
- data/sorbet/rbi/gems/webmock@3.12.2.rbi +662 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +268 -0
- data/sorbet/rbi/gems/yard@0.9.26.rbi +4048 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- data/workos.gemspec +1 -1
- metadata +61 -50
- data/sorbet/rbi/gems/addressable.rbi +0 -199
- data/sorbet/rbi/gems/codecov.rbi +0 -37
- data/sorbet/rbi/gems/crack.rbi +0 -62
- data/sorbet/rbi/gems/docile.rbi +0 -36
- data/sorbet/rbi/gems/hashdiff.rbi +0 -66
- data/sorbet/rbi/gems/parallel.rbi +0 -83
- data/sorbet/rbi/gems/parser.rbi +0 -1429
- data/sorbet/rbi/gems/public_suffix.rbi +0 -104
- data/sorbet/rbi/gems/regexp_parser.rbi +0 -926
- data/sorbet/rbi/gems/rspec-support.rbi +0 -280
- data/sorbet/rbi/gems/rspec.rbi +0 -15
- data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1355
- data/sorbet/rbi/gems/rubocop.rbi +0 -7253
- data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -304
- data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
- data/sorbet/rbi/gems/simplecov.rbi +0 -406
- data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
- data/sorbet/rbi/gems/webmock.rbi +0 -556
- data/sorbet/rbi/gems/yard.rbi +0 -1165
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +0 -645
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +0 -1891
- data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
- data/sorbet/rbi/sorbet-typed/lib/yard/all/yard.rbi +0 -1214
- data/sorbet/rbi/todo.rbi +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e96d311d7254c5da86d5e32aabdc854da6b019c3c7cb68067ca33966548ffea9
|
4
|
+
data.tar.gz: db7e65bd0e13f8b7d41efd82b97e45c3049bf2850c34d5be82f1c37de2d88aa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9964de78c4d25700f4d073bf3f09d6d8896bbf55096bc9a49f83a64ff6cad3fe20fe8e4ba6fc364994e7d7b9921ad8e816c1dad07a9fdb49affded326dcd14f
|
7
|
+
data.tar.gz: 35410819d6fa7f182d0acc86f18025c5c9d934af564d899b8e5b1af9b0ef461ae6fa6c21e2fb740c1938645339ca01b78a39f973c6c754a81c308469c649d8bf
|
@@ -0,0 +1,11 @@
|
|
1
|
+
## Description
|
2
|
+
|
3
|
+
## Documentation
|
4
|
+
|
5
|
+
Does this require changes to the WorkOS Docs? E.g. the [API Reference](https://workos.com/docs/reference) or code snippets need updates.
|
6
|
+
|
7
|
+
```
|
8
|
+
[ ] Yes
|
9
|
+
```
|
10
|
+
|
11
|
+
If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
workos (2.
|
4
|
+
workos (2.11.0)
|
5
5
|
sorbet-runtime (~> 0.5)
|
6
6
|
|
7
7
|
GEM
|
@@ -13,18 +13,27 @@ GEM
|
|
13
13
|
codecov (0.2.12)
|
14
14
|
json
|
15
15
|
simplecov
|
16
|
+
coderay (1.1.3)
|
16
17
|
crack (0.4.5)
|
17
18
|
rexml
|
18
19
|
diff-lcs (1.4.4)
|
19
20
|
docile (1.3.5)
|
20
21
|
hashdiff (1.0.1)
|
21
22
|
json (2.5.1)
|
23
|
+
method_source (1.0.0)
|
22
24
|
parallel (1.20.1)
|
23
25
|
parser (3.0.1.0)
|
24
26
|
ast (~> 2.4.1)
|
27
|
+
pry (0.14.2)
|
28
|
+
coderay (~> 1.1)
|
29
|
+
method_source (~> 1.0)
|
25
30
|
public_suffix (4.0.6)
|
26
31
|
rainbow (3.0.0)
|
27
|
-
|
32
|
+
rbi (0.0.16)
|
33
|
+
ast
|
34
|
+
parser (>= 2.6.4.0)
|
35
|
+
sorbet-runtime (>= 0.5.9204)
|
36
|
+
unparser
|
28
37
|
regexp_parser (2.1.1)
|
29
38
|
rexml (3.2.5)
|
30
39
|
rspec (3.9.0)
|
@@ -71,13 +80,33 @@ GEM
|
|
71
80
|
sorbet-static (0.5.10346-universal-darwin-21)
|
72
81
|
sorbet-static (0.5.10346-universal-darwin-22)
|
73
82
|
sorbet-static (0.5.10346-x86_64-linux)
|
83
|
+
spoom (1.1.15)
|
84
|
+
sorbet (>= 0.5.10187)
|
85
|
+
sorbet-runtime (>= 0.5.9204)
|
86
|
+
thor (>= 0.19.2)
|
87
|
+
tapioca (0.7.3)
|
88
|
+
bundler (>= 1.17.3)
|
89
|
+
pry (>= 0.12.2)
|
90
|
+
rbi (~> 0.0.0, >= 0.0.14)
|
91
|
+
sorbet-runtime (>= 0.5.9204)
|
92
|
+
sorbet-static (>= 0.5.9204)
|
93
|
+
spoom (~> 1.1.0, >= 1.1.11)
|
94
|
+
thor (>= 1.2.0)
|
95
|
+
yard-sorbet
|
96
|
+
thor (1.2.1)
|
74
97
|
unicode-display_width (1.7.0)
|
98
|
+
unparser (0.6.2)
|
99
|
+
diff-lcs (~> 1.3)
|
100
|
+
parser (>= 3.0.0)
|
75
101
|
vcr (5.0.0)
|
76
102
|
webmock (3.12.2)
|
77
103
|
addressable (>= 2.3.6)
|
78
104
|
crack (>= 0.3.2)
|
79
105
|
hashdiff (>= 0.4.0, < 2.0.0)
|
80
106
|
yard (0.9.26)
|
107
|
+
yard-sorbet (0.8.0)
|
108
|
+
sorbet-runtime (>= 0.5)
|
109
|
+
yard (>= 0.9)
|
81
110
|
|
82
111
|
PLATFORMS
|
83
112
|
ruby
|
@@ -85,10 +114,10 @@ PLATFORMS
|
|
85
114
|
DEPENDENCIES
|
86
115
|
bundler (>= 2.0.1)
|
87
116
|
codecov (~> 0.2.8)
|
88
|
-
rake
|
89
117
|
rspec (~> 3.9.0)
|
90
118
|
rubocop (~> 0.77)
|
91
119
|
sorbet (~> 0.5)
|
120
|
+
tapioca
|
92
121
|
vcr (~> 5.0.0)
|
93
122
|
webmock
|
94
123
|
workos!
|
data/bin/tapioca
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'tapioca' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
require 'pathname'
|
12
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
|
13
|
+
Pathname.new(__FILE__).realpath,)
|
14
|
+
|
15
|
+
bundle_binstub = File.expand_path('bundle', __dir__)
|
16
|
+
|
17
|
+
if File.file?(bundle_binstub)
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
19
|
+
load(bundle_binstub)
|
20
|
+
else
|
21
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
22
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
require 'rubygems'
|
27
|
+
require 'bundler/setup'
|
28
|
+
|
29
|
+
load Gem.bin_path('tapioca', 'tapioca')
|
data/lib/workos/portal.rb
CHANGED
@@ -17,7 +17,7 @@ module WorkOS
|
|
17
17
|
# Generate a link to grant access to an organization's Admin Portal
|
18
18
|
#
|
19
19
|
# @param [String] intent The access scope for the generated Admin Portal
|
20
|
-
# link. Valid values are: ["
|
20
|
+
# link. Valid values are: ["audit_logs", "dsync", "log_streams", "sso",]
|
21
21
|
# @param [String] organization The ID of the organization the Admin
|
22
22
|
# Portal link will be generated for.
|
23
23
|
# @param [String] The URL that the end user will be redirected to upon
|
@@ -7,9 +7,10 @@ module WorkOS
|
|
7
7
|
# intents while generating an Admin Portal link.
|
8
8
|
class Intent < T::Enum
|
9
9
|
enums do
|
10
|
-
SSO = new('sso')
|
11
|
-
DSYNC = new('dsync')
|
12
10
|
AUDIT_LOGS = new('audit_logs')
|
11
|
+
DSYNC = new('dsync')
|
12
|
+
LOG_STREAMS = new('log_streams')
|
13
|
+
SSO = new('sso')
|
13
14
|
end
|
14
15
|
end
|
15
16
|
end
|
data/lib/workos/version.rb
CHANGED
@@ -0,0 +1,290 @@
|
|
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,49 +1,54 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
#
|
5
|
-
#
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
#
|
10
|
-
# ast-2.4.2
|
11
|
-
|
12
|
-
module AST
|
13
|
-
end
|
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
|
+
|
14
9
|
class AST::Node
|
10
|
+
def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
|
11
|
+
|
15
12
|
def +(array); end
|
16
13
|
def <<(element); end
|
17
14
|
def ==(other); end
|
18
15
|
def append(element); end
|
19
|
-
def assign_properties(properties); end
|
20
16
|
def children; end
|
21
17
|
def clone; end
|
22
18
|
def concat(array); end
|
23
19
|
def deconstruct; end
|
24
20
|
def dup; end
|
25
21
|
def eql?(other); end
|
26
|
-
def fancy_type; end
|
27
22
|
def hash; end
|
28
|
-
def
|
29
|
-
def inspect(indent = nil); end
|
30
|
-
def original_dup; end
|
23
|
+
def inspect(indent = T.unsafe(nil)); end
|
31
24
|
def to_a; end
|
32
25
|
def to_ast; end
|
33
|
-
def to_s(indent = nil); end
|
34
|
-
def to_sexp(indent = nil); end
|
26
|
+
def to_s(indent = T.unsafe(nil)); end
|
27
|
+
def to_sexp(indent = T.unsafe(nil)); end
|
35
28
|
def to_sexp_array; end
|
36
29
|
def type; end
|
37
|
-
def updated(type = nil, children = nil, properties = nil); 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
|
38
40
|
end
|
41
|
+
|
39
42
|
class AST::Processor
|
40
|
-
include AST::Processor::Mixin
|
43
|
+
include ::AST::Processor::Mixin
|
41
44
|
end
|
45
|
+
|
42
46
|
module AST::Processor::Mixin
|
43
47
|
def handler_missing(node); end
|
44
48
|
def process(node); end
|
45
49
|
def process_all(nodes); end
|
46
50
|
end
|
51
|
+
|
47
52
|
module AST::Sexp
|
48
53
|
def s(type, *children); end
|
49
54
|
end
|
@@ -0,0 +1,55 @@
|
|
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)
|
@@ -0,0 +1,8 @@
|
|
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
|
@@ -0,0 +1,57 @@
|
|
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
|