hackmac 1.8.3 → 1.8.4
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/CHANGES.md +22 -0
- data/README.md +4 -0
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/hackmac.gemspec +3 -3
- data/lib/hackmac/asset_tools.rb +1 -1
- data/lib/hackmac/graph.rb +1 -1
- data/lib/hackmac/plist.rb +1 -1
- data/lib/hackmac/version.rb +1 -1
- metadata +1 -2
- data/.context/code_comment.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e69904de91d7678019da3453c16e8553cd3de264dce2ff1fcfbc441569927f2
|
4
|
+
data.tar.gz: c265c3472238619b334ff42d77cfdd2e21c5255731fa0dedc4d26510269d1c5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39fe60b3de2e092ef2ce8a9ded9b2af554e25d30232072a8d04efd96908a573b924e27b5a2b324ea31849ec8849ef9ddbff7acfb847c8e7549084d78346fe9d5
|
7
|
+
data.tar.gz: 13cb1c8da6b8aba179beae4fee69dc49c3dd69ed8bdea5542ffaa1acd99c19fc10155245a193105b419a7ce1f767b3c821cfaac61ce73d0ccdfc3682df51a98d
|
data/CHANGES.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Changes
|
2
2
|
|
3
|
+
## 2025-09-20 v1.8.4
|
4
|
+
|
5
|
+
- Added a new section titled "Documentation" to the README with a link to the
|
6
|
+
API documentation hosted at GitHub.io
|
7
|
+
- Renamed `.context/code_comment.rb` to `.contexts/code_comment.rb` and updated
|
8
|
+
the directory structure for code comment context files while maintaining all
|
9
|
+
existing functionality
|
10
|
+
- Added a new GitHub Actions workflow file `.github/workflows/static.yml` to
|
11
|
+
deploy static content to GitHub Pages
|
12
|
+
- Updated the `Rakefile` to include the `.github` directory in the
|
13
|
+
`package_ignore` list and configured the workflow to run on push to the
|
14
|
+
master branch and manual dispatch
|
15
|
+
- Set up permissions for deployment to GitHub Pages and installed the
|
16
|
+
`gem_hadar` gem to generate documentation using `rake doc`
|
17
|
+
- Added `.yardoc` and `doc` directories to `.gitignore` and updated the
|
18
|
+
`Rakefile` to ignore these directories while removing `.byebug_history` from
|
19
|
+
both files
|
20
|
+
- Fixed markdown escaping in documentation comments, specifically updating the
|
21
|
+
`@param` documentation tag in `asset_tools.rb` to yield instead of block and
|
22
|
+
escaping `\@format_value` and `\@plist` references in `graph.rb` and
|
23
|
+
`plist.rb` respectively
|
24
|
+
|
3
25
|
## 2025-09-19 v1.8.3
|
4
26
|
|
5
27
|
- Enhanced README with improved formatting and detailed tool descriptions
|
data/README.md
CHANGED
@@ -7,6 +7,10 @@ customizing Hackintosh configurations. While primarily intended for users with
|
|
7
7
|
Hackintosh setups, it may also be useful for ordinary Mac users who want to
|
8
8
|
leverage its features for monitoring system performance using `gfxmon`.
|
9
9
|
|
10
|
+
## Documentation
|
11
|
+
|
12
|
+
Complete API documentation is available at: [GitHub.io](https://flori.github.io/hackmac/)
|
13
|
+
|
10
14
|
## Tools 🛠️
|
11
15
|
|
12
16
|
### `efi` - EFI Partition Management 📁
|
data/Rakefile
CHANGED
@@ -13,8 +13,8 @@ GemHadar do
|
|
13
13
|
executables Dir['bin/*'].map(&File.method(:basename))
|
14
14
|
test_dir 'tests'
|
15
15
|
ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', '.rvmrc', '.AppleDouble',
|
16
|
-
'tags', '.bundle', '.DS_Store', '.
|
17
|
-
package_ignore '.gitignore', '.contexts'
|
16
|
+
'tags', '.bundle', '.DS_Store', '.yardoc', 'doc'
|
17
|
+
package_ignore '.gitignore', '.contexts', '.github'
|
18
18
|
|
19
19
|
readme 'README.md'
|
20
20
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.8.
|
1
|
+
1.8.4
|
data/hackmac.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: hackmac 1.8.
|
2
|
+
# stub: hackmac 1.8.4 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "hackmac".freeze
|
6
|
-
s.version = "1.8.
|
6
|
+
s.version = "1.8.4".freeze
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.email = "flori@ping.de".freeze
|
14
14
|
s.executables = ["efi".freeze, "gfxmon".freeze, "usb".freeze]
|
15
15
|
s.extra_rdoc_files = ["README.md".freeze, "lib/hackmac.rb".freeze, "lib/hackmac/asset_tools.rb".freeze, "lib/hackmac/config.rb".freeze, "lib/hackmac/disks.rb".freeze, "lib/hackmac/github_source.rb".freeze, "lib/hackmac/graph.rb".freeze, "lib/hackmac/graph/display.rb".freeze, "lib/hackmac/ioreg.rb".freeze, "lib/hackmac/kext.rb".freeze, "lib/hackmac/kext_upgrader.rb".freeze, "lib/hackmac/oc.rb".freeze, "lib/hackmac/oc_upgrader.rb".freeze, "lib/hackmac/oc_validator.rb".freeze, "lib/hackmac/plist.rb".freeze, "lib/hackmac/url_download.rb".freeze, "lib/hackmac/utils.rb".freeze, "lib/hackmac/version.rb".freeze]
|
16
|
-
s.files = ["
|
16
|
+
s.files = ["CHANGES.md".freeze, "Gemfile".freeze, "LICENSE".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "bin/efi".freeze, "bin/gfxmon".freeze, "bin/usb".freeze, "hackmac.gemspec".freeze, "img/gfxmon.png".freeze, "lib/hackmac.rb".freeze, "lib/hackmac/asset_tools.rb".freeze, "lib/hackmac/config.rb".freeze, "lib/hackmac/disks.rb".freeze, "lib/hackmac/github_source.rb".freeze, "lib/hackmac/graph.rb".freeze, "lib/hackmac/graph/display.rb".freeze, "lib/hackmac/hackmac.yml".freeze, "lib/hackmac/ioreg.rb".freeze, "lib/hackmac/kext.rb".freeze, "lib/hackmac/kext_upgrader.rb".freeze, "lib/hackmac/oc.rb".freeze, "lib/hackmac/oc_upgrader.rb".freeze, "lib/hackmac/oc_validator.rb".freeze, "lib/hackmac/plist.rb".freeze, "lib/hackmac/url_download.rb".freeze, "lib/hackmac/utils.rb".freeze, "lib/hackmac/version.rb".freeze]
|
17
17
|
s.homepage = "http://github.com/flori/hackmac".freeze
|
18
18
|
s.licenses = ["MIT".freeze]
|
19
19
|
s.rdoc_options = ["--title".freeze, "Hackmac - Some useful tools for working with a Hackintosh".freeze, "--main".freeze, "README.md".freeze]
|
data/lib/hackmac/asset_tools.rb
CHANGED
@@ -26,7 +26,7 @@ module Hackmac
|
|
26
26
|
# the provided block within that context. After the block completes, it
|
27
27
|
# ensures proper cleanup of the temporary directory.
|
28
28
|
#
|
29
|
-
# @
|
29
|
+
# @yield [ dir ] the block to execute within the temporary
|
30
30
|
# directory context
|
31
31
|
#
|
32
32
|
# @return [ Object ] the return value of the yielded block
|
data/lib/hackmac/graph.rb
CHANGED
@@ -317,7 +317,7 @@ class Hackmac::Graph
|
|
317
317
|
# formatting strategy
|
318
318
|
#
|
319
319
|
# This method applies the appropriate formatting to a value based on the
|
320
|
-
#
|
320
|
+
# \@format_value instance variable configuration It supports different
|
321
321
|
# formatting approaches including custom Proc objects, Symbol-based method
|
322
322
|
# calls, and default formatting
|
323
323
|
#
|
data/lib/hackmac/plist.rb
CHANGED
@@ -23,7 +23,7 @@ module Hackmac
|
|
23
23
|
#
|
24
24
|
# This method executes a shell command and parses its XML output into a
|
25
25
|
# Ruby hash using the Plist library. The resulting hash is stored in the
|
26
|
-
#
|
26
|
+
# \@plist instance variable for later access through other methods.
|
27
27
|
#
|
28
28
|
# @param cmd [Array<String>] command and arguments to execute
|
29
29
|
#
|
data/lib/hackmac/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hackmac
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Frank
|
@@ -176,7 +176,6 @@ extra_rdoc_files:
|
|
176
176
|
- lib/hackmac/utils.rb
|
177
177
|
- lib/hackmac/version.rb
|
178
178
|
files:
|
179
|
-
- ".context/code_comment.rb"
|
180
179
|
- CHANGES.md
|
181
180
|
- Gemfile
|
182
181
|
- LICENSE
|
data/.context/code_comment.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
context do
|
2
|
-
namespace "bin" do
|
3
|
-
Dir['bin/*'].each do |filename|
|
4
|
-
file filename, tags: 'bin'
|
5
|
-
end
|
6
|
-
end
|
7
|
-
|
8
|
-
namespace "lib" do
|
9
|
-
Dir['lib/**/*.rb'].each do |filename|
|
10
|
-
file filename, tags: 'lib'
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
|
-
file 'README.md', tags: [ 'documentation' ]
|
15
|
-
end
|