hackmac 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f830eb63feda7a1b4d22ec09f759f05b17ac763b383f52c5d7ee066d61b688fc
4
- data.tar.gz: 1a93b8c2814d486a9eec9d3fdb00153882157dc45c0ff6215e9ea5427425ce5a
3
+ metadata.gz: 527e2b1122badb306396289a55eadd07b05637e3c5d86ab4b9dc68cfcb097ced
4
+ data.tar.gz: 46d344882a7a0ce9ad8dd6503701491934a99655881b281d2a315812f84dd269
5
5
  SHA512:
6
- metadata.gz: becf56df1593f4ebc88737c960a090df92b3b1d096d8e767c40401f000594491bdc66f421ba86718ee4f2e9676cf9250a9384d379f5b066eb202fe2408aa1b63
7
- data.tar.gz: 16eb552f99a54dabf87e9f05e98e6a8a62c0b21f5ba4abd6d67daf565c96edc848be49cbd07be03222d52c35ccf9b28cd6fc2858e3a8048883eb68f5431eb8fe
6
+ metadata.gz: 9c3d8d74bb8f4b4c373b16dca4ec9a7576977570283338567f1569980380f1692470176d2b82f41c5868123ac7842e4186554116d0e6e3a95e8742608de86f98
7
+ data.tar.gz: 6db81624193f35013dba6d1097cd7dbe256868af1769dec425dfa3ebc84dbb96454302a69a9f36b4f16b24fba749201341f444f894a110d0a2f973340f9497e9
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
data/bin/efi CHANGED
@@ -81,7 +81,7 @@ def usage
81
81
 
82
82
  The devices have to be different.
83
83
 
84
- kext list kexts in L/E and compare versions with clover kexts
84
+ kexts list kexts in L/E and compare versions with clover kexts
85
85
 
86
86
  argument DEVICE (defaults to #{default_dev})
87
87
 
@@ -109,9 +109,9 @@ when 'clone'
109
109
  to == 'boot' and to = dev
110
110
  from != to or fail "cloning only allowed from one partition to another"
111
111
  clone from: from, to: to
112
- when 'kext'
112
+ when 'kexts'
113
113
  begin
114
- mdev = ARGV.shift || dev
114
+ mdev = ARGV.shift || 'EFI'
115
115
  x %{sudo diskutil mount "#{mdev}"}
116
116
  on_efi = Dir["/Volumes/#{mdev}/EFI/CLOVER/kexts/Other/*.kext"].map { |path|
117
117
  Kext.new(path: path)
@@ -130,6 +130,9 @@ when 'kext'
130
130
  ensure
131
131
  x %{sudo diskutil umount "#{mdev}"}
132
132
  end
133
+ when 'kext'
134
+ path = ARGV.shift or fail 'need app dir'
135
+ puts Kext.new(path: path)
133
136
  when 'boot'
134
137
  disks = Disks.new
135
138
  efis = []
data/hackmac.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: hackmac 0.0.2 ruby lib
2
+ # stub: hackmac 0.0.3 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "hackmac".freeze
6
- s.version = "0.0.2"
6
+ s.version = "0.0.3"
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]
@@ -1,6 +1,6 @@
1
1
  module Hackmac
2
2
  # Hackmac version
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
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: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank