apple-data 1.0.499 → 1.0.504
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.
- checksums.yaml +4 -4
- data/README.md +27 -0
- data/lib/apple-data.rb +3 -0
- data/lib/apple_data/version.rb +1 -1
- data/lib/apple_data.rb +11 -5
- data/share/cores.yaml +312 -212
- data/share/ipsw.yaml +9831 -9831
- metadata +16 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75fba299fbf71f3eac935bc5290f5107cb55dc1bccc27f890d1a2fdffeaddcde
|
4
|
+
data.tar.gz: cdfcdd4917afac2ac2b04b9a23f96d46fd4de00be63f448ec354a210ae9af9eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 669b8b0e93b8ef15448a57f4947e1b185476c88a82746d8a75a9305de362f3eb0382c8df582e3e8a1b73aafc76454d7afce71b26f1efb818e5412454b5b49b96
|
7
|
+
data.tar.gz: 72be25f73cd68e7cb5ec94e46024bda36ed1f048c9acbacd833305882a44fe3ca6ff507aed1e8fa716b8e8c7b1ce2488c88b012f098e389a25214fde9ebd9af4
|
data/README.md
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# Apple Hardware Data
|
2
|
+
|
3
|
+
Brought to you by the [Hack Different](https://hackdifferent.com) team.
|
4
|
+
|
5
|
+
## Introduction
|
6
|
+
|
7
|
+
This is a package with compiled data files sourced from
|
8
|
+
the [hack-different/apple-knowledge](https://github.com/hack-different/apple-knowledge/tree/main/_data)
|
9
|
+
repository. Updates to that repository will automatically update this package, therefore no attempt should
|
10
|
+
be made to update the data files by any other method.
|
11
|
+
|
12
|
+
## Accessing the Data
|
13
|
+
|
14
|
+
For the time being, there is only one simple API:
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'apple_data'
|
18
|
+
|
19
|
+
|
20
|
+
```
|
21
|
+
|
22
|
+
## Credits
|
23
|
+
|
24
|
+
* [Hack Different - Community](https://hackdifferent.com)
|
25
|
+
* [Hack Different - Discord](https://hackdifferent.com/discord)
|
26
|
+
|
27
|
+
Package and repo created and maintained as a labor of love by [`rickmark`](https://github.com/rickmark)
|
data/lib/apple-data.rb
ADDED
data/lib/apple_data/version.rb
CHANGED
data/lib/apple_data.rb
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
# typed: strict
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
|
-
require '
|
5
|
-
require '
|
6
|
-
require '
|
7
|
-
require '
|
8
|
-
require '
|
4
|
+
require 'apple_data/boot_args'
|
5
|
+
require 'apple_data/fdr'
|
6
|
+
require 'apple_data/ioreg'
|
7
|
+
require 'apple_data/macho'
|
8
|
+
require 'apple_data/lockdown'
|
9
|
+
|
10
|
+
APPLE_DATA_SHARE = File.join(File.dirname(__FILE__), '../share/')
|
11
|
+
|
12
|
+
def get_data(file)
|
13
|
+
YAML.load_file(File.join(APPLE_DATA_SHARE, file))
|
14
|
+
end
|