mootool 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +7 -0
  3. data/Gemfile +1 -0
  4. data/Gemfile.lock +71 -67
  5. data/lib/mootool/command.rb +1 -0
  6. data/lib/mootool/controller_base.rb +1 -0
  7. data/lib/mootool/controllers/dwarf.rb +2 -1
  8. data/lib/mootool/controllers/dyld_linker.rb +1 -0
  9. data/lib/mootool/controllers/dyld_shared_cache.rb +1 -0
  10. data/lib/mootool/controllers/fat_binary.rb +1 -0
  11. data/lib/mootool/controllers/kernel_collection.rb +4 -3
  12. data/lib/mootool/controllers/sections.rb +1 -0
  13. data/lib/mootool/core_extensions.rb +3 -3
  14. data/lib/mootool/models/decompressor.rb +5 -2
  15. data/lib/mootool/models/device_tree.rb +5 -3
  16. data/lib/mootool/models/img4.rb +2 -1
  17. data/lib/mootool/models/ipsw.rb +5 -1
  18. data/lib/mootool/version.rb +2 -1
  19. data/lib/mootool.rb +1 -0
  20. data/sorbet/config +1 -1
  21. data/sorbet/rbi/annotations/.gitattributes +1 -0
  22. data/sorbet/rbi/annotations/rainbow.rbi +2 -2
  23. data/sorbet/rbi/gems/.gitattributes +1 -0
  24. data/sorbet/rbi/gems/ast@2.4.2.rbi +48 -82
  25. data/sorbet/rbi/gems/childprocess@4.1.0.rbi +107 -153
  26. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +192 -332
  27. data/sorbet/rbi/gems/docile@1.4.0.rbi +376 -0
  28. data/sorbet/rbi/gems/erubi@1.12.0.rbi +146 -0
  29. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +166 -276
  30. data/sorbet/rbi/gems/{json@2.6.2.rbi → json@2.6.3.rbi} +119 -228
  31. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
  32. data/sorbet/rbi/gems/lzfse@0.0.2.rbi +55 -0
  33. data/sorbet/rbi/gems/lzss@0.1.rbi +8 -0
  34. data/sorbet/rbi/gems/netrc@0.11.0.rbi +52 -80
  35. data/sorbet/rbi/gems/{overcommit@0.59.1.rbi → overcommit@0.60.0.rbi} +534 -887
  36. data/sorbet/rbi/gems/parallel@1.23.0.rbi +273 -0
  37. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +5451 -0
  38. data/sorbet/rbi/gems/{plist@3.6.0.rbi → plist@3.7.0.rbi} +125 -3
  39. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
  40. data/sorbet/rbi/gems/prism@0.17.1.rbi +27700 -0
  41. data/sorbet/rbi/gems/racc@1.7.3.rbi +161 -0
  42. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +141 -191
  43. data/sorbet/rbi/gems/rake@13.1.0.rbi +2887 -0
  44. data/sorbet/rbi/gems/{rbi@0.0.15.rbi → rbi@0.1.4.rbi} +979 -1676
  45. data/sorbet/rbi/gems/regexp_parser@2.8.2.rbi +3749 -0
  46. data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.2.6.rbi} +811 -1268
  47. data/sorbet/rbi/gems/{rspec-core@3.11.0.rbi → rspec-core@3.12.2.rbi} +2662 -4722
  48. data/sorbet/rbi/gems/{rspec-expectations@3.11.0.rbi → rspec-expectations@3.12.3.rbi} +1557 -2608
  49. data/sorbet/rbi/gems/rspec-mocks@3.12.6.rbi +5306 -0
  50. data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +1609 -0
  51. data/sorbet/rbi/gems/rspec@3.12.0.rbi +82 -0
  52. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7090 -0
  53. data/sorbet/rbi/gems/rubocop-capybara@2.19.0.rbi +1125 -0
  54. data/sorbet/rbi/gems/rubocop-factory_bot@2.24.0.rbi +878 -0
  55. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +88 -173
  56. data/sorbet/rbi/gems/rubocop-rspec@2.25.0.rbi +7997 -0
  57. data/sorbet/rbi/gems/rubocop@1.57.2.rbi +56813 -0
  58. data/sorbet/rbi/gems/ruby-lzma@0.4.3.rbi +19 -0
  59. data/sorbet/rbi/gems/ruby-macho@3.0.0.rbi +899 -1237
  60. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
  61. data/sorbet/rbi/gems/rubyzip@2.3.2.rbi +808 -1275
  62. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +216 -0
  63. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2148 -0
  64. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
  65. data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
  66. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23136 -0
  67. data/sorbet/rbi/gems/tapioca@0.11.12.rbi +3507 -0
  68. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
  69. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
  70. data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +4531 -7160
  71. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +24 -72
  72. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +385 -1697
  73. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +7 -30
  74. data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +1 -3
  75. data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
  76. data/sorbet/rbi/sorbet-typed/lib/yard/all/yard.rbi +35 -0
  77. data/sorbet/tapioca/require.rb +13 -1
  78. metadata +47 -35
  79. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  80. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
  81. data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -353
  82. data/sorbet/rbi/gems/parser@3.1.2.1.rbi +0 -6198
  83. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  84. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -3587
  85. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +0 -3927
  86. data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +0 -6506
  87. data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +0 -2040
  88. data/sorbet/rbi/gems/rspec@3.11.0.rbi +0 -120
  89. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +0 -7990
  90. data/sorbet/rbi/gems/rubocop-rspec@2.12.1.rbi +0 -7604
  91. data/sorbet/rbi/gems/rubocop@1.35.0.rbi +0 -62260
  92. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -1445
  93. data/sorbet/rbi/gems/spoom@1.1.12.rbi +0 -2829
  94. data/sorbet/rbi/gems/tapioca@0.9.3.rbi +0 -2151
  95. data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -4532
  96. data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +0 -60
  97. data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -8
  98. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -3075
  99. data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +0 -458
  100. data/sorbet/rbi/todo.rbi +0 -7
@@ -4,11 +4,13 @@
4
4
  # This is an autogenerated file for types exported from the `plist` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem plist`.
6
6
 
7
+ # source://plist//lib/plist/generator.rb#174
7
8
  class Array
8
9
  include ::Enumerable
9
10
  include ::Plist::Emit
10
11
  end
11
12
 
13
+ # source://plist//lib/plist/generator.rb#178
12
14
  class Hash
13
15
  include ::Enumerable
14
16
  include ::Plist::Emit
@@ -20,6 +22,8 @@ end
20
22
  # This is the main point of the library:
21
23
  #
22
24
  # r = Plist.parse_xml(filename_or_xml)
25
+ #
26
+ # source://plist//lib/plist/generator.rb#9
23
27
  module Plist
24
28
  class << self
25
29
  # Note that I don't use these two elements much:
@@ -32,7 +36,14 @@ module Plist
32
36
  # can't be parsed into a Time object, please create an issue
33
37
  # attaching your plist file at https://github.com/patsplat/plist/issues
34
38
  # so folks can implement the proper support.
35
- def parse_xml(filename_or_xml); end
39
+ #
40
+ # By default, <data> will be assumed to be a marshaled Ruby object and
41
+ # interpreted with <tt>Marshal.load</tt>. Pass <tt>marshal: false</tt>
42
+ # to disable this behavior and return the raw binary data as an IO
43
+ # object instead.
44
+ #
45
+ # source://plist//lib/plist/parser.rb#34
46
+ def parse_xml(filename_or_xml, options = T.unsafe(nil)); end
36
47
  end
37
48
  end
38
49
 
@@ -50,11 +61,17 @@ end
50
61
  # * User classes may implement +to_plist_node+ to dictate how they should be serialized; otherwise the object will be passed to <tt>Marshal.dump</tt> and the result placed in a <data> element.
51
62
  #
52
63
  # For detailed usage instructions, refer to USAGE[link:files/docs/USAGE.html] and the methods documented below.
64
+ #
65
+ # source://plist//lib/plist/generator.rb#24
53
66
  module Plist::Emit
54
67
  # Helper method for injecting into classes. Calls <tt>Plist::Emit.save_plist</tt> with +self+.
68
+ #
69
+ # source://plist//lib/plist/generator.rb#33
55
70
  def save_plist(filename, options = T.unsafe(nil)); end
56
71
 
57
72
  # Helper method for injecting into classes. Calls <tt>Plist::Emit.dump</tt> with +self+.
73
+ #
74
+ # source://plist//lib/plist/generator.rb#28
58
75
  def to_plist(envelope = T.unsafe(nil), options = T.unsafe(nil)); end
59
76
 
60
77
  class << self
@@ -66,147 +83,252 @@ module Plist::Emit
66
83
  # +IO+ and +StringIO+ objects are encoded and placed in <data> elements; other objects are <tt>Marshal.dump</tt>'ed unless they implement +to_plist_node+.
67
84
  #
68
85
  # The +envelope+ parameters dictates whether or not the resultant plist fragment is wrapped in the normal XML/plist header and footer. Set it to false if you only want the fragment.
86
+ #
87
+ # source://plist//lib/plist/generator.rb#45
69
88
  def dump(obj, envelope = T.unsafe(nil), options = T.unsafe(nil)); end
70
89
 
71
90
  # Writes the serialized object's plist to the specified filename.
91
+ #
92
+ # source://plist//lib/plist/generator.rb#55
72
93
  def save_plist(obj, filename, options = T.unsafe(nil)); end
73
94
 
95
+ # source://plist//lib/plist/generator.rb#162
74
96
  def wrap(contents); end
75
97
  end
76
98
  end
77
99
 
100
+ # source://plist//lib/plist/generator.rb#25
78
101
  Plist::Emit::DEFAULT_INDENT = T.let(T.unsafe(nil), String)
79
102
 
103
+ # source://plist//lib/plist/generator.rb#63
80
104
  class Plist::Emit::PlistBuilder
81
105
  # @return [PlistBuilder] a new instance of PlistBuilder
106
+ #
107
+ # source://plist//lib/plist/generator.rb#64
82
108
  def initialize(indent_str); end
83
109
 
110
+ # source://plist//lib/plist/generator.rb#68
84
111
  def build(element, level = T.unsafe(nil)); end
85
112
 
86
113
  private
87
114
 
115
+ # source://plist//lib/plist/generator.rb#157
88
116
  def comment_tag(content); end
117
+
118
+ # source://plist//lib/plist/generator.rb#125
89
119
  def data_tag(data, level); end
120
+
121
+ # source://plist//lib/plist/generator.rb#144
90
122
  def element_type(item); end
123
+
124
+ # source://plist//lib/plist/generator.rb#140
91
125
  def indent(str, level); end
126
+
127
+ # source://plist//lib/plist/generator.rb#113
92
128
  def tag(type, contents, level, &block); end
93
129
  end
94
130
 
131
+ # source://plist//lib/plist/parser.rb#42
95
132
  class Plist::Listener
96
133
  # @return [Listener] a new instance of Listener
97
- def initialize; end
134
+ #
135
+ # source://plist//lib/plist/parser.rb#47
136
+ def initialize(options = T.unsafe(nil)); end
98
137
 
99
138
  # include REXML::StreamListener
139
+ #
140
+ # source://plist//lib/plist/parser.rb#45
100
141
  def open; end
101
142
 
102
143
  # include REXML::StreamListener
144
+ #
145
+ # source://plist//lib/plist/parser.rb#45
103
146
  def open=(_arg0); end
104
147
 
105
148
  # include REXML::StreamListener
149
+ #
150
+ # source://plist//lib/plist/parser.rb#45
106
151
  def result; end
107
152
 
108
153
  # include REXML::StreamListener
154
+ #
155
+ # source://plist//lib/plist/parser.rb#45
109
156
  def result=(_arg0); end
110
157
 
158
+ # source://plist//lib/plist/parser.rb#64
111
159
  def tag_end(name); end
160
+
161
+ # source://plist//lib/plist/parser.rb#53
112
162
  def tag_start(name, attributes); end
163
+
164
+ # source://plist//lib/plist/parser.rb#57
113
165
  def text(contents); end
114
166
  end
115
167
 
168
+ # source://plist//lib/plist/parser.rb#210
116
169
  class Plist::PArray < ::Plist::PTag
170
+ # source://plist//lib/plist/parser.rb#211
117
171
  def to_ruby; end
118
172
  end
119
173
 
174
+ # source://plist//lib/plist/parser.rb#250
120
175
  class Plist::PData < ::Plist::PTag
176
+ # source://plist//lib/plist/parser.rb#251
121
177
  def to_ruby; end
122
178
  end
123
179
 
180
+ # source://plist//lib/plist/parser.rb#243
124
181
  class Plist::PDate < ::Plist::PTag
182
+ # source://plist//lib/plist/parser.rb#244
125
183
  def to_ruby; end
126
184
  end
127
185
 
186
+ # source://plist//lib/plist/parser.rb#180
128
187
  class Plist::PDict < ::Plist::PTag
188
+ # source://plist//lib/plist/parser.rb#181
129
189
  def to_ruby; end
130
190
  end
131
191
 
192
+ # source://plist//lib/plist/parser.rb#230
132
193
  class Plist::PFalse < ::Plist::PTag
194
+ # source://plist//lib/plist/parser.rb#231
133
195
  def to_ruby; end
134
196
  end
135
197
 
198
+ # source://plist//lib/plist/parser.rb#218
136
199
  class Plist::PInteger < ::Plist::PTag
200
+ # source://plist//lib/plist/parser.rb#219
137
201
  def to_ruby; end
138
202
  end
139
203
 
204
+ # source://plist//lib/plist/parser.rb#198
140
205
  class Plist::PKey < ::Plist::PTag
206
+ # source://plist//lib/plist/parser.rb#199
141
207
  def to_ruby; end
142
208
  end
143
209
 
210
+ # source://plist//lib/plist/parser.rb#174
144
211
  class Plist::PList < ::Plist::PTag
212
+ # source://plist//lib/plist/parser.rb#175
145
213
  def to_ruby; end
146
214
  end
147
215
 
216
+ # source://plist//lib/plist/parser.rb#236
148
217
  class Plist::PReal < ::Plist::PTag
218
+ # source://plist//lib/plist/parser.rb#237
149
219
  def to_ruby; end
150
220
  end
151
221
 
222
+ # source://plist//lib/plist/parser.rb#204
152
223
  class Plist::PString < ::Plist::PTag
224
+ # source://plist//lib/plist/parser.rb#205
153
225
  def to_ruby; end
154
226
  end
155
227
 
228
+ # source://plist//lib/plist/parser.rb#150
156
229
  class Plist::PTag
157
230
  # @return [PTag] a new instance of PTag
158
- def initialize; end
231
+ #
232
+ # source://plist//lib/plist/parser.rb#164
233
+ def initialize(options); end
159
234
 
160
235
  # Returns the value of attribute children.
236
+ #
237
+ # source://plist//lib/plist/parser.rb#163
161
238
  def children; end
162
239
 
163
240
  # Sets the attribute children
164
241
  #
165
242
  # @param value the value to set the attribute children to.
243
+ #
244
+ # source://plist//lib/plist/parser.rb#163
166
245
  def children=(_arg0); end
167
246
 
247
+ # Returns the value of attribute options.
248
+ #
249
+ # source://plist//lib/plist/parser.rb#163
250
+ def options; end
251
+
252
+ # Sets the attribute options
253
+ #
254
+ # @param value the value to set the attribute options to.
255
+ #
256
+ # source://plist//lib/plist/parser.rb#163
257
+ def options=(_arg0); end
258
+
168
259
  # Returns the value of attribute text.
260
+ #
261
+ # source://plist//lib/plist/parser.rb#163
169
262
  def text; end
170
263
 
171
264
  # Sets the attribute text
172
265
  #
173
266
  # @param value the value to set the attribute text to.
267
+ #
268
+ # source://plist//lib/plist/parser.rb#163
174
269
  def text=(_arg0); end
175
270
 
271
+ # source://plist//lib/plist/parser.rb#169
176
272
  def to_ruby; end
177
273
 
178
274
  class << self
179
275
  # @private
276
+ #
277
+ # source://plist//lib/plist/parser.rb#155
180
278
  def inherited(sub_class); end
181
279
 
280
+ # source://plist//lib/plist/parser.rb#151
182
281
  def mappings; end
183
282
  end
184
283
  end
185
284
 
285
+ # source://plist//lib/plist/parser.rb#224
186
286
  class Plist::PTrue < ::Plist::PTag
287
+ # source://plist//lib/plist/parser.rb#225
187
288
  def to_ruby; end
188
289
  end
189
290
 
291
+ # source://plist//lib/plist/parser.rb#74
190
292
  class Plist::StreamParser
191
293
  # @return [StreamParser] a new instance of StreamParser
294
+ #
295
+ # source://plist//lib/plist/parser.rb#75
192
296
  def initialize(plist_data_or_file, listener); end
193
297
 
298
+ # source://plist//lib/plist/parser.rb#96
194
299
  def parse; end
195
300
 
196
301
  private
197
302
 
303
+ # source://plist//lib/plist/parser.rb#135
198
304
  def parse_encoding_from_xml_declaration(xml_declaration); end
199
305
  end
200
306
 
307
+ # source://plist//lib/plist/parser.rb#88
201
308
  Plist::StreamParser::CDATA = T.let(T.unsafe(nil), Regexp)
309
+
310
+ # source://plist//lib/plist/parser.rb#92
202
311
  Plist::StreamParser::COMMENT_END = T.let(T.unsafe(nil), Regexp)
312
+
313
+ # source://plist//lib/plist/parser.rb#91
203
314
  Plist::StreamParser::COMMENT_START = T.let(T.unsafe(nil), Regexp)
315
+
316
+ # source://plist//lib/plist/parser.rb#90
204
317
  Plist::StreamParser::DOCTYPE_PATTERN = T.let(T.unsafe(nil), Regexp)
318
+
319
+ # source://plist//lib/plist/parser.rb#87
205
320
  Plist::StreamParser::TEXT = T.let(T.unsafe(nil), Regexp)
321
+
322
+ # source://plist//lib/plist/parser.rb#93
206
323
  Plist::StreamParser::UNIMPLEMENTED_ERROR = T.let(T.unsafe(nil), String)
324
+
325
+ # source://plist//lib/plist/parser.rb#89
207
326
  Plist::StreamParser::XMLDECL_PATTERN = T.let(T.unsafe(nil), Regexp)
208
327
 
209
328
  # Raised when an element is not implemented
329
+ #
330
+ # source://plist//lib/plist/parser.rb#17
210
331
  class Plist::UnimplementedElementError < ::RuntimeError; end
211
332
 
333
+ # source://plist//lib/plist/version.rb#4
212
334
  Plist::VERSION = T.let(T.unsafe(nil), String)