apple-data 1.0.465 → 1.0.468

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e26da0ef08a55abf3507ae84fa44eeee37293c5f4814830920ef948c9889e54a
4
- data.tar.gz: d0ebe2539a6450b9205fd0fd318ec890fe7f0b0f1212ba56e25ec9036b1e3d1b
3
+ metadata.gz: 0510a22b2a45e50093b28cae093619f00524d8127c0d8816843139831a038b31
4
+ data.tar.gz: 6f7328cef25b1c28fb9a05f79a3983442dbc80c3dea8136b0bd7bc08ee63a576
5
5
  SHA512:
6
- metadata.gz: cd939b8c8569c999f07f8ff15528784506df9262474ccd490b049a6e716675d5d26d02355344061f9f77c4be490e7b8206db76a2378209d43294d1f5650e2a81
7
- data.tar.gz: 29fa3525b5b17b8bb83db76627587b89aa7a8a89398d378c74f643973dde26013e2102780111280e8e5c4d58c8f7e7b2ab6a83df637cf28c08ebda438605b327
6
+ metadata.gz: d0d367a71a9155a6a9fa23805146ed73cec40316ed991b89c3ffb7de73a66db7d7277e656a48b0dc9c922dd50fb8eaae1d58b20d5f0d03c8eadc0fad8d439c24
7
+ data.tar.gz: 95fd96d4da5fdb6967b7ff6c3d4ebb83c2749a74b9392fba106d2b0c2d9f7b2560ea88d83205126a2c9277d69b447f3a504401846f856442b7ec651ca298266c
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'zip'
4
+ require 'cfpropertylist'
5
+
6
+ # Represents an IPSW on disk and provides helper access
7
+ class IPSW
8
+ def initialize(path)
9
+ @path = path
10
+ @zip = Zip::File.open(@path)
11
+ @manifest = CFPropertyList.guess(@zip.get_entry('BuildManifest.plist').get_input_stream.read)
12
+ end
13
+
14
+ def baseband_files
15
+ result = []
16
+ @manifest['BuildIdentities'].each do |identity|
17
+ identity['Manifest'].each do |key, value|
18
+ result << value if key == 'BasebandFirmware'
19
+ end
20
+ end
21
+ result
22
+ end
23
+
24
+ def img4_files; end
25
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppleData
4
- VERSION = '1.0.465'
4
+ VERSION = '1.0.468'
5
5
  end