[前][次][番号順一覧][スレッド一覧]

ruby-changes:57920

From: f <ko1@a...>
Date: Thu, 26 Sep 2019 18:47:52 +0900 (JST)
Subject: [ruby-changes:57920] 1fb44d2b8c (master): [rubygems/rubygems] Detect libc version, closes #2918

https://git.ruby-lang.org/ruby.git/commit/?id=1fb44d2b8c

From 1fb44d2b8c324afdb969c37df48b0ff5856fa65f Mon Sep 17 00:00:00 2001
From: f <f@s...>
Date: Fri, 20 Sep 2019 10:38:10 -0300
Subject: [rubygems/rubygems] Detect libc version, closes #2918

https://github.com/rubygems/rubygems/commit/1d18b12a26

diff --git a/lib/rubygems/platform.rb b/lib/rubygems/platform.rb
index 603d8ae..dc2640e 100644
--- a/lib/rubygems/platform.rb
+++ b/lib/rubygems/platform.rb
@@ -88,7 +88,7 @@ class Gem::Platform https://github.com/ruby/ruby/blob/trunk/lib/rubygems/platform.rb#L88
                       when /^dalvik(\d+)?$/ then        [ 'dalvik',    $1  ]
                       when /^dotnet$/ then              [ 'dotnet',    nil ]
                       when /^dotnet([\d.]*)/ then       [ 'dotnet',    $1  ]
-                      when /linux/ then                 [ 'linux',     $1  ]
+                      when /linux-?(\w+)?/ then         [ 'linux',     $1  ]
                       when /mingw32/ then               [ 'mingw32',   nil ]
                       when /(mswin\d+)(\_(\d+))?/ then
                         os, version = $1, $3
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]