public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Diego Petteno (flameeyes)" <flameeyes@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/bundler/files: bundler-1.1.5-nouserpriv.patch
Date: Tue, 14 Aug 2012 03:10:39 +0000 (UTC)	[thread overview]
Message-ID: <20120814031039.0FD482004B@flycatcher.gentoo.org> (raw)

flameeyes    12/08/14 03:10:39

  Added:                bundler-1.1.5-nouserpriv.patch
  Log:
  Bump to EAPI 4; use the compact syntax to add dependencies; add a patch to not fail tests when running them without userpriv; remove each_ruby_prepare that is pointless right now.
  
  (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-ruby/bundler/files/bundler-1.1.5-nouserpriv.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bundler/files/bundler-1.1.5-nouserpriv.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bundler/files/bundler-1.1.5-nouserpriv.patch?rev=1.1&content-type=text/plain

Index: bundler-1.1.5-nouserpriv.patch
===================================================================
From 58b5cf9444c0dbe8374557539bbcd6c58341323d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
Date: Mon, 13 Aug 2012 19:16:09 -0700
Subject: [PATCH] spec: do not check for /usr/bin not to be writable when
 running as root.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This test would fail on default GEntoo installs as the package is
executed as root.

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
---
 spec/install/gems/simple_case_spec.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/spec/install/gems/simple_case_spec.rb b/spec/install/gems/simple_case_spec.rb
index 0619ba5..1c932f1 100644
--- a/spec/install/gems/simple_case_spec.rb
+++ b/spec/install/gems/simple_case_spec.rb
@@ -796,7 +796,7 @@ describe "bundle install with gem sources" do
     # On OS X, Gem.bindir defaults to /usr/bin, so system_bindir is useful if
     # you want to avoid sudo installs for system gems with OS X's default ruby
     it "overrides Gem.bindir" do
-      Pathname.new("/usr/bin").should_not be_writable
+      Pathname.new("/usr/bin").should_not be_writable unless Process::euid == 0
       gemfile <<-G
         require 'rubygems'
         def Gem.bindir; "/usr/bin"; end
-- 
1.7.8.6






                 reply	other threads:[~2012-08-14  3:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120814031039.0FD482004B@flycatcher.gentoo.org \
    --to=flameeyes@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox