[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#950655: marked as done (buster-pu: package rubygems-integration/1.11+deb10u1)



Your message dated Sat, 09 May 2020 11:53:52 +0100
with message-id <fd7fa4d56896c35aab49a5a51cb69727dc60e87a.camel@adam-barratt.org.uk>
and subject line Closing requests included in 10.4 point release
has caused the Debian Bug report #950655,
regarding buster-pu: package rubygems-integration/1.11+deb10u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
950655: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950655
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian.org@packages.debian.org
Usertags: pu

Hello,

This update is part of a collaboration with upstream on their handling
of deprecations in the rubygems codebase. See
https://github.com/rubygems/rubygems/issues/3068 and the thread starting
at https://lists.debian.org/debian-ruby/2020/01/msg00015.html for
context.

In short: going forward, they want to only deprecate code on rubygems on
new releases of the ruby interpreter (~ once a year). But for this time,
there was a release where these warnings reached end users.

This is fixed by this update (patch attached). As you can see the patch
is pretty simple and harmless.
diff --git a/debian/changelog b/debian/changelog
index 272a6dc..b2d099a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+rubygems-integration (1.11+deb10u1) buster; urgency=medium
+
+  * Replace usage of Gem::ConfigMap with RbConfig::CONFIG
+
+ -- Antonio Terceiro <terceiro@debian.org>  Tue, 04 Feb 2020 14:11:57 +0100
+
 rubygems-integration (1.11) unstable; urgency=medium
 
   [ Cédric Boutillier ]
diff --git a/lib/rubygems/defaults/operating_system.rb b/lib/rubygems/defaults/operating_system.rb
index 461cfe4..f68f029 100644
--- a/lib/rubygems/defaults/operating_system.rb
+++ b/lib/rubygems/defaults/operating_system.rb
@@ -7,7 +7,7 @@ class << Gem
 
   alias :upstream_default_dir :default_dir
   def default_dir
-    File.join('/', 'var', 'lib', 'gems', Gem::ConfigMap[:ruby_version])
+    File.join('/', 'var', 'lib', 'gems', RbConfig::CONFIG["ruby_version"])
   end
 
   alias :upstream_default_bindir :default_bindir
@@ -26,8 +26,8 @@ class << Gem
       extra_path = File.join('/usr/share/rubygems-integration', '2.2')
     end
 
-    arch = Gem::ConfigMap[:arch]
-    api_version = Gem::ConfigMap[:ruby_version]
+    arch = RbConfig::CONFIG["arch"]
+    api_version = RbConfig::CONFIG["ruby_version"]
 
     upstream_default_path + [
       "/usr/lib/#{arch}/rubygems-integration/#{api_version}",

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 10.4

Hi,

Each of the uploads referred to by these bugs was included in today's
stable point release.

Regards,

Adam

--- End Message ---

Reply to: