visualize_packwerk 0.0.6 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,150 @@
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)
@@ -0,0 +1,115 @@
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)