mootool 0.1.1 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/.github/workflows/ci.yml +14 -14
- data/.github/workflows/gem-push.yml +26 -28
- data/.overcommit.yml +79 -0
- data/.rubocop.yml +147 -0
- data/.ruby-version +1 -1
- data/.run/All Specs.run.xml +46 -0
- data/CODE_OF_CONDUCT.md +2 -1
- data/Gemfile +14 -11
- data/Gemfile.lock +92 -31
- data/README.md +12 -6
- data/bin/tapioca +27 -0
- data/lib/mootool/command.rb +1 -0
- data/lib/mootool/controller_base.rb +4 -1
- data/lib/mootool/controllers/dwarf.rb +8 -0
- data/lib/mootool/controllers/dyld_linker.rb +8 -0
- data/lib/mootool/controllers/dyld_shared_cache.rb +8 -0
- data/lib/mootool/controllers/fat_binary.rb +8 -0
- data/lib/mootool/controllers/kernel_collection.rb +21 -15
- data/lib/mootool/controllers/sections.rb +8 -0
- data/lib/mootool/core_extensions.rb +26 -0
- data/lib/mootool/models/device_tree.rb +85 -0
- data/lib/mootool/models/img4.rb +49 -0
- data/lib/mootool/models/ipsw.rb +19 -0
- data/lib/mootool/version.rb +1 -1
- data/lib/mootool/views/sections.full.erb +2 -2
- data/lib/mootool.rb +10 -3
- data/mootool.gemspec +17 -12
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +618 -0
- data/sorbet/rbi/gems/childprocess@4.1.0.rbi +447 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1219 -0
- data/sorbet/rbi/gems/iniparse@1.5.0.rbi +1007 -0
- data/sorbet/rbi/gems/json@2.6.2.rbi +1650 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +186 -0
- data/sorbet/rbi/gems/overcommit@0.59.1.rbi +2747 -0
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +353 -0
- data/sorbet/rbi/gems/parser@3.1.2.1.rbi +6198 -0
- data/sorbet/rbi/gems/plist@3.6.0.rbi +212 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +452 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +3587 -0
- data/sorbet/rbi/gems/rbi@0.0.15.rbi +3619 -0
- data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +3927 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +5238 -0
- data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +12834 -0
- data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +9151 -0
- data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +6506 -0
- data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +2040 -0
- data/sorbet/rbi/gems/rspec@3.11.0.rbi +120 -0
- data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +7990 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +413 -0
- data/sorbet/rbi/gems/rubocop-rspec@2.12.1.rbi +7604 -0
- data/sorbet/rbi/gems/rubocop@1.35.0.rbi +62260 -0
- data/sorbet/rbi/gems/ruby-macho@3.0.0.rbi +5039 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1445 -0
- data/sorbet/rbi/gems/rubyzip@2.3.2.rbi +2868 -0
- data/sorbet/rbi/gems/spoom@1.1.12.rbi +2829 -0
- data/sorbet/rbi/gems/tapioca@0.9.3.rbi +2151 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +4532 -0
- data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +60 -0
- data/sorbet/rbi/gems/unparser@0.6.5.rbi +8 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +3075 -0
- data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +458 -0
- data/sorbet/rbi/gems/yard@0.9.28.rbi +20844 -0
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +72 -24
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +1697 -385
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +30 -7
- data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +3 -1
- data/sorbet/rbi/todo.rbi +7 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +89 -9
@@ -0,0 +1,8 @@
|
|
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
|
@@ -0,0 +1,186 @@
|
|
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)
|
13
|
+
;
|
14
|
+
end
|
15
|
+
|
16
|
+
# source://netrc-0.11.0/lib/netrc.rb:180
|
17
|
+
def [](k)
|
18
|
+
;
|
19
|
+
end
|
20
|
+
|
21
|
+
# source://netrc-0.11.0/lib/netrc.rb:188
|
22
|
+
def []=(k, info)
|
23
|
+
;
|
24
|
+
end
|
25
|
+
|
26
|
+
# source://netrc-0.11.0/lib/netrc.rb:200
|
27
|
+
def delete(key)
|
28
|
+
;
|
29
|
+
end
|
30
|
+
|
31
|
+
# source://netrc-0.11.0/lib/netrc.rb:211
|
32
|
+
def each(&block)
|
33
|
+
;
|
34
|
+
end
|
35
|
+
|
36
|
+
# source://netrc-0.11.0/lib/netrc.rb:196
|
37
|
+
def length; end
|
38
|
+
|
39
|
+
# source://netrc-0.11.0/lib/netrc.rb:215
|
40
|
+
def new_item(m, l, p)
|
41
|
+
;
|
42
|
+
end
|
43
|
+
|
44
|
+
# Returns the value of attribute new_item_prefix.
|
45
|
+
#
|
46
|
+
# source://netrc-0.11.0/lib/netrc.rb:178
|
47
|
+
def new_item_prefix; end
|
48
|
+
|
49
|
+
# Sets the attribute new_item_prefix
|
50
|
+
#
|
51
|
+
# @param value the value to set the attribute new_item_prefix to.
|
52
|
+
#
|
53
|
+
# source://netrc-0.11.0/lib/netrc.rb:178
|
54
|
+
def new_item_prefix=(_arg0)
|
55
|
+
;
|
56
|
+
end
|
57
|
+
|
58
|
+
# source://netrc-0.11.0/lib/netrc.rb:219
|
59
|
+
def save; end
|
60
|
+
|
61
|
+
# source://netrc-0.11.0/lib/netrc.rb:233
|
62
|
+
def unparse; end
|
63
|
+
|
64
|
+
class << self
|
65
|
+
# source://netrc-0.11.0/lib/netrc.rb:42
|
66
|
+
def check_permissions(path)
|
67
|
+
;
|
68
|
+
end
|
69
|
+
|
70
|
+
# source://netrc-0.11.0/lib/netrc.rb:33
|
71
|
+
def config; end
|
72
|
+
|
73
|
+
# @yield [self.config]
|
74
|
+
#
|
75
|
+
# source://netrc-0.11.0/lib/netrc.rb:37
|
76
|
+
def configure; end
|
77
|
+
|
78
|
+
# source://netrc-0.11.0/lib/netrc.rb:10
|
79
|
+
def default_path; end
|
80
|
+
|
81
|
+
# source://netrc-0.11.0/lib/netrc.rb:14
|
82
|
+
def home_path; end
|
83
|
+
|
84
|
+
# source://netrc-0.11.0/lib/netrc.rb:85
|
85
|
+
def lex(lines)
|
86
|
+
;
|
87
|
+
end
|
88
|
+
|
89
|
+
# source://netrc-0.11.0/lib/netrc.rb:29
|
90
|
+
def netrc_filename; end
|
91
|
+
|
92
|
+
# Returns two values, a header and a list of items.
|
93
|
+
# Each item is a tuple, containing some or all of:
|
94
|
+
# - machine keyword (including trailing whitespace+comments)
|
95
|
+
# - machine name
|
96
|
+
# - login keyword (including surrounding whitespace+comments)
|
97
|
+
# - login
|
98
|
+
# - password keyword (including surrounding whitespace+comments)
|
99
|
+
# - password
|
100
|
+
# - trailing chars
|
101
|
+
# This lets us change individual fields, then write out the file
|
102
|
+
# with all its original formatting.
|
103
|
+
#
|
104
|
+
# source://netrc-0.11.0/lib/netrc.rb:129
|
105
|
+
def parse(ts)
|
106
|
+
;
|
107
|
+
end
|
108
|
+
|
109
|
+
# Reads path and parses it as a .netrc file. If path doesn't
|
110
|
+
# exist, returns an empty object. Decrypt paths ending in .gpg.
|
111
|
+
#
|
112
|
+
# source://netrc-0.11.0/lib/netrc.rb:51
|
113
|
+
def read(path = T.unsafe(nil))
|
114
|
+
;
|
115
|
+
end
|
116
|
+
|
117
|
+
# @return [Boolean]
|
118
|
+
#
|
119
|
+
# source://netrc-0.11.0/lib/netrc.rb:112
|
120
|
+
def skip?(s)
|
121
|
+
;
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
# source://netrc-0.11.0/lib/netrc.rb:244
|
127
|
+
class Netrc::Entry < ::Struct
|
128
|
+
# Returns the value of attribute login
|
129
|
+
#
|
130
|
+
# @return [Object] the current value of login
|
131
|
+
def login; end
|
132
|
+
|
133
|
+
# Sets the attribute login
|
134
|
+
#
|
135
|
+
# @param value [Object] the value to set the attribute login to.
|
136
|
+
# @return [Object] the newly set value
|
137
|
+
def login=(_)
|
138
|
+
;
|
139
|
+
end
|
140
|
+
|
141
|
+
# Returns the value of attribute password
|
142
|
+
#
|
143
|
+
# @return [Object] the current value of password
|
144
|
+
def password; end
|
145
|
+
|
146
|
+
# Sets the attribute password
|
147
|
+
#
|
148
|
+
# @param value [Object] the value to set the attribute password to.
|
149
|
+
# @return [Object] the newly set value
|
150
|
+
def password=(_)
|
151
|
+
;
|
152
|
+
end
|
153
|
+
|
154
|
+
def to_ary; end
|
155
|
+
|
156
|
+
class << self
|
157
|
+
def [](*_arg0)
|
158
|
+
;
|
159
|
+
end
|
160
|
+
|
161
|
+
def inspect; end
|
162
|
+
|
163
|
+
def keyword_init?; end
|
164
|
+
|
165
|
+
def members; end
|
166
|
+
|
167
|
+
def new(*_arg0)
|
168
|
+
;
|
169
|
+
end
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
# source://netrc-0.11.0/lib/netrc.rb:250
|
174
|
+
class Netrc::Error < ::StandardError; end
|
175
|
+
|
176
|
+
# source://netrc-0.11.0/lib/netrc.rb:68
|
177
|
+
class Netrc::TokenArray < ::Array
|
178
|
+
# source://netrc-0.11.0/lib/netrc.rb:76
|
179
|
+
def readto; end
|
180
|
+
|
181
|
+
# source://netrc-0.11.0/lib/netrc.rb:69
|
182
|
+
def take; end
|
183
|
+
end
|
184
|
+
|
185
|
+
# source://netrc-0.11.0/lib/netrc.rb:4
|
186
|
+
Netrc::VERSION = T.let(T.unsafe(nil), String)
|