apple-data 1.0.463 → 1.0.466

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: 05ab406fc498ff389948923871b7d441a87ad0bb60327b20077f89ed7718b44a
4
- data.tar.gz: f542a87521203890e6b72759a828a9a3c2c565012d19c003fa4cbd220ce1e2d2
3
+ metadata.gz: cb0a81755ea5f3c309e4f6f7cd175152b81bc2f6523464099976b128d5cf80b9
4
+ data.tar.gz: dd7a1dac9178787a9fa113b87f4b49522bbc2283e965622bf30f4b1bfd46fcc4
5
5
  SHA512:
6
- metadata.gz: eeab1971649c536b6f8c1b9d8a1e6d92baca21f1d01814f7ab651e98d0f0d7fd01b560903c914e63b03854538af07655f800e09ccd7c62d73ea1ce024bf940ef
7
- data.tar.gz: 0c4871eeef00070b56b4a57947a96b9a4906b35914ebba5c5f6f3841b86ed4a3712335bec2d26e8d68c08c71a0c671284e55eeda030d7aab3b0d45e9cc2da4a0
6
+ metadata.gz: 52d67baf39e89645c49abdac6364fa722d204eb3b9388d0487e4f613f0927ada79d4b2a62a44e0a06e10e598446e2858a7f3afc15e1b88441b572c8f08c3dfa1
7
+ data.tar.gz: 4341b7b7881ac9ac1fe5dc814c88a8f131c7f7e2bab336ba505dbe9b244c4c24355e4d23f0d799dc2c085be43949a4d24d2e783895d2544bfc5afa7393aa99aa
@@ -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.463'
4
+ VERSION = '1.0.466'
5
5
  end