Your message dated Sun, 02 Jun 2013 15:50:01 +0000
with message-id <[email protected]>
and subject line Bug#679688: fixed in rubygems-integration 1.2
has caused the Debian Bug report #679688,
regarding rubygems-integration: ruby1.9.1 -W (as used by testsuites) emits 
warnings
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 [email protected]
immediately.)


-- 
679688: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679688
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rubygems-integration
Version: 1.0
Severity: important

ruby1.9.1 -W (as used by the gem2deb test runner, apparently), warns
about discarding implementations in operating_system.rb:

% echo 'require "rubygems"' | ruby1.9.1 -W
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:3: warning: 
method redefined; discarding old default_dir
/usr/lib/ruby/1.9.1/rubygems/defaults.rb:25: warning: previous definition of 
default_dir was here
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:7: warning: 
method redefined; discarding old default_bindir
/usr/lib/ruby/1.9.1/rubygems/defaults.rb:96: warning: previous definition of 
default_bindir was here

Attached is a patch that "fixes" these warnings by aliasing the old 
definitions, not sure if this is the way to go.

  -ch

-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-openvz-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb	2012-06-30 21:34:29.576424151 +0200
+++ operating_system.rb	2012-06-30 21:34:24.604473172 +0200
@@ -1,9 +1,11 @@
 class << Gem
 
+  alias :upstream_default_dir :default_dir
   def default_dir
     File.join('/', 'var', 'lib', 'gems', Gem::ConfigMap[:ruby_version])
   end
 
+  alias :upstream_default_bindir :default_bindir
   def default_bindir
     File.join('/', 'usr', 'local', 'bin')
   end

--- End Message ---
--- Begin Message ---
Source: rubygems-integration
Source-Version: 1.2

We believe that the bug you reported is fixed in the latest version of
rubygems-integration, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Terceiro <[email protected]> (supplier of updated 
rubygems-integration package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 02 Jun 2013 12:31:00 -0300
Source: rubygems-integration
Binary: rubygems-integration
Architecture: source all
Version: 1.2
Distribution: unstable
Urgency: low
Maintainer: Debian Ruby Extras Maintainers 
<[email protected]>
Changed-By: Antonio Terceiro <[email protected]>
Description: 
 rubygems-integration - integrates Debian Ruby packages with Rubygems
Closes: 679688
Changes: 
 rubygems-integration (1.2) unstable; urgency=low
 .
   [ Cédric Boutillier ]
   * debian/control: remove obsolete DM-Upload-Allowed flag
   * use canonical URI in Vcs-* fields
 .
   [ Christian Hofstaedtler ]
   * Silence warnings caused by overriding methods (Closes: #679688)
Checksums-Sha1: 
 29c99092164489551b6f84afe667b681c5618bc3 1092 rubygems-integration_1.2.dsc
 f180472e6b34715cf38f5edf1623d4332d57c09b 4827 rubygems-integration_1.2.tar.gz
 e559a90da0ab5f725ec40d0a56244c84a9fa64a7 5006 rubygems-integration_1.2_all.deb
Checksums-Sha256: 
 9676f74ed5678b590750be9a2fc59ec3230e48cf5d941be74995a2cbf8286bd0 1092 
rubygems-integration_1.2.dsc
 56780f34552ae65f142b7d384b023bfc986aca6fb401e428fa202a66c53a4c79 4827 
rubygems-integration_1.2.tar.gz
 a09d767d1c487d48a9c1ed6d1221c10b28f9d8cc0729cac4ac6846af871546e4 5006 
rubygems-integration_1.2_all.deb
Files: 
 3f6ecd311030976b2fc0b9133a8b590b 1092 ruby optional 
rubygems-integration_1.2.dsc
 5d7b248d217d1e4e5f6b38e8a20d86df 4827 ruby optional 
rubygems-integration_1.2.tar.gz
 8968f598cadf7e3a490a74d1f20e783b 5006 ruby optional 
rubygems-integration_1.2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlGrZqkACgkQDOM8kQ+cso83pQCfUPagOFQSn8l8czzP32jxEmJz
CkIAn3OIw4cC0j8TIHSG9tPVZ91BIxS7
=bRNj
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to