plat4m 1.1.0 → 1.1.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 +4 -4
- data/lib/plat4m/sniff/linux.rb +1 -1
- data/lib/plat4m/system.rb +3 -3
- data/lib/plat4m/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4481fa20e386ce17cb2e32497e4751ef06a0c8fe8f6924ccc39123ef39b1d7fc
|
|
4
|
+
data.tar.gz: abe2c6c42b690c0d62f2172cf7fa105d8f18979f34c5ea0bcf8dc1df2a7c26aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc950cde9aa00a2b3071db15c912bc946b931aeac7afc6f823a7083a21a97bd6d8fdf04eedfd6a6140f9ee3c94132fd6e7f4b75f1b3efb1d67fe9e1c3a295923
|
|
7
|
+
data.tar.gz: b4d5e19123e3651fdbcb2b6ddc96f817750a809f04add82a7b08353898dfae08f733d3a523fa93954c629a8666aba813e9323a3accf06eabbc862f1f34f412f1
|
data/lib/plat4m/sniff/linux.rb
CHANGED
data/lib/plat4m/system.rb
CHANGED
|
@@ -76,14 +76,14 @@ module Plat4m
|
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
def to_s
|
|
79
|
-
"#{@distro}-#{@release}[#{@id}#{@variant ? " #{@variant}" : ''}
|
|
79
|
+
"#{@distro}-#{@release}[#{@id}#{@variant ? " #{@variant}" : ''}]"
|
|
80
80
|
end
|
|
81
81
|
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
def initialize(platform, os)
|
|
85
85
|
unless platform && platform.complete? && os && os.complete?
|
|
86
|
-
raise "Invalid system specification
|
|
86
|
+
raise "Invalid system specification : #{os} @ #{platform}"
|
|
87
87
|
end
|
|
88
88
|
@platform = platform
|
|
89
89
|
@os = os
|
|
@@ -151,7 +151,7 @@ module Plat4m
|
|
|
151
151
|
end
|
|
152
152
|
|
|
153
153
|
def detect_current
|
|
154
|
-
case RbConfig::CONFIG['
|
|
154
|
+
case RbConfig::CONFIG['target_os']
|
|
155
155
|
when /linux/
|
|
156
156
|
sniffers[:linux].detect_system
|
|
157
157
|
when /darwin/
|
data/lib/plat4m/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Corino
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-09-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Plat4m is a simple runtime system platform scouting and support library.
|
|
14
14
|
email: mcorino@m2c-software.nl
|
|
@@ -48,7 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
49
|
version: '0'
|
|
50
50
|
requirements: []
|
|
51
|
-
rubygems_version: 3.5.
|
|
51
|
+
rubygems_version: 3.5.16
|
|
52
52
|
signing_key:
|
|
53
53
|
specification_version: 4
|
|
54
54
|
summary: Runtime system detection.
|