hackmac 0.3.3 → 0.3.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/VERSION +1 -1
- data/bin/efi +1 -0
- data/hackmac.gemspec +2 -2
- data/lib/hackmac/kext.rb +5 -2
- data/lib/hackmac/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f25cc8626236ba947d5d0b80832612e3cab36b86e625d68fd89efb2549e600ef
|
|
4
|
+
data.tar.gz: bcb21df5c03cb05b09c432c61e7f18475a7be130cb695e499b963f6f8a49a321
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50330b8e379462829f47fec861fc2492608535aa5c3ac6550fec8b25531b15148f872f1e9cac280c315ef65b331c6a3ed4152042344675aec8b0e0ec90b77307
|
|
7
|
+
data.tar.gz: 614b174361b3efa2bfd3d4a92110e62e06aed129f864589f30d7b1894de8ceffd8c6623cb2a1689e10d240e2cd2efd85465d52d70863a99f493efaa9e756f73c
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.4
|
data/bin/efi
CHANGED
|
@@ -128,6 +128,7 @@ when 'kexts'
|
|
|
128
128
|
styler: -> v, s { v.version < v.remote_version ? s.red : s.green rescue s.yellow },
|
|
129
129
|
formatter: -> e { "%s %s %s" % [ e.version, ({ 0 => ?=, -1 => ?<, 1 => ?> }[e.version <=> e.remote_version] rescue nil), e.remote_version ] },
|
|
130
130
|
header_styler: bold_head)
|
|
131
|
+
t.add_column(:path, header_styler: bold_head)
|
|
131
132
|
}.pack
|
|
132
133
|
when 'kext'
|
|
133
134
|
path = ARGV.shift or fail 'need kext dir'
|
data/hackmac.gemspec
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: hackmac 0.3.
|
|
2
|
+
# stub: hackmac 0.3.4 ruby lib
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "hackmac".freeze
|
|
6
|
-
s.version = "0.3.
|
|
6
|
+
s.version = "0.3.4"
|
|
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]
|
data/lib/hackmac/kext.rb
CHANGED
|
@@ -8,11 +8,14 @@ module Hackmac
|
|
|
8
8
|
include Tins::StringVersion
|
|
9
9
|
|
|
10
10
|
def initialize(path:, config: nil)
|
|
11
|
-
@path =
|
|
12
|
-
|
|
11
|
+
@path = path
|
|
12
|
+
info = Pathname.new(@path) + 'Contents/Info.plist'
|
|
13
|
+
@plist = File.open(info, encoding: 'UTF-8') { |f| ::Plist.parse_xml(f) }
|
|
13
14
|
@config = config
|
|
14
15
|
end
|
|
15
16
|
|
|
17
|
+
attr_reader :path
|
|
18
|
+
|
|
16
19
|
def identifier
|
|
17
20
|
CFBundleIdentifier()
|
|
18
21
|
end
|
data/lib/hackmac/version.rb
CHANGED