Blame SOURCES/rubygem-bundler-1.3.1-Fix-gem_helper_spec.patch

838842
From 31fd2fdae5220d6c2525da503bff97289a09ffef Mon Sep 17 00:00:00 2001
838842
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
838842
Date: Thu, 7 Mar 2013 09:27:54 +0100
838842
Subject: [PATCH] Fix gem_helper_spec.
838842
838842
Fixes "Bundler::GemHelper tasks gem management release releases even
838842
if tag already exists", otherwise the test case fails with:
838842
838842
     RuntimeError:
838842
       There are files that need to be committed first.
838842
---
838842
 spec/bundler/gem_helper_spec.rb | 7 +++++--
838842
 1 file changed, 5 insertions(+), 2 deletions(-)
838842
838842
diff --git a/spec/bundler/gem_helper_spec.rb b/spec/bundler/gem_helper_spec.rb
838842
index 4fce534..134fc87 100644
838842
--- a/spec/bundler/gem_helper_spec.rb
838842
+++ b/spec/bundler/gem_helper_spec.rb
838842
@@ -185,8 +185,11 @@ describe "Bundler::GemHelper tasks" do
838842
           `git init --bare`
838842
         }
838842
         Dir.chdir(@app) {
838842
-         `git commit -a -m "another commit"`
838842
-         `git tag -a -m \"Version 0.0.1\" v0.0.1`
838842
+          `git init`
838842
+          `git config user.email "you@example.com"`
838842
+          `git config user.name "name"`
838842
+          `git commit -a -m "another commit"`
838842
+          `git tag -a -m \"Version 0.0.1\" v0.0.1`
838842
         }
838842
         @helper.release_gem
838842
       end
838842
-- 
838842
1.8.3.1
838842