[DRE-commits] [rubygems-integration] 01/01: Add /usr/share/rubygems-integration/all to the gem path.

Antonio Terceiro terceiro at moszumanska.debian.org
Mon Feb 10 15:21:15 UTC 2014


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository rubygems-integration.

commit e6c3fe5aa8b8ab2de0781813e428f137e06279e6
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Sun Feb 9 20:05:38 2014 -0300

    Add /usr/share/rubygems-integration/all to the gem path.
    
    This will allow installing a single gemspec for `Architecture: all`
    packages that will work with every interpreter, and won't require a new
    upload when a new interpreter comes along.
---
 debian/changelog                          | 9 +++++++++
 lib/rubygems/defaults/operating_system.rb | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 007377d..b14a577 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+rubygems-integration (1.5) unstable; urgency=medium
+
+  * Add /usr/share/rubygems-integration/all to the gem path.
+    This will allow installing a single gemspec for `Architecture: all`
+    packages that will work with every interpreter, and won't require a new
+    upload when a new interpreter comes along.
+
+ -- Antonio Terceiro <terceiro at debian.org>  Mon, 10 Feb 2014 12:16:17 -0300
+
 rubygems-integration (1.4) unstable; urgency=medium
 
   [ Christian Hofstaedtler ]
diff --git a/lib/rubygems/defaults/operating_system.rb b/lib/rubygems/defaults/operating_system.rb
index c67bed1..52cf34c 100644
--- a/lib/rubygems/defaults/operating_system.rb
+++ b/lib/rubygems/defaults/operating_system.rb
@@ -12,7 +12,7 @@ class << Gem
 
   alias :upstream_default_path :default_path
   def default_path
-    upstream_default_path + [File.join('/usr/share/rubygems-integration', Gem::ConfigMap[:ruby_version])]
+    upstream_default_path + [File.join('/usr/share/rubygems-integration', Gem::ConfigMap[:ruby_version]), '/usr/share/rubygems-integration/all']
   end
 
 end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/rubygems-integration.git



More information about the Pkg-ruby-extras-commits mailing list