hackmac 0.4.1 → 0.4.2

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: e31666568c0306204cd0f47663bebb3f5356c21cfc2ae68502d1a71a1584b216
4
- data.tar.gz: 73d5127bf3747e8f95a06c8b6213cedba403d279c76273bed2e7265b123c5e03
3
+ metadata.gz: 7b4c0a270c4ccb95e0cb89a10b52eac46bfbac9e2746c84a8e9c5ce095da9745
4
+ data.tar.gz: 2d77b2635c3bca27292616da9f6cbbe485b9f5ed8a68a73882f44290ed4f4b0a
5
5
  SHA512:
6
- metadata.gz: d74298a7025caf5aff3bbd1d00e423865c6862ae0de724f6e1dd7d12dfac28b5771e86853601c58a9e659884dddb7f0fd2235cc5cfc563a1b524fd196125cfda
7
- data.tar.gz: 74b5de0dadcd8e22ab554e1fa3040eef3a6c6039425c3377fa9f584d1a2d53be8cdb68231555f23f847b53b67300c9373386cbf20d06e47b8ef7c9c3fdbfeafd
6
+ metadata.gz: e1a2cb687120175362d2d7e71bb8352383319d87e81b691cba460854cdf6c39c5d59f6368c8ba9f87f6f92edd9db48599e96f295e3cfa7845140cda99180079b
7
+ data.tar.gz: 778a43906f80bd64614efe7b2253f4bd4e35510d673edbf0b6a2114b998d06e19364c14c5979f7003164040d15cbbd5feebb94f944e22833132fb08377f09dd9
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
data/hackmac.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: hackmac 0.4.1 ruby lib
2
+ # stub: hackmac 0.4.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "hackmac".freeze
6
- s.version = "0.4.1"
6
+ s.version = "0.4.2"
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]
@@ -35,14 +35,14 @@ module Hackmac
35
35
  system "unzip #{name.inspect}" or fail "Could not unzip #{name.inspect}"
36
36
  kext_pathes = []
37
37
  Find.find(dir) do |path|
38
- if FileTest.directory?(path)
38
+ if File.directory?(path)
39
39
  case File.basename(path)
40
40
  when /\A\./
41
41
  Find.prune
42
42
  when "#{kext.name}.kext"
43
43
  kext_pathes.unshift path
44
44
  when
45
- *@config.kext.sources[kext.name]&.plugins&.map { |p| p + '.kext' }
45
+ *@config.kext.sources[kext.name]&.plugins?&.map { |p| p + '.kext' }
46
46
  then
47
47
  kext_pathes << path
48
48
  end
@@ -1,6 +1,6 @@
1
1
  module Hackmac
2
2
  # Hackmac version
3
- VERSION = '0.4.1'
3
+ VERSION = '0.4.2'
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.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank