visualize_packwerk 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +2 -33
- data/sorbet/config +0 -3
- data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -522
- data/sorbet/rbi/gems/code_ownership@1.31.0.rbi +0 -617
- data/sorbet/rbi/gems/code_teams@1.0.0.rbi +0 -138
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -866
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -150
- data/sorbet/rbi/gems/packs@0.0.6.rbi +0 -115
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -163
- data/sorbet/rbi/gems/parse_packwerk@0.14.0.rbi +0 -218
- data/sorbet/rbi/gems/parser@3.1.2.1.rbi +0 -5028
- data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
- data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -1854
- data/sorbet/rbi/gems/rbi@0.0.15.rbi +0 -2340
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -8
- data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +0 -7698
- data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +0 -6201
- data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +0 -3625
- data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +0 -1176
- data/sorbet/rbi/gems/rspec@3.11.0.rbi +0 -40
- data/sorbet/rbi/gems/ruby-graphviz@1.2.5.rbi +0 -840
- data/sorbet/rbi/gems/spoom@1.1.11.rbi +0 -1600
- data/sorbet/rbi/gems/tapioca@0.9.2.rbi +0 -3128
- data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -2921
- data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -8
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -1802
- data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +0 -288
- data/sorbet/rbi/gems/yard@0.9.28.rbi +0 -12863
- data/sorbet/tapioca/config.yml +0 -13
- data/sorbet/tapioca/require.rb +0 -7
@@ -1,138 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `code_teams` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem code_teams`.
|
6
|
-
|
7
|
-
module CodeTeams
|
8
|
-
class << self
|
9
|
-
sig { returns(T::Array[::CodeTeams::Team]) }
|
10
|
-
def all; end
|
11
|
-
|
12
|
-
# Generally, you should not ever need to do this, because once your ruby process loads, cached content should not change.
|
13
|
-
# Namely, the YML files that are the source of truth for teams should not change, so we should not need to look at the YMLs again to verify.
|
14
|
-
# The primary reason this is helpful is for clients of CodeTeams who want to test their code, and each test context has different set of teams
|
15
|
-
sig { void }
|
16
|
-
def bust_caches!; end
|
17
|
-
|
18
|
-
sig { params(name: ::String).returns(T.nilable(::CodeTeams::Team)) }
|
19
|
-
def find(name); end
|
20
|
-
|
21
|
-
sig { params(dir: ::String).returns(T::Array[::CodeTeams::Team]) }
|
22
|
-
def for_directory(dir); end
|
23
|
-
|
24
|
-
sig { params(string: ::String).returns(::String) }
|
25
|
-
def tag_value_for(string); end
|
26
|
-
|
27
|
-
sig { params(teams: T::Array[::CodeTeams::Team]).returns(T::Array[::String]) }
|
28
|
-
def validation_errors(teams); end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
class CodeTeams::IncorrectPublicApiUsageError < ::StandardError; end
|
33
|
-
|
34
|
-
# Plugins allow a client to add validation on custom keys in the team YML.
|
35
|
-
# For now, only a single plugin is allowed to manage validation on a top-level key.
|
36
|
-
# In the future we can think of allowing plugins to be gracefully merged with each other.
|
37
|
-
#
|
38
|
-
# @abstract It cannont be directly instantiated. Subclasses must implement the `abstract` methods below.
|
39
|
-
class CodeTeams::Plugin
|
40
|
-
abstract!
|
41
|
-
|
42
|
-
sig { params(team: ::CodeTeams::Team).void }
|
43
|
-
def initialize(team); end
|
44
|
-
|
45
|
-
class << self
|
46
|
-
sig { returns(T::Array[T.class_of(CodeTeams::Plugin)]) }
|
47
|
-
def all_plugins; end
|
48
|
-
|
49
|
-
sig { params(team: ::CodeTeams::Team).returns(T.attached_class) }
|
50
|
-
def for(team); end
|
51
|
-
|
52
|
-
sig { params(base: T.untyped).void }
|
53
|
-
def inherited(base); end
|
54
|
-
|
55
|
-
sig { params(team: ::CodeTeams::Team, key: ::String).returns(::String) }
|
56
|
-
def missing_key_error_message(team, key); end
|
57
|
-
|
58
|
-
sig { params(teams: T::Array[::CodeTeams::Team]).returns(T::Array[::String]) }
|
59
|
-
def validation_errors(teams); end
|
60
|
-
|
61
|
-
private
|
62
|
-
|
63
|
-
sig { params(team: ::CodeTeams::Team).returns(T.attached_class) }
|
64
|
-
def register_team(team); end
|
65
|
-
|
66
|
-
sig { returns(T::Hash[T.nilable(::String), T::Hash[::Class, ::CodeTeams::Plugin]]) }
|
67
|
-
def registry; end
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
module CodeTeams::Plugins; end
|
72
|
-
|
73
|
-
class CodeTeams::Plugins::Identity < ::CodeTeams::Plugin
|
74
|
-
sig { returns(::CodeTeams::Plugins::Identity::IdentityStruct) }
|
75
|
-
def identity; end
|
76
|
-
|
77
|
-
class << self
|
78
|
-
sig { override.params(teams: T::Array[::CodeTeams::Team]).returns(T::Array[::String]) }
|
79
|
-
def validation_errors(teams); end
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
class CodeTeams::Plugins::Identity::IdentityStruct < ::Struct
|
84
|
-
# Returns the value of attribute name
|
85
|
-
#
|
86
|
-
# @return [Object] the current value of name
|
87
|
-
def name; end
|
88
|
-
|
89
|
-
# Sets the attribute name
|
90
|
-
#
|
91
|
-
# @param value [Object] the value to set the attribute name to.
|
92
|
-
# @return [Object] the newly set value
|
93
|
-
def name=(_); end
|
94
|
-
|
95
|
-
class << self
|
96
|
-
def [](*_arg0); end
|
97
|
-
def inspect; end
|
98
|
-
def members; end
|
99
|
-
def new(*_arg0); end
|
100
|
-
end
|
101
|
-
end
|
102
|
-
|
103
|
-
class CodeTeams::Team
|
104
|
-
sig { params(config_yml: T.nilable(::String), raw_hash: T::Hash[T.untyped, T.untyped]).void }
|
105
|
-
def initialize(config_yml:, raw_hash:); end
|
106
|
-
|
107
|
-
sig { params(other: ::Object).returns(T::Boolean) }
|
108
|
-
def ==(other); end
|
109
|
-
|
110
|
-
sig { returns(T.nilable(::String)) }
|
111
|
-
def config_yml; end
|
112
|
-
|
113
|
-
# @param other [Object]
|
114
|
-
# @return [Boolean]
|
115
|
-
def eql?(*args, &blk); end
|
116
|
-
|
117
|
-
sig { returns(::Integer) }
|
118
|
-
def hash; end
|
119
|
-
|
120
|
-
sig { returns(::String) }
|
121
|
-
def name; end
|
122
|
-
|
123
|
-
sig { returns(T::Hash[T.untyped, T.untyped]) }
|
124
|
-
def raw_hash; end
|
125
|
-
|
126
|
-
sig { returns(::String) }
|
127
|
-
def to_tag; end
|
128
|
-
|
129
|
-
class << self
|
130
|
-
sig { params(raw_hash: T::Hash[T.untyped, T.untyped]).returns(::CodeTeams::Team) }
|
131
|
-
def from_hash(raw_hash); end
|
132
|
-
|
133
|
-
sig { params(config_yml: ::String).returns(::CodeTeams::Team) }
|
134
|
-
def from_yml(config_yml); end
|
135
|
-
end
|
136
|
-
end
|
137
|
-
|
138
|
-
CodeTeams::UNKNOWN_TEAM_STRING = 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
|