plat4m 1.1.4 → 1.1.5

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: '0568f72f0ee486986fb69681365388282d6a3ebce70cdd6aa7124b2c5ec7286e'
4
- data.tar.gz: 9c6b999ec6a913a576a1ce05f242f6a6a8e8bcff45a9ed67ef81ce0db7f177b7
3
+ metadata.gz: 6c906e715c39405f297449cf7b02ee3503ae7aea84beb5c51c5705c6ca105e4c
4
+ data.tar.gz: d3363054965588d0b904d01e15d2e1c0f05c0c26509e258d0c3c7274f53f1948
5
5
  SHA512:
6
- metadata.gz: a1bf2e5b82143028990f8dc384228ab58d4bf861d7d2ee826ad40e1b734e7dc86748b0d0ed4ccc298fa56064c889e21ca82148faaf00d7ba831a86915d58ea1e
7
- data.tar.gz: e06c38c1caa125f661446fec555ce6da4541259419fe680c4474de1a89a96e21d7dcdc37e4ffc71acf490b2fe722bd35c4e13f2b0939cdda847fdd1aa12d5ef0
6
+ metadata.gz: bebb7ce20b33d4e1a56e187dc9155a690be7f3f77c6fd6715b487b467f7d1dd59c95c3a95f168fec3732df56c5db5941efcdf53517f673a3b17e28ec4ed6de2c
7
+ data.tar.gz: e2706a64af4d84ff9c20cdfa88d62f3004bc5e1d82014f88bf271434d8ec80b4e15490e4c9f8ac6673b9e4801590a118874cd2d9926850197010d76b0417b082
@@ -40,7 +40,10 @@ module Plat4m
40
40
  end
41
41
  {
42
42
  variant: if data['ID_LIKE']
43
- data['ID_LIKE'].split.first.to_sym
43
+ case (_v = data['ID_LIKE'].split.first.to_sym)
44
+ when :ubuntu then :debian # Distro like Mint has "ID_LIKE=ubuntu debian"
45
+ else _v
46
+ end
44
47
  elsif File.file?('/etc/redhat-release')
45
48
  :rhel
46
49
  elsif File.file?('/etc/SUSE-brand') || File.file?('/etc/SuSE-release')
@@ -8,6 +8,6 @@
8
8
  module Plat4m
9
9
 
10
10
  # Current Plat4m version.
11
- VERSION = '1.1.4'
11
+ VERSION = '1.1.5'.freeze
12
12
 
13
13
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plat4m
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Corino
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-11-01 00:00:00.000000000 Z
10
+ date: 2025-01-11 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: Plat4m is a simple runtime system platform scouting and support library.
14
13
  email: mcorino@m2c-software.nl
@@ -33,7 +32,6 @@ metadata:
33
32
  bug_tracker_uri: https://github.com/mcorino/plat4m/issues
34
33
  homepage_uri: https://github.com/mcorino/plat4m
35
34
  github_repo: https://github.com/mcorino/plat4m
36
- post_install_message:
37
35
  rdoc_options: []
38
36
  require_paths:
39
37
  - lib
@@ -48,8 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
48
46
  - !ruby/object:Gem::Version
49
47
  version: '0'
50
48
  requirements: []
51
- rubygems_version: 3.5.16
52
- signing_key:
49
+ rubygems_version: 3.6.2
53
50
  specification_version: 4
54
51
  summary: Runtime system detection.
55
52
  test_files: []