[rubygems/rubygems] Missing tweak
https://github.com/rubygems/rubygems/commit/407c1cbcfe
This commit is contained in:
parent
4be199e435
commit
aea603615f
@ -126,7 +126,7 @@ class Gem::Platform
|
|||||||
when /solaris-?(\d+\.\d+)?/ then ["solaris", $1]
|
when /solaris-?(\d+\.\d+)?/ then ["solaris", $1]
|
||||||
when /wasi/ then ["wasi", nil]
|
when /wasi/ then ["wasi", nil]
|
||||||
# test
|
# test
|
||||||
when /^(\w+_platform)(\d+)?/ then [$1, $2]
|
when /^(\w+_platform)-?(\d+)?/ then [$1, $2]
|
||||||
else ["unknown", nil]
|
else ["unknown", nil]
|
||||||
end
|
end
|
||||||
when Gem::Platform then
|
when Gem::Platform then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user