plat4m 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/plat4m/sniff/linux.rb +4 -1
- data/lib/plat4m/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c906e715c39405f297449cf7b02ee3503ae7aea84beb5c51c5705c6ca105e4c
|
4
|
+
data.tar.gz: d3363054965588d0b904d01e15d2e1c0f05c0c26509e258d0c3c7274f53f1948
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bebb7ce20b33d4e1a56e187dc9155a690be7f3f77c6fd6715b487b467f7d1dd59c95c3a95f168fec3732df56c5db5941efcdf53517f673a3b17e28ec4ed6de2c
|
7
|
+
data.tar.gz: e2706a64af4d84ff9c20cdfa88d62f3004bc5e1d82014f88bf271434d8ec80b4e15490e4c9f8ac6673b9e4801590a118874cd2d9926850197010d76b0417b082
|
data/lib/plat4m/sniff/linux.rb
CHANGED
@@ -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')
|
data/lib/plat4m/version.rb
CHANGED
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
|
+
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:
|
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.
|
52
|
-
signing_key:
|
49
|
+
rubygems_version: 3.6.2
|
53
50
|
specification_version: 4
|
54
51
|
summary: Runtime system detection.
|
55
52
|
test_files: []
|