plat4m 1.1.8 → 1.2.1

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: 8b35c328b3cc51501246121092df4e0638d0db8f428054d6767ff5493bb6ff30
4
- data.tar.gz: 2aa179f8f38e73729145719b1cce7546578258557137e7b3b51a9a8afb472e1b
3
+ metadata.gz: 94ea18f9383747b88efcbb390f58b768fab832874d437b6a6201f0dfbb0fef8e
4
+ data.tar.gz: f01e9eb2fe17e96e16747fdcfa7498fd0abf4343c78bcbefc5b8414496c653a7
5
5
  SHA512:
6
- metadata.gz: 21f5ee85f8f4f93a271d706d36feff1b1cc3bcf3a2975cd205f88efe01f1f8b6895e815cf1f49b3d1393c39c3c7e419bfe894c4e11cdc0f34b14c1ecb4e1b322
7
- data.tar.gz: b3d5bf5638245f8598caab02b8fe80e2330d9b742f18106b2fa155b2ccf08486a7f05fe3f004e7a8a034ec460be956003d9e36d7e1ea6cfc97db9d6988ec819c
6
+ metadata.gz: 0dd79dfd064961850a374c3e772330f627ca00f8d40b7d71d871979e08d28a6296ac0dfb1b2e62defa305ffb504fa58f2a033815418fa0684a907eeaebb476b1
7
+ data.tar.gz: 041443d0a1f19084dc3653f928712fffc4a24f545b590f96d443936d68383a208ce14c7fd071369dfb066330363ec199ab40461cf17c2ac192009202407fc02b
@@ -66,7 +66,9 @@ module Plat4m
66
66
  super
67
67
  @has_sudo = system('command -v sudo > /dev/null')
68
68
  @has_macports = system('command -v port>/dev/null')
69
- @has_homebrew = system('command -v brew>/dev/null')
69
+ # Homebrew has announced not to support MacOS on Intel anymore so do not use homebrew there
70
+ is_intel = Darwin.__send__(:get_arch) =~ /x86/
71
+ @has_homebrew = !is_intel && system('command -v brew>/dev/null')
70
72
  end
71
73
 
72
74
  def installed?(pkg)
@@ -8,6 +8,6 @@
8
8
  module Plat4m
9
9
 
10
10
  # Current Plat4m version.
11
- VERSION = '1.1.8'.freeze
11
+ VERSION = '1.2.1'.freeze
12
12
 
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plat4m
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.8
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Corino
@@ -46,7 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  requirements: []
49
- rubygems_version: 4.0.3
49
+ rubygems_version: 4.0.20
50
50
  specification_version: 4
51
51
  summary: Runtime system detection.
52
52
  test_files: []