apple-data 1.0.502 → 1.0.506
Sign up to get free protection for your applications and to get access to all the features.
- 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
- 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: 450efa04a4231ec1a2abec26fef7ad42f797bd811c2513338a859294627208d6
|
4
|
+
data.tar.gz: abe1baac0511f755b8cb46e8c7b50542c0809ca0c57d4ed91897128ca11be1f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5005af7aab1a49221a6defb40a13826f4fbfad65e8e025c6f53eb499fbfd706c870e9ca9df1253bd14e1d69fe3c9d8eb258971b5d308db252b00a5eef291c990
|
7
|
+
data.tar.gz: 6e9a53788b6bfc753656378d917b3844d644d7cefeac3c63b421fae052193309757f1b6734feef92c5acb7768ad8fa12c7a9bb8d2cb1fdd551c5f83b887bde4e
|
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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apple-data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.506
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rick Mark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pathutil
|
@@ -24,13 +24,19 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
description:
|
28
|
-
|
27
|
+
description: |2
|
28
|
+
This package includes machine readable data about Apple platforms maintained by hack-different.
|
29
|
+
|
30
|
+
To update the contents of this gem perform a pull request against the `_data` folder of the repository
|
31
|
+
at hack-different/apple-knowledge.
|
29
32
|
email: rickmark@outlook.com
|
30
33
|
executables: []
|
31
34
|
extensions: []
|
32
|
-
extra_rdoc_files:
|
35
|
+
extra_rdoc_files:
|
36
|
+
- README.md
|
33
37
|
files:
|
38
|
+
- README.md
|
39
|
+
- lib/apple-data.rb
|
34
40
|
- lib/apple_data.rb
|
35
41
|
- lib/apple_data/boot_args.rb
|
36
42
|
- lib/apple_data/fdr.rb
|
@@ -122,7 +128,10 @@ licenses:
|
|
122
128
|
metadata:
|
123
129
|
source_code_uri: https://github.com/hack-different/apple-knowledge
|
124
130
|
post_install_message:
|
125
|
-
rdoc_options:
|
131
|
+
rdoc_options:
|
132
|
+
- "--main"
|
133
|
+
- README.md
|
134
|
+
- "--title=Hack Different AppleData"
|
126
135
|
require_paths:
|
127
136
|
- lib
|
128
137
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -139,5 +148,5 @@ requirements: []
|
|
139
148
|
rubygems_version: 3.3.7
|
140
149
|
signing_key:
|
141
150
|
specification_version: 4
|
142
|
-
summary: Static data from https://docs.hackdiffe.rent
|
151
|
+
summary: Static data files from https://docs.hackdiffe.rent
|
143
152
|
test_files: []
|