apple-data 1.0.573 → 1.0.574

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.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/lib/apple_data/fdr.rb +1 -1
  3. data/lib/apple_data/ioreg.rb +1 -1
  4. data/lib/apple_data/keybag.rb +1 -3
  5. data/lib/apple_data/lockdown.rb +1 -1
  6. data/lib/apple_data/version.rb +1 -1
  7. data/lib/apple_data.rb +1 -2
  8. data/share/devices/ADP3,1.yaml +204 -257
  9. data/share/devices/ADP3,2.yaml +204 -257
  10. data/share/devices/AppleTV5,3.yaml +123 -132
  11. data/share/devices/AudioAccessory5,1.yaml +140 -155
  12. data/share/devices/MacBookAir10,1.yaml +4859 -0
  13. data/share/devices/MacBookPro17,1.yaml +5095 -0
  14. data/share/devices/MacBookPro18,1.yaml +5563 -0
  15. data/share/devices/MacBookPro18,2.yaml +6167 -0
  16. data/share/devices/MacBookPro18,3.yaml +5562 -0
  17. data/share/devices/MacBookPro18,4.yaml +6166 -0
  18. data/share/devices/Macmini9,1.yaml +4605 -0
  19. data/share/devices/VirtualMac2,1.yaml +286 -287
  20. data/share/devices/Watch3,1.yaml +189 -209
  21. data/share/devices/Watch3,2.yaml +189 -209
  22. data/share/devices/Watch3,3.yaml +184 -198
  23. data/share/devices/Watch3,4.yaml +184 -198
  24. data/share/devices/Watch4,1.yaml +180 -204
  25. data/share/devices/Watch4,2.yaml +180 -204
  26. data/share/devices/Watch4,3.yaml +193 -221
  27. data/share/devices/Watch4,4.yaml +193 -221
  28. data/share/devices/Watch5,1.yaml +199 -233
  29. data/share/devices/Watch5,10.yaml +198 -231
  30. data/share/devices/Watch5,11.yaml +211 -249
  31. data/share/devices/Watch5,12.yaml +211 -248
  32. data/share/devices/Watch5,2.yaml +199 -232
  33. data/share/devices/Watch5,3.yaml +211 -249
  34. data/share/devices/Watch5,4.yaml +211 -248
  35. data/share/devices/Watch5,9.yaml +198 -232
  36. data/share/devices/Watch6,1.yaml +208 -253
  37. data/share/devices/Watch6,2.yaml +208 -252
  38. data/share/devices/Watch6,3.yaml +221 -271
  39. data/share/devices/Watch6,4.yaml +221 -270
  40. data/share/devices/Watch6,6.yaml +209 -256
  41. data/share/devices/Watch6,7.yaml +209 -256
  42. data/share/devices/Watch6,8.yaml +222 -274
  43. data/share/devices/Watch6,9.yaml +222 -274
  44. data/share/devices/iBridge2,1.yaml +146 -172
  45. data/share/devices/iBridge2,10.yaml +169 -198
  46. data/share/devices/iBridge2,11.yaml +155 -183
  47. data/share/devices/iBridge2,12.yaml +157 -185
  48. data/share/devices/iBridge2,13.yaml +168 -197
  49. data/share/devices/iBridge2,14.yaml +168 -197
  50. data/share/devices/iBridge2,15.yaml +156 -184
  51. data/share/devices/iBridge2,16.yaml +168 -197
  52. data/share/devices/iBridge2,19.yaml +150 -179
  53. data/share/devices/iBridge2,20.yaml +150 -179
  54. data/share/devices/iBridge2,21.yaml +168 -197
  55. data/share/devices/iBridge2,22.yaml +168 -197
  56. data/share/devices/iBridge2,3.yaml +169 -198
  57. data/share/devices/iBridge2,4.yaml +169 -198
  58. data/share/devices/iBridge2,5.yaml +137 -159
  59. data/share/devices/iBridge2,6.yaml +137 -161
  60. data/share/devices/iBridge2,7.yaml +169 -198
  61. data/share/devices/iBridge2,8.yaml +157 -185
  62. data/share/devices/iMac21,1.yaml +4953 -0
  63. data/share/devices/iMac21,2.yaml +4801 -0
  64. data/share/devices/iPad11,1.yaml +213 -266
  65. data/share/devices/iPad11,2.yaml +219 -274
  66. data/share/devices/iPad11,3.yaml +225 -281
  67. data/share/devices/iPad11,4.yaml +231 -289
  68. data/share/devices/iPad11,6.yaml +214 -262
  69. data/share/devices/iPad11,7.yaml +220 -270
  70. data/share/devices/iPad12,1.yaml +223 -280
  71. data/share/devices/iPad12,2.yaml +238 -301
  72. data/share/devices/iPad13,1.yaml +511 -733
  73. data/share/devices/iPad13,10.yaml +566 -797
  74. data/share/devices/iPad13,11.yaml +566 -797
  75. data/share/devices/iPad13,16.yaml +284 -367
  76. data/share/devices/iPad13,17.yaml +293 -381
  77. data/share/devices/iPad13,2.yaml +520 -744
  78. data/share/devices/iPad13,4.yaml +556 -787
  79. data/share/devices/iPad13,5.yaml +556 -787
  80. data/share/devices/iPad13,6.yaml +565 -801
  81. data/share/devices/iPad13,7.yaml +565 -801
  82. data/share/devices/iPad13,8.yaml +557 -787
  83. data/share/devices/iPad13,9.yaml +557 -787
  84. data/share/devices/iPad14,1.yaml +311 -400
  85. data/share/devices/iPad14,2.yaml +321 -416
  86. data/share/devices/iPad6,11.yaml +155 -169
  87. data/share/devices/iPad6,12.yaml +157 -172
  88. data/share/devices/iPad7,11.yaml +176 -205
  89. data/share/devices/iPad7,12.yaml +180 -210
  90. data/share/devices/iPad8,10.yaml +230 -287
  91. data/share/devices/iPad8,11.yaml +221 -275
  92. data/share/devices/iPad8,12.yaml +227 -283
  93. data/share/devices/iPhone10,1.yaml +227 -279
  94. data/share/devices/iPhone10,2.yaml +227 -279
  95. data/share/devices/iPhone10,3.yaml +233 -282
  96. data/share/devices/iPhone10,4.yaml +232 -284
  97. data/share/devices/iPhone10,5.yaml +232 -284
  98. data/share/devices/iPhone10,6.yaml +238 -287
  99. data/share/devices/iPhone11,2.yaml +242 -308
  100. data/share/devices/iPhone11,4.yaml +242 -308
  101. data/share/devices/iPhone11,6.yaml +242 -307
  102. data/share/devices/iPhone11,8.yaml +259 -324
  103. data/share/devices/iPhone12,1.yaml +302 -383
  104. data/share/devices/iPhone12,3.yaml +306 -390
  105. data/share/devices/iPhone12,5.yaml +306 -391
  106. data/share/devices/iPhone12,8.yaml +278 -361
  107. data/share/devices/iPhone13,1.yaml +563 -814
  108. data/share/devices/iPhone13,2.yaml +565 -814
  109. data/share/devices/iPhone13,3.yaml +565 -814
  110. data/share/devices/iPhone13,4.yaml +563 -815
  111. data/share/devices/iPhone14,2.yaml +363 -489
  112. data/share/devices/iPhone14,3.yaml +363 -491
  113. data/share/devices/iPhone14,4.yaml +360 -483
  114. data/share/devices/iPhone14,5.yaml +360 -483
  115. data/share/devices/iPhone14,6.yaml +372 -501
  116. data/share/devices/iPhone6,1.yaml +132 -140
  117. data/share/devices/iPhone6,2.yaml +132 -140
  118. data/share/devices/iPhone7,1.yaml +160 -178
  119. data/share/devices/iPhone7,2.yaml +159 -177
  120. data/share/devices/iPhone8,1.yaml +167 -191
  121. data/share/devices/iPhone8,2.yaml +168 -192
  122. data/share/devices/iPhone8,4.yaml +162 -185
  123. data/share/devices/iPhone9,1.yaml +199 -232
  124. data/share/devices/iPhone9,2.yaml +200 -233
  125. data/share/devices/iPhone9,3.yaml +201 -234
  126. data/share/devices/iPhone9,4.yaml +202 -235
  127. data/share/devices/iProd99,1.yaml +224 -286
  128. metadata +10 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66cffd4ef67d332519abdade5896f5fc4c09a5990fd1ea87c4c9ed82eb5e8c74
4
- data.tar.gz: 9e2369399ac3997915753732bd52d7e8aab0ca859aa6a321eb724354fcf590e0
3
+ metadata.gz: 299763839c6fbeb46adf2ae410e44f33813357a8141b6dd34bfb3f68e2ccb2b8
4
+ data.tar.gz: 7b66777a4dccbbead0180212b409e19511b3b2732ede134d33b35b266a7a1b18
5
5
  SHA512:
6
- metadata.gz: a5f247b8c71757a0611659735d0d6389684048c547a15174e22ab4ccde716f2d70cb4205eefd4b9fab0c644e217401e69d20be10134e771c77f5190fb3466f0e
7
- data.tar.gz: bee6db1e73a9042c1de29dd1674831d79d6ea80457e95c27615e2299899ca02a17ccc1e6c27d14d01e6d986cfc5dc7b93250c625c15fe00d6ac4165a7e41de55
6
+ metadata.gz: 0d66a60b4a6c69c51d9d3acba50e06c280f0e4a7cd5a652268b1a3be18773a56bd2b23c2f9dad8a8817a41c021ef68c95f111504f8a8fe0d928ac86f300ae669
7
+ data.tar.gz: 65b485a06cea12ea4f437aa2b7776d55c15e43bc32acf5055d970c087cfd35bab167ef7fdc0fb65dc8e00fa312c89b146e9bb51d2e647ddbc25b4d071165166c
@@ -4,7 +4,7 @@
4
4
  # Factory Device Restore
5
5
  class FDRData < DataFile
6
6
  def initialize
7
- super 'fdr.yaml'
7
+ super('fdr.yaml')
8
8
 
9
9
  @data ||= {}
10
10
 
@@ -4,7 +4,7 @@
4
4
  # Data file for the IOReg data
5
5
  class IORegData < DataFile
6
6
  def initialize
7
- super 'ioreg.yaml'
7
+ super('ioreg.yaml')
8
8
 
9
9
  @classes = []
10
10
 
@@ -12,9 +12,7 @@ module AppleData
12
12
  end
13
13
 
14
14
  def save_all
15
- @keybags.each do |_key, keybag|
16
- keybag.save
17
- end
15
+ @keybags.each_value(&:save)
18
16
  end
19
17
 
20
18
  def [](chip_id)
@@ -4,7 +4,7 @@
4
4
  # Schema file for the `lockdownd.yaml` file
5
5
  class LockdownData < DataFile
6
6
  def initialize
7
- super 'lockdownd.yaml'
7
+ super('lockdownd.yaml')
8
8
  @data ||= {}
9
9
  @data['clients'] ||= []
10
10
  @data['domains'] ||= []
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppleData
4
- VERSION = '1.0.573'
4
+ VERSION = '1.0.574'
5
5
  end
data/lib/apple_data.rb CHANGED
@@ -1,4 +1,3 @@
1
- # typed: strict
2
1
  # frozen_string_literal: true
3
2
 
4
3
  require 'apple_data/boot_args'
@@ -7,7 +6,7 @@ require 'apple_data/ioreg'
7
6
  require 'apple_data/macho'
8
7
  require 'apple_data/lockdown'
9
8
 
10
- APPLE_DATA_SHARE = File.join(File.dirname(__FILE__), '../share/')
9
+ APPLE_DATA_SHARE = T.let(File.join(File.dirname(__FILE__), '../share/'), String)
11
10
 
12
11
  def get_data(file)
13
12
  YAML.load_file(File.join(APPLE_DATA_SHARE, file))