packwerk 2.2.0 → 2.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 +29 -20
- data/.github/workflows/cla.yml +22 -0
- data/.rubocop.yml +48 -19
- data/Gemfile +7 -2
- data/Gemfile.lock +201 -175
- data/README.md +1 -1
- data/RESOLVING_VIOLATIONS.md +81 -0
- data/Rakefile +1 -1
- data/USAGE.md +14 -5
- data/bin/m +1 -1
- data/bin/rake +1 -1
- data/bin/rubocop +1 -1
- data/bin/srb +1 -1
- data/bin/tapioca +1 -1
- data/gemfiles/Gemfile-rails-6-0 +1 -1
- data/gemfiles/Gemfile-rails-6-1 +22 -0
- data/lib/packwerk/application_validator.rb +7 -6
- data/lib/packwerk/association_inspector.rb +17 -15
- data/lib/packwerk/cache.rb +36 -29
- data/lib/packwerk/cli.rb +5 -6
- data/lib/packwerk/const_node_inspector.rb +8 -7
- data/lib/packwerk/constant_name_inspector.rb +2 -2
- data/lib/packwerk/deprecated_references.rb +34 -19
- data/lib/packwerk/file_processor.rb +14 -14
- data/lib/packwerk/files_for_processing.rb +27 -31
- data/lib/packwerk/formatters/offenses_formatter.rb +3 -3
- data/lib/packwerk/formatters/progress_formatter.rb +2 -2
- data/lib/packwerk/node.rb +1 -294
- data/lib/packwerk/node_helpers.rb +335 -0
- data/lib/packwerk/node_processor.rb +6 -5
- data/lib/packwerk/node_processor_factory.rb +3 -3
- data/lib/packwerk/node_visitor.rb +1 -1
- data/lib/packwerk/offense_collection.rb +6 -3
- data/lib/packwerk/offenses_formatter.rb +2 -2
- data/lib/packwerk/package.rb +3 -0
- data/lib/packwerk/package_set.rb +2 -0
- data/lib/packwerk/parse_run.rb +15 -13
- data/lib/packwerk/parsed_constant_definitions.rb +23 -20
- data/lib/packwerk/parsers/erb.rb +3 -3
- data/lib/packwerk/reference_checking/checkers/checker.rb +16 -3
- data/lib/packwerk/reference_checking/checkers/dependency_checker.rb +16 -0
- data/lib/packwerk/reference_checking/checkers/privacy_checker.rb +18 -0
- data/lib/packwerk/reference_checking/reference_checker.rb +3 -1
- data/lib/packwerk/reference_extractor.rb +51 -48
- data/lib/packwerk/reference_offense.rb +3 -27
- data/lib/packwerk/run_context.rb +3 -3
- data/lib/packwerk/spring_command.rb +1 -1
- data/lib/packwerk/version.rb +1 -1
- data/lib/packwerk.rb +1 -0
- data/packwerk.gemspec +4 -12
- data/sorbet/rbi/gems/actioncable@7.0.3.1.rbi +2754 -0
- data/sorbet/rbi/gems/actionmailbox@7.0.3.1.rbi +1496 -0
- data/sorbet/rbi/gems/actionmailer@7.0.3.1.rbi +2362 -0
- data/sorbet/rbi/gems/actionpack@7.0.3.1.rbi +19397 -0
- data/sorbet/rbi/gems/actiontext@7.0.3.1.rbi +1569 -0
- data/sorbet/rbi/gems/actionview@7.0.3.1.rbi +14907 -0
- data/sorbet/rbi/gems/activejob@7.0.3.1.rbi +2553 -0
- data/sorbet/rbi/gems/activemodel@7.0.3.1.rbi +5999 -0
- data/sorbet/rbi/gems/activerecord@7.0.3.1.rbi +37832 -0
- data/sorbet/rbi/gems/activestorage@7.0.3.1.rbi +2321 -0
- data/sorbet/rbi/gems/activesupport@7.0.3.1.rbi +18818 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +11722 -0
- data/sorbet/rbi/gems/constant_resolver@0.2.0.rbi +90 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1079 -0
- data/sorbet/rbi/gems/digest@3.1.0.rbi +189 -0
- data/sorbet/rbi/gems/erubi@1.11.0.rbi +140 -0
- data/sorbet/rbi/gems/globalid@1.0.0.rbi +572 -0
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
- data/sorbet/rbi/gems/json@2.6.2.rbi +1548 -0
- data/sorbet/rbi/gems/language_server-protocol@3.16.0.3.rbi +8 -0
- data/sorbet/rbi/gems/loofah@2.18.0.rbi +877 -0
- data/sorbet/rbi/gems/m@1.6.0.rbi +257 -0
- data/sorbet/rbi/gems/marcel@1.0.2.rbi +220 -0
- data/sorbet/rbi/gems/mini_mime@1.1.2.rbi +170 -0
- data/sorbet/rbi/gems/mini_portile2@2.8.0.rbi +8 -0
- data/sorbet/rbi/gems/minitest-focus@1.3.1.rbi +104 -0
- data/sorbet/rbi/gems/minitest@5.16.2.rbi +2136 -0
- data/sorbet/rbi/gems/mocha@1.14.0.rbi +4177 -0
- data/sorbet/rbi/gems/net-imap@0.2.3.rbi +2147 -0
- data/sorbet/rbi/gems/net-pop@0.1.1.rbi +926 -0
- data/sorbet/rbi/gems/net-protocol@0.1.3.rbi +11 -0
- data/sorbet/rbi/gems/net-smtp@0.3.1.rbi +1108 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +153 -0
- data/sorbet/rbi/gems/nio4r@2.5.8.rbi +292 -0
- data/sorbet/rbi/gems/nokogiri@1.13.8.rbi +6478 -0
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
- data/sorbet/rbi/gems/parser@3.1.2.1.rbi +9029 -0
- data/sorbet/rbi/gems/prettier_print@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
- data/sorbet/rbi/gems/racc@1.6.0.rbi +152 -0
- data/sorbet/rbi/gems/rack-test@2.0.2.rbi +953 -0
- data/sorbet/rbi/gems/rack@2.2.4.rbi +5636 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +688 -0
- data/sorbet/rbi/gems/rails@7.0.3.1.rbi +8 -0
- data/sorbet/rbi/gems/railties@7.0.3.1.rbi +3507 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +392 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +2924 -0
- data/sorbet/rbi/gems/rbi@0.0.15.rbi +3007 -0
- data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +3383 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +4714 -0
- data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +6961 -0
- data/sorbet/rbi/gems/rubocop-performance@1.14.3.rbi +2986 -0
- data/sorbet/rbi/gems/{rubocop-shopify@2.0.1.rbi → rubocop-shopify@2.9.0.rbi} +4 -4
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +992 -0
- data/sorbet/rbi/gems/rubocop@1.34.1.rbi +51820 -0
- data/sorbet/rbi/gems/ruby-lsp@0.2.1.rbi +11 -0
- data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +474 -0
- data/sorbet/rbi/gems/spoom@1.1.11.rbi +2181 -0
- data/sorbet/rbi/gems/spring@4.0.0.rbi +411 -0
- data/sorbet/rbi/gems/strscan@3.0.4.rbi +8 -0
- data/sorbet/rbi/gems/syntax_tree@3.3.0.rbi +8 -0
- data/sorbet/rbi/gems/tapioca@0.9.2.rbi +3181 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
- data/sorbet/rbi/gems/timeout@0.3.0.rbi +142 -0
- data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +5896 -0
- data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +48 -0
- data/sorbet/rbi/gems/unparser@0.6.5.rbi +4529 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +2582 -0
- data/sorbet/rbi/gems/websocket-driver@0.7.5.rbi +993 -0
- data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +388 -0
- data/sorbet/rbi/gems/yard@0.9.28.rbi +18242 -0
- data/sorbet/rbi/gems/zeitwerk@2.6.0.rbi +867 -0
- data/sorbet/rbi/shims/psych.rbi +5 -0
- data/sorbet/tapioca/require.rb +2 -3
- metadata +88 -157
- data/.github/probots.yml +0 -2
- data/library.yml +0 -6
- data/service.yml +0 -1
- data/sorbet/rbi/gems/actioncable@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -860
- data/sorbet/rbi/gems/actionmailbox@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -568
- data/sorbet/rbi/gems/actionmailer@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -587
- data/sorbet/rbi/gems/actionpack@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -5314
- data/sorbet/rbi/gems/actiontext@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -699
- data/sorbet/rbi/gems/actionview@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -2515
- data/sorbet/rbi/gems/activejob@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -624
- data/sorbet/rbi/gems/activemodel@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -1248
- data/sorbet/rbi/gems/activerecord@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -8363
- data/sorbet/rbi/gems/activestorage@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -876
- data/sorbet/rbi/gems/activesupport@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -3987
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -40
- data/sorbet/rbi/gems/commander@4.5.2.rbi +0 -8
- data/sorbet/rbi/gems/concurrent-ruby@1.1.8.rbi +0 -1969
- data/sorbet/rbi/gems/constant_resolver@0.1.5.rbi +0 -26
- data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -41
- data/sorbet/rbi/gems/globalid@0.4.2.rbi +0 -178
- data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -600
- data/sorbet/rbi/gems/loofah@2.9.0.rbi +0 -274
- data/sorbet/rbi/gems/m@1.5.1.rbi +0 -108
- data/sorbet/rbi/gems/marcel@1.0.0.rbi +0 -70
- data/sorbet/rbi/gems/mini_mime@1.0.3.rbi +0 -71
- data/sorbet/rbi/gems/minitest-focus@1.2.1.rbi +0 -8
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -544
- data/sorbet/rbi/gems/mocha@1.12.0.rbi +0 -953
- data/sorbet/rbi/gems/nio4r@2.5.7.rbi +0 -90
- data/sorbet/rbi/gems/nokogiri@1.11.2.rbi +0 -1647
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -117
- data/sorbet/rbi/gems/parlour@6.0.0.rbi +0 -1272
- data/sorbet/rbi/gems/parser@3.0.0.0.rbi +0 -1745
- data/sorbet/rbi/gems/pry@0.14.0.rbi +0 -8
- data/sorbet/rbi/gems/psych@3.3.2.rbi +0 -24
- data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -57
- data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -335
- data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1718
- data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -213
- data/sorbet/rbi/gems/rails@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -8
- data/sorbet/rbi/gems/railties@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -880
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -155
- data/sorbet/rbi/gems/rake@13.0.3.rbi +0 -837
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -8
- data/sorbet/rbi/gems/rexml@3.2.4.rbi +0 -8
- data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +0 -8
- data/sorbet/rbi/gems/rubocop-performance@1.10.2.rbi +0 -8
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.1.rbi +0 -8
- data/sorbet/rbi/gems/rubocop@1.12.0.rbi +0 -8
- data/sorbet/rbi/gems/smart_properties@1.15.0.rbi +0 -168
- data/sorbet/rbi/gems/spoom@1.1.0.rbi +0 -1061
- data/sorbet/rbi/gems/spring@2.1.1.rbi +0 -160
- data/sorbet/rbi/gems/sprockets-rails@3.2.2.rbi +0 -451
- data/sorbet/rbi/gems/sprockets@4.0.2.rbi +0 -1133
- data/sorbet/rbi/gems/tapioca@0.4.19.rbi +0 -603
- data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -893
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -566
- data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -8
- data/sorbet/rbi/gems/websocket-driver@0.7.3.rbi +0 -438
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -177
@@ -1,26 +0,0 @@
|
|
1
|
-
# DO NOT EDIT MANUALLY
|
2
|
-
# This is an autogenerated file for types exported from the `constant_resolver` gem.
|
3
|
-
# Please instead update this file by running `dev typecheck update`.
|
4
|
-
|
5
|
-
# typed: true
|
6
|
-
|
7
|
-
class ConstantResolver
|
8
|
-
def initialize(root_path:, load_paths:, inflector: T.unsafe(nil)); end
|
9
|
-
|
10
|
-
def config; end
|
11
|
-
def file_map; end
|
12
|
-
def resolve(const_name, current_namespace_path: T.unsafe(nil)); end
|
13
|
-
|
14
|
-
private
|
15
|
-
|
16
|
-
def resolve_constant(const_name, current_namespace_path, original_name: T.unsafe(nil)); end
|
17
|
-
def resolve_traversing_namespace_path(const_name, current_namespace_path); end
|
18
|
-
end
|
19
|
-
|
20
|
-
class ConstantResolver::ConstantContext < ::Struct
|
21
|
-
end
|
22
|
-
|
23
|
-
class ConstantResolver::Error < ::StandardError
|
24
|
-
end
|
25
|
-
|
26
|
-
ConstantResolver::VERSION = T.let(T.unsafe(nil), String)
|
@@ -1,41 +0,0 @@
|
|
1
|
-
# DO NOT EDIT MANUALLY
|
2
|
-
# This is an autogenerated file for types exported from the `erubi` gem.
|
3
|
-
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
-
|
5
|
-
# typed: true
|
6
|
-
|
7
|
-
module Erubi
|
8
|
-
class << self
|
9
|
-
def h(value); end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
|
-
class Erubi::Engine
|
14
|
-
def initialize(input, properties = T.unsafe(nil)); end
|
15
|
-
|
16
|
-
def bufvar; end
|
17
|
-
def filename; end
|
18
|
-
def src; end
|
19
|
-
|
20
|
-
private
|
21
|
-
|
22
|
-
def add_code(code); end
|
23
|
-
def add_expression(indicator, code); end
|
24
|
-
def add_expression_result(code); end
|
25
|
-
def add_expression_result_escaped(code); end
|
26
|
-
def add_postamble(postamble); end
|
27
|
-
def add_text(text); end
|
28
|
-
def handle(indicator, code, tailch, rspace, lspace); end
|
29
|
-
end
|
30
|
-
|
31
|
-
Erubi::MATCH_METHOD = T.let(T.unsafe(nil), Symbol)
|
32
|
-
|
33
|
-
Erubi::RANGE_ALL = T.let(T.unsafe(nil), Range)
|
34
|
-
|
35
|
-
Erubi::RANGE_FIRST = T.let(T.unsafe(nil), Integer)
|
36
|
-
|
37
|
-
Erubi::RANGE_LAST = T.let(T.unsafe(nil), Integer)
|
38
|
-
|
39
|
-
Erubi::TEXT_END = T.let(T.unsafe(nil), String)
|
40
|
-
|
41
|
-
Erubi::VERSION = T.let(T.unsafe(nil), String)
|
@@ -1,178 +0,0 @@
|
|
1
|
-
# DO NOT EDIT MANUALLY
|
2
|
-
# This is an autogenerated file for types exported from the `globalid` gem.
|
3
|
-
# Please instead update this file by running `dev typecheck update`.
|
4
|
-
|
5
|
-
# typed: true
|
6
|
-
|
7
|
-
class GlobalID
|
8
|
-
extend(::ActiveSupport::Autoload)
|
9
|
-
|
10
|
-
def initialize(gid, options = T.unsafe(nil)); end
|
11
|
-
|
12
|
-
def ==(other); end
|
13
|
-
def app(*args, &block); end
|
14
|
-
def eql?(other); end
|
15
|
-
def find(options = T.unsafe(nil)); end
|
16
|
-
def hash; end
|
17
|
-
def model_class; end
|
18
|
-
def model_id(*args, &block); end
|
19
|
-
def model_name(*args, &block); end
|
20
|
-
def params(*args, &block); end
|
21
|
-
def to_param; end
|
22
|
-
def to_s(*args, &block); end
|
23
|
-
def uri; end
|
24
|
-
|
25
|
-
class << self
|
26
|
-
def app; end
|
27
|
-
def app=(app); end
|
28
|
-
def create(model, options = T.unsafe(nil)); end
|
29
|
-
def eager_load!; end
|
30
|
-
def find(gid, options = T.unsafe(nil)); end
|
31
|
-
def parse(gid, options = T.unsafe(nil)); end
|
32
|
-
|
33
|
-
private
|
34
|
-
|
35
|
-
def parse_encoded_gid(gid, options); end
|
36
|
-
def repad_gid(gid); end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
module GlobalID::Identification
|
41
|
-
extend(::ActiveSupport::Concern)
|
42
|
-
|
43
|
-
def to_gid(options = T.unsafe(nil)); end
|
44
|
-
def to_gid_param(options = T.unsafe(nil)); end
|
45
|
-
def to_global_id(options = T.unsafe(nil)); end
|
46
|
-
def to_sgid(options = T.unsafe(nil)); end
|
47
|
-
def to_sgid_param(options = T.unsafe(nil)); end
|
48
|
-
def to_signed_global_id(options = T.unsafe(nil)); end
|
49
|
-
end
|
50
|
-
|
51
|
-
module GlobalID::Locator
|
52
|
-
class << self
|
53
|
-
def locate(gid, options = T.unsafe(nil)); end
|
54
|
-
def locate_many(gids, options = T.unsafe(nil)); end
|
55
|
-
def locate_many_signed(sgids, options = T.unsafe(nil)); end
|
56
|
-
def locate_signed(sgid, options = T.unsafe(nil)); end
|
57
|
-
def use(app, locator = T.unsafe(nil), &locator_block); end
|
58
|
-
|
59
|
-
private
|
60
|
-
|
61
|
-
def find_allowed?(model_class, only = T.unsafe(nil)); end
|
62
|
-
def locator_for(gid); end
|
63
|
-
def normalize_app(app); end
|
64
|
-
def parse_allowed(gids, only = T.unsafe(nil)); end
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
class GlobalID::Locator::BaseLocator
|
69
|
-
def locate(gid); end
|
70
|
-
def locate_many(gids, options = T.unsafe(nil)); end
|
71
|
-
|
72
|
-
private
|
73
|
-
|
74
|
-
def find_records(model_class, ids, options); end
|
75
|
-
end
|
76
|
-
|
77
|
-
class GlobalID::Locator::BlockLocator
|
78
|
-
def initialize(block); end
|
79
|
-
|
80
|
-
def locate(gid); end
|
81
|
-
def locate_many(gids, options = T.unsafe(nil)); end
|
82
|
-
end
|
83
|
-
|
84
|
-
GlobalID::Locator::DEFAULT_LOCATOR = T.let(T.unsafe(nil), GlobalID::Locator::UnscopedLocator)
|
85
|
-
|
86
|
-
class GlobalID::Locator::UnscopedLocator < ::GlobalID::Locator::BaseLocator
|
87
|
-
def locate(gid); end
|
88
|
-
|
89
|
-
private
|
90
|
-
|
91
|
-
def find_records(model_class, ids, options); end
|
92
|
-
def unscoped(model_class); end
|
93
|
-
end
|
94
|
-
|
95
|
-
class GlobalID::Railtie < ::Rails::Railtie
|
96
|
-
end
|
97
|
-
|
98
|
-
class GlobalID::Verifier < ::ActiveSupport::MessageVerifier
|
99
|
-
|
100
|
-
private
|
101
|
-
|
102
|
-
def decode(data); end
|
103
|
-
def encode(data); end
|
104
|
-
end
|
105
|
-
|
106
|
-
class SignedGlobalID < ::GlobalID
|
107
|
-
def initialize(gid, options = T.unsafe(nil)); end
|
108
|
-
|
109
|
-
def ==(other); end
|
110
|
-
def expires_at; end
|
111
|
-
def purpose; end
|
112
|
-
def to_h; end
|
113
|
-
def to_param; end
|
114
|
-
def to_s; end
|
115
|
-
def verifier; end
|
116
|
-
|
117
|
-
private
|
118
|
-
|
119
|
-
def encoded_expiration; end
|
120
|
-
def pick_expiration(options); end
|
121
|
-
|
122
|
-
class << self
|
123
|
-
def expires_in; end
|
124
|
-
def expires_in=(_); end
|
125
|
-
def parse(sgid, options = T.unsafe(nil)); end
|
126
|
-
def pick_purpose(options); end
|
127
|
-
def pick_verifier(options); end
|
128
|
-
def verifier; end
|
129
|
-
def verifier=(_); end
|
130
|
-
|
131
|
-
private
|
132
|
-
|
133
|
-
def raise_if_expired(expires_at); end
|
134
|
-
def verify(sgid, options); end
|
135
|
-
end
|
136
|
-
end
|
137
|
-
|
138
|
-
class SignedGlobalID::ExpiredMessage < ::StandardError
|
139
|
-
end
|
140
|
-
|
141
|
-
class URI::GID < ::URI::Generic
|
142
|
-
def app; end
|
143
|
-
def model_id; end
|
144
|
-
def model_name; end
|
145
|
-
def params; end
|
146
|
-
def to_s; end
|
147
|
-
|
148
|
-
protected
|
149
|
-
|
150
|
-
def query=(query); end
|
151
|
-
def set_params(params); end
|
152
|
-
def set_path(path); end
|
153
|
-
def set_query(query); end
|
154
|
-
|
155
|
-
private
|
156
|
-
|
157
|
-
def check_host(host); end
|
158
|
-
def check_path(path); end
|
159
|
-
def check_scheme(scheme); end
|
160
|
-
def parse_query_params(query); end
|
161
|
-
def set_model_components(path, validate = T.unsafe(nil)); end
|
162
|
-
def validate_component(component); end
|
163
|
-
def validate_model_id(model_id, model_name); end
|
164
|
-
|
165
|
-
class << self
|
166
|
-
def build(args); end
|
167
|
-
def create(app, model, params = T.unsafe(nil)); end
|
168
|
-
def parse(uri); end
|
169
|
-
def validate_app(app); end
|
170
|
-
end
|
171
|
-
end
|
172
|
-
|
173
|
-
URI::GID::COMPONENT = T.let(T.unsafe(nil), Array)
|
174
|
-
|
175
|
-
class URI::GID::MissingModelIdError < ::URI::InvalidComponentError
|
176
|
-
end
|
177
|
-
|
178
|
-
URI::GID::PATH_REGEXP = T.let(T.unsafe(nil), Regexp)
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# DO NOT EDIT MANUALLY
|
2
|
-
# This is an autogenerated file for types exported from the `highline` gem.
|
3
|
-
# Please instead update this file by running `dev typecheck update`.
|
4
|
-
|
5
|
-
# typed: true
|
6
|
-
|
7
|
-
# THIS IS AN EMPTY RBI FILE.
|
8
|
-
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
|