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.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. metadata +2 -33
  3. data/sorbet/config +0 -3
  4. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -522
  5. data/sorbet/rbi/gems/code_ownership@1.31.0.rbi +0 -617
  6. data/sorbet/rbi/gems/code_teams@1.0.0.rbi +0 -138
  7. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  8. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -866
  9. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
  10. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -150
  11. data/sorbet/rbi/gems/packs@0.0.6.rbi +0 -115
  12. data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -163
  13. data/sorbet/rbi/gems/parse_packwerk@0.14.0.rbi +0 -218
  14. data/sorbet/rbi/gems/parser@3.1.2.1.rbi +0 -5028
  15. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  16. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -1854
  17. data/sorbet/rbi/gems/rbi@0.0.15.rbi +0 -2340
  18. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -8
  19. data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +0 -7698
  20. data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +0 -6201
  21. data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +0 -3625
  22. data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +0 -1176
  23. data/sorbet/rbi/gems/rspec@3.11.0.rbi +0 -40
  24. data/sorbet/rbi/gems/ruby-graphviz@1.2.5.rbi +0 -840
  25. data/sorbet/rbi/gems/spoom@1.1.11.rbi +0 -1600
  26. data/sorbet/rbi/gems/tapioca@0.9.2.rbi +0 -3128
  27. data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -2921
  28. data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -8
  29. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -1802
  30. data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +0 -288
  31. data/sorbet/rbi/gems/yard@0.9.28.rbi +0 -12863
  32. data/sorbet/tapioca/config.yml +0 -13
  33. data/sorbet/tapioca/require.rb +0 -7
@@ -1,8 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `method_source` gem.
5
- # Please instead update this file by running `bin/tapioca gem method_source`.
6
-
7
- # THIS IS AN EMPTY RBI FILE.
8
- # see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
@@ -1,150 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `netrc` gem.
5
- # Please instead update this file by running `bin/tapioca gem netrc`.
6
-
7
- # source://netrc-0.11.0/lib/netrc.rb:3
8
- class Netrc
9
- # @return [Netrc] a new instance of Netrc
10
- #
11
- # source://netrc-0.11.0/lib/netrc.rb:166
12
- def initialize(path, data); end
13
-
14
- # source://netrc-0.11.0/lib/netrc.rb:180
15
- def [](k); end
16
-
17
- # source://netrc-0.11.0/lib/netrc.rb:188
18
- def []=(k, info); end
19
-
20
- # source://netrc-0.11.0/lib/netrc.rb:200
21
- def delete(key); end
22
-
23
- # source://netrc-0.11.0/lib/netrc.rb:211
24
- def each(&block); end
25
-
26
- # source://netrc-0.11.0/lib/netrc.rb:196
27
- def length; end
28
-
29
- # source://netrc-0.11.0/lib/netrc.rb:215
30
- def new_item(m, l, p); end
31
-
32
- # Returns the value of attribute new_item_prefix.
33
- #
34
- # source://netrc-0.11.0/lib/netrc.rb:178
35
- def new_item_prefix; end
36
-
37
- # Sets the attribute new_item_prefix
38
- #
39
- # @param value the value to set the attribute new_item_prefix to.
40
- #
41
- # source://netrc-0.11.0/lib/netrc.rb:178
42
- def new_item_prefix=(_arg0); end
43
-
44
- # source://netrc-0.11.0/lib/netrc.rb:219
45
- def save; end
46
-
47
- # source://netrc-0.11.0/lib/netrc.rb:233
48
- def unparse; end
49
-
50
- class << self
51
- # source://netrc-0.11.0/lib/netrc.rb:42
52
- def check_permissions(path); end
53
-
54
- # source://netrc-0.11.0/lib/netrc.rb:33
55
- def config; end
56
-
57
- # @yield [self.config]
58
- #
59
- # source://netrc-0.11.0/lib/netrc.rb:37
60
- def configure; end
61
-
62
- # source://netrc-0.11.0/lib/netrc.rb:10
63
- def default_path; end
64
-
65
- # source://netrc-0.11.0/lib/netrc.rb:14
66
- def home_path; end
67
-
68
- # source://netrc-0.11.0/lib/netrc.rb:85
69
- def lex(lines); end
70
-
71
- # source://netrc-0.11.0/lib/netrc.rb:29
72
- def netrc_filename; end
73
-
74
- # Returns two values, a header and a list of items.
75
- # Each item is a tuple, containing some or all of:
76
- # - machine keyword (including trailing whitespace+comments)
77
- # - machine name
78
- # - login keyword (including surrounding whitespace+comments)
79
- # - login
80
- # - password keyword (including surrounding whitespace+comments)
81
- # - password
82
- # - trailing chars
83
- # This lets us change individual fields, then write out the file
84
- # with all its original formatting.
85
- #
86
- # source://netrc-0.11.0/lib/netrc.rb:129
87
- def parse(ts); end
88
-
89
- # Reads path and parses it as a .netrc file. If path doesn't
90
- # exist, returns an empty object. Decrypt paths ending in .gpg.
91
- #
92
- # source://netrc-0.11.0/lib/netrc.rb:51
93
- def read(path = T.unsafe(nil)); end
94
-
95
- # @return [Boolean]
96
- #
97
- # source://netrc-0.11.0/lib/netrc.rb:112
98
- def skip?(s); end
99
- end
100
- end
101
-
102
- # source://netrc-0.11.0/lib/netrc.rb:244
103
- class Netrc::Entry < ::Struct
104
- # Returns the value of attribute login
105
- #
106
- # @return [Object] the current value of login
107
- def login; end
108
-
109
- # Sets the attribute login
110
- #
111
- # @param value [Object] the value to set the attribute login to.
112
- # @return [Object] the newly set value
113
- def login=(_); end
114
-
115
- # Returns the value of attribute password
116
- #
117
- # @return [Object] the current value of password
118
- def password; end
119
-
120
- # Sets the attribute password
121
- #
122
- # @param value [Object] the value to set the attribute password to.
123
- # @return [Object] the newly set value
124
- def password=(_); end
125
-
126
- def to_ary; end
127
-
128
- class << self
129
- def [](*_arg0); end
130
- def inspect; end
131
- def keyword_init?; end
132
- def members; end
133
- def new(*_arg0); end
134
- end
135
- end
136
-
137
- # source://netrc-0.11.0/lib/netrc.rb:250
138
- class Netrc::Error < ::StandardError; end
139
-
140
- # source://netrc-0.11.0/lib/netrc.rb:68
141
- class Netrc::TokenArray < ::Array
142
- # source://netrc-0.11.0/lib/netrc.rb:76
143
- def readto; end
144
-
145
- # source://netrc-0.11.0/lib/netrc.rb:69
146
- def take; end
147
- end
148
-
149
- # source://netrc-0.11.0/lib/netrc.rb:4
150
- Netrc::VERSION = T.let(T.unsafe(nil), String)
@@ -1,115 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `packs` gem.
5
- # Please instead update this file by running `bin/tapioca gem packs`.
6
-
7
- # source://packs-0.0.6/lib/packs/pack.rb:3
8
- module Packs
9
- class << self
10
- # source://packs-0.0.6/lib/packs.rb:16
11
- sig { returns(T::Array[::Packs::Pack]) }
12
- def all; end
13
-
14
- # source://packs-0.0.6/lib/packs.rb:34
15
- sig { void }
16
- def bust_cache!; end
17
-
18
- # source://packs-0.0.6/lib/packs.rb:41
19
- sig { returns(::Packs::Private::Configuration) }
20
- def config; end
21
-
22
- # @yield [config]
23
- #
24
- # source://packs-0.0.6/lib/packs.rb:47
25
- sig { params(blk: T.proc.params(arg0: ::Packs::Private::Configuration).void).void }
26
- def configure(&blk); end
27
-
28
- # source://packs-0.0.6/lib/packs.rb:21
29
- sig { params(name: ::String).returns(T.nilable(::Packs::Pack)) }
30
- def find(name); end
31
-
32
- # source://packs-0.0.6/lib/packs.rb:26
33
- sig { params(file_path: T.any(::Pathname, ::String)).returns(T.nilable(::Packs::Pack)) }
34
- def for_file(file_path); end
35
-
36
- private
37
-
38
- # source://packs-0.0.6/lib/packs.rb:73
39
- sig { returns(T::Array[::Pathname]) }
40
- def package_glob_patterns; end
41
-
42
- # source://packs-0.0.6/lib/packs.rb:59
43
- sig { returns(T::Hash[::String, ::Packs::Pack]) }
44
- def packs_by_name; end
45
- end
46
- end
47
-
48
- # source://packs-0.0.6/lib/packs.rb:10
49
- Packs::PACKAGE_FILE = T.let(T.unsafe(nil), String)
50
-
51
- # source://packs-0.0.6/lib/packs/pack.rb:4
52
- class Packs::Pack < ::T::Struct
53
- const :name, ::String
54
- const :path, ::Pathname
55
- const :raw_hash, T::Hash[T.untyped, T.untyped]
56
- const :relative_path, ::Pathname
57
-
58
- # source://packs-0.0.6/lib/packs/pack.rb:39
59
- sig { returns(T::Boolean) }
60
- def is_gem?; end
61
-
62
- # source://packs-0.0.6/lib/packs/pack.rb:34
63
- sig { returns(::String) }
64
- def last_name; end
65
-
66
- # source://packs-0.0.6/lib/packs/pack.rb:44
67
- sig { returns(T::Hash[T.untyped, T.untyped]) }
68
- def metadata; end
69
-
70
- # source://packs-0.0.6/lib/packs/pack.rb:28
71
- sig { params(relative: T::Boolean).returns(::Pathname) }
72
- def yml(relative: T.unsafe(nil)); end
73
-
74
- class << self
75
- # source://packs-0.0.6/lib/packs/pack.rb:13
76
- sig { params(package_yml_absolute_path: ::Pathname).returns(::Packs::Pack) }
77
- def from(package_yml_absolute_path); end
78
-
79
- # source://sorbet-runtime-0.5.10323/lib/types/struct.rb:13
80
- def inherited(s); end
81
- end
82
- end
83
-
84
- # source://packs-0.0.6/lib/packs/private/configuration.rb:4
85
- module Packs::Private
86
- class << self
87
- # source://packs-0.0.6/lib/packs/private.rb:10
88
- sig { returns(::Pathname) }
89
- def root; end
90
- end
91
- end
92
-
93
- # source://packs-0.0.6/lib/packs/private/configuration.rb:5
94
- class Packs::Private::Configuration < ::T::Struct
95
- prop :pack_paths, T::Array[::String]
96
-
97
- class << self
98
- # source://packs-0.0.6/lib/packs/private/configuration.rb:17
99
- sig { returns(::Packs::Private::Configuration) }
100
- def fetch; end
101
-
102
- # source://sorbet-runtime-0.5.10323/lib/types/struct.rb:13
103
- def inherited(s); end
104
-
105
- # source://packs-0.0.6/lib/packs/private/configuration.rb:26
106
- sig { params(config_hash: T::Hash[T.untyped, T.untyped]).returns(T::Array[::String]) }
107
- def pack_paths(config_hash); end
108
- end
109
- end
110
-
111
- # source://packs-0.0.6/lib/packs/private/configuration.rb:7
112
- Packs::Private::Configuration::CONFIGURATION_PATHNAME = T.let(T.unsafe(nil), Pathname)
113
-
114
- # source://packs-0.0.6/lib/packs/private/configuration.rb:9
115
- Packs::Private::Configuration::DEFAULT_PACK_PATHS = T.let(T.unsafe(nil), Array)
@@ -1,163 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `parallel` gem.
5
- # Please instead update this file by running `bin/tapioca gem parallel`.
6
-
7
- module Parallel
8
- extend ::Parallel::ProcessorCount
9
-
10
- class << self
11
- # @return [Boolean]
12
- def all?(*args, &block); end
13
-
14
- # @return [Boolean]
15
- def any?(*args, &block); end
16
-
17
- def each(array, options = T.unsafe(nil), &block); end
18
- def each_with_index(array, options = T.unsafe(nil), &block); end
19
- def flat_map(*args, &block); end
20
- def in_processes(options = T.unsafe(nil), &block); end
21
- def in_threads(options = T.unsafe(nil)); end
22
- def map(source, options = T.unsafe(nil), &block); end
23
- def map_with_index(array, options = T.unsafe(nil), &block); end
24
- def worker_number; end
25
-
26
- # TODO: this does not work when doing threads in forks, so should remove and yield the number instead if needed
27
- def worker_number=(worker_num); end
28
-
29
- private
30
-
31
- def add_progress_bar!(job_factory, options); end
32
- def call_with_index(item, index, options, &block); end
33
- def create_workers(job_factory, options, &block); end
34
-
35
- # options is either a Integer or a Hash with :count
36
- def extract_count_from_options(options); end
37
-
38
- def instrument_finish(item, index, result, options); end
39
- def instrument_start(item, index, options); end
40
- def process_incoming_jobs(read, write, job_factory, options, &block); end
41
- def replace_worker(job_factory, workers, index, options, blk); end
42
- def with_instrumentation(item, index, options); end
43
- def work_direct(job_factory, options, &block); end
44
- def work_in_processes(job_factory, options, &blk); end
45
- def work_in_ractors(job_factory, options); end
46
- def work_in_threads(job_factory, options, &block); end
47
- def worker(job_factory, options, &block); end
48
- end
49
- end
50
-
51
- class Parallel::Break < ::StandardError
52
- # @return [Break] a new instance of Break
53
- def initialize(value = T.unsafe(nil)); end
54
-
55
- # Returns the value of attribute value.
56
- def value; end
57
- end
58
-
59
- class Parallel::DeadWorker < ::StandardError; end
60
-
61
- class Parallel::ExceptionWrapper
62
- # @return [ExceptionWrapper] a new instance of ExceptionWrapper
63
- def initialize(exception); end
64
-
65
- # Returns the value of attribute exception.
66
- def exception; end
67
- end
68
-
69
- class Parallel::JobFactory
70
- # @return [JobFactory] a new instance of JobFactory
71
- def initialize(source, mutex); end
72
-
73
- def next; end
74
-
75
- # generate item that is sent to workers
76
- # just index is faster + less likely to blow up with unserializable errors
77
- def pack(item, index); end
78
-
79
- def size; end
80
-
81
- # unpack item that is sent to workers
82
- def unpack(data); end
83
-
84
- private
85
-
86
- # @return [Boolean]
87
- def producer?; end
88
-
89
- def queue_wrapper(array); end
90
- end
91
-
92
- class Parallel::Kill < ::Parallel::Break; end
93
-
94
- # TODO: inline this method into parallel.rb and kill physical_processor_count in next major release
95
- module Parallel::ProcessorCount
96
- # Number of physical processor cores on the current system.
97
- def physical_processor_count; end
98
-
99
- # Number of processors seen by the OS, used for process scheduling
100
- def processor_count; end
101
- end
102
-
103
- Parallel::Stop = T.let(T.unsafe(nil), Object)
104
-
105
- class Parallel::UndumpableException < ::StandardError
106
- # @return [UndumpableException] a new instance of UndumpableException
107
- def initialize(original); end
108
-
109
- # Returns the value of attribute backtrace.
110
- def backtrace; end
111
- end
112
-
113
- class Parallel::UserInterruptHandler
114
- class << self
115
- def kill(thing); end
116
-
117
- # kill all these pids or threads if user presses Ctrl+c
118
- def kill_on_ctrl_c(pids, options); end
119
-
120
- private
121
-
122
- def restore_interrupt(old, signal); end
123
- def trap_interrupt(signal); end
124
- end
125
- end
126
-
127
- Parallel::UserInterruptHandler::INTERRUPT_SIGNAL = T.let(T.unsafe(nil), Symbol)
128
- Parallel::VERSION = T.let(T.unsafe(nil), String)
129
- Parallel::Version = T.let(T.unsafe(nil), String)
130
-
131
- class Parallel::Worker
132
- # @return [Worker] a new instance of Worker
133
- def initialize(read, write, pid); end
134
-
135
- # might be passed to started_processes and simultaneously closed by another thread
136
- # when running in isolation mode, so we have to check if it is closed before closing
137
- def close_pipes; end
138
-
139
- # Returns the value of attribute pid.
140
- def pid; end
141
-
142
- # Returns the value of attribute read.
143
- def read; end
144
-
145
- def stop; end
146
-
147
- # Returns the value of attribute thread.
148
- def thread; end
149
-
150
- # Sets the attribute thread
151
- #
152
- # @param value the value to set the attribute thread to.
153
- def thread=(_arg0); end
154
-
155
- def work(data); end
156
-
157
- # Returns the value of attribute write.
158
- def write; end
159
-
160
- private
161
-
162
- def wait; end
163
- end
@@ -1,218 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `parse_packwerk` gem.
5
- # Please instead update this file by running `bin/tapioca gem parse_packwerk`.
6
-
7
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/constants.rb:3
8
- module ParsePackwerk
9
- class << self
10
- # source://parse_packwerk-0.14.0/lib/parse_packwerk.rb:28
11
- sig { returns(T::Array[::ParsePackwerk::Package]) }
12
- def all; end
13
-
14
- # source://parse_packwerk-0.14.0/lib/parse_packwerk.rb:112
15
- sig { void }
16
- def bust_cache!; end
17
-
18
- # source://parse_packwerk-0.14.0/lib/parse_packwerk.rb:33
19
- sig { params(name: ::String).returns(T.nilable(::ParsePackwerk::Package)) }
20
- def find(name); end
21
-
22
- # source://parse_packwerk-0.14.0/lib/parse_packwerk.rb:43
23
- sig { params(file_path: T.any(::Pathname, ::String)).returns(::ParsePackwerk::Package) }
24
- def package_from_path(file_path); end
25
-
26
- # source://parse_packwerk-0.14.0/lib/parse_packwerk.rb:54
27
- sig { params(package: ::ParsePackwerk::Package).void }
28
- def write_package_yml!(package); end
29
-
30
- # source://parse_packwerk-0.14.0/lib/parse_packwerk.rb:38
31
- sig { returns(::ParsePackwerk::Configuration) }
32
- def yml; end
33
-
34
- private
35
-
36
- # We memoize packages_by_name for fast lookup.
37
- # Since Graph is an immutable value object, we can create indexes and general caching mechanisms safely.
38
- #
39
- # source://parse_packwerk-0.14.0/lib/parse_packwerk.rb:100
40
- sig { returns(T::Hash[::String, ::ParsePackwerk::Package]) }
41
- def packages_by_name; end
42
- end
43
- end
44
-
45
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/configuration.rb:4
46
- class ParsePackwerk::Configuration < ::T::Struct
47
- const :exclude, T::Array[::String]
48
- const :package_paths, T::Array[::String]
49
-
50
- class << self
51
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/configuration.rb:28
52
- sig { params(config_hash: T::Hash[T.untyped, T.untyped]).returns(T::Array[::String]) }
53
- def excludes(config_hash); end
54
-
55
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/configuration.rb:11
56
- sig { returns(::ParsePackwerk::Configuration) }
57
- def fetch; end
58
-
59
- # source://sorbet-runtime-0.5.10323/lib/types/struct.rb:13
60
- def inherited(s); end
61
-
62
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/configuration.rb:40
63
- sig { params(config_hash: T::Hash[T.untyped, T.untyped]).returns(T::Array[::String]) }
64
- def package_paths(config_hash); end
65
- end
66
- end
67
-
68
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/constants.rb:20
69
- ParsePackwerk::DEFAULT_EXCLUDE_GLOBS = T.let(T.unsafe(nil), Array)
70
-
71
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/constants.rb:21
72
- ParsePackwerk::DEFAULT_PACKAGE_PATHS = T.let(T.unsafe(nil), Array)
73
-
74
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/constants.rb:22
75
- ParsePackwerk::DEFAULT_PUBLIC_PATH = T.let(T.unsafe(nil), String)
76
-
77
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/constants.rb:12
78
- ParsePackwerk::DEPENDENCIES = T.let(T.unsafe(nil), String)
79
-
80
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/constants.rb:7
81
- ParsePackwerk::DEPRECATED_REFERENCES_YML_NAME = T.let(T.unsafe(nil), String)
82
-
83
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/deprecated_references.rb:4
84
- class ParsePackwerk::DeprecatedReferences < ::T::Struct
85
- const :pathname, ::Pathname
86
- const :violations, T::Array[::ParsePackwerk::Violation]
87
-
88
- class << self
89
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/deprecated_references.rb:11
90
- sig { params(package: ::ParsePackwerk::Package).returns(::ParsePackwerk::DeprecatedReferences) }
91
- def for(package); end
92
-
93
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/deprecated_references.rb:17
94
- sig { params(pathname: ::Pathname).returns(::ParsePackwerk::DeprecatedReferences) }
95
- def from(pathname); end
96
-
97
- # source://sorbet-runtime-0.5.10323/lib/types/struct.rb:13
98
- def inherited(s); end
99
- end
100
- end
101
-
102
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/constants.rb:8
103
- ParsePackwerk::ENFORCE_DEPENDENCIES = T.let(T.unsafe(nil), String)
104
-
105
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/constants.rb:9
106
- ParsePackwerk::ENFORCE_PRIVACY = T.let(T.unsafe(nil), String)
107
-
108
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/constants.rb:11
109
- ParsePackwerk::METADATA = T.let(T.unsafe(nil), String)
110
-
111
- # Since this metadata is unstructured YAML, it could be any type. We leave it to clients of `ParsePackwerk::Package`
112
- # to add types based on their known usage of metadata.
113
- #
114
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/constants.rb:16
115
- ParsePackwerk::MetadataYmlType = T.type_alias { T::Hash[T.untyped, T.untyped] }
116
-
117
- # source://parse_packwerk-0.14.0/lib/parse_packwerk.rb:14
118
- class ParsePackwerk::MissingConfiguration < ::StandardError
119
- # source://parse_packwerk-0.14.0/lib/parse_packwerk.rb:18
120
- sig { params(packwerk_file_name: ::Pathname).void }
121
- def initialize(packwerk_file_name); end
122
- end
123
-
124
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/constants.rb:5
125
- ParsePackwerk::PACKAGE_YML_NAME = T.let(T.unsafe(nil), String)
126
-
127
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/constants.rb:6
128
- ParsePackwerk::PACKWERK_YML_NAME = T.let(T.unsafe(nil), String)
129
-
130
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/constants.rb:10
131
- ParsePackwerk::PUBLIC_PATH = T.let(T.unsafe(nil), String)
132
-
133
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/package.rb:4
134
- class ParsePackwerk::Package < ::T::Struct
135
- const :dependencies, T::Array[::String]
136
- const :enforce_dependencies, T::Boolean
137
- const :enforce_privacy, T::Boolean
138
- const :metadata, T::Hash[T.untyped, T.untyped]
139
- const :name, ::String
140
- const :public_path, ::String, default: T.unsafe(nil)
141
-
142
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/package.rb:35
143
- sig { returns(::Pathname) }
144
- def directory; end
145
-
146
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/package.rb:45
147
- sig { returns(T::Boolean) }
148
- def enforces_dependencies?; end
149
-
150
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/package.rb:50
151
- sig { returns(T::Boolean) }
152
- def enforces_privacy?; end
153
-
154
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/package.rb:40
155
- sig { returns(::Pathname) }
156
- def public_directory; end
157
-
158
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/package.rb:55
159
- sig { returns(T::Array[::ParsePackwerk::Violation]) }
160
- def violations; end
161
-
162
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/package.rb:30
163
- sig { returns(::Pathname) }
164
- def yml; end
165
-
166
- class << self
167
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/package.rb:15
168
- sig { params(pathname: ::Pathname).returns(::ParsePackwerk::Package) }
169
- def from(pathname); end
170
-
171
- # source://sorbet-runtime-0.5.10323/lib/types/struct.rb:13
172
- def inherited(s); end
173
- end
174
- end
175
-
176
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/package_set.rb:8
177
- class ParsePackwerk::PackageSet
178
- class << self
179
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/package_set.rb:12
180
- sig do
181
- params(
182
- package_pathspec: T::Array[::String],
183
- exclude_pathspec: T::Array[::String]
184
- ).returns(T::Array[::ParsePackwerk::Package])
185
- end
186
- def from(package_pathspec:, exclude_pathspec:); end
187
-
188
- private
189
-
190
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/package_set.rb:28
191
- sig { params(globs: T::Array[::String], path: ::Pathname).returns(T::Boolean) }
192
- def exclude_path?(globs, path); end
193
- end
194
- end
195
-
196
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/constants.rb:4
197
- ParsePackwerk::ROOT_PACKAGE_NAME = T.let(T.unsafe(nil), String)
198
-
199
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/violation.rb:4
200
- class ParsePackwerk::Violation < ::T::Struct
201
- const :class_name, ::String
202
- const :files, T::Array[::String]
203
- const :to_package_name, ::String
204
- const :type, ::String
205
-
206
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/violation.rb:13
207
- sig { returns(T::Boolean) }
208
- def dependency?; end
209
-
210
- # source://parse_packwerk-0.14.0/lib/parse_packwerk/violation.rb:18
211
- sig { returns(T::Boolean) }
212
- def privacy?; end
213
-
214
- class << self
215
- # source://sorbet-runtime-0.5.10323/lib/types/struct.rb:13
216
- def inherited(s); end
217
- end
218
- end