[DRE-commits] [SCM] ruby-webmock.git branch, master, updated. upstream/1.11.0-10-gfb7e1a5

Praveen Arimbrathodiyil praveen at debian.org
Tue May 21 18:40:13 UTC 2013


The following commit has been merged in the master branch:
commit fb7e1a5dba36d0f0a36f7654a18c77e070fb5fb9
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed May 22 00:09:35 2013 +0530

    skip building gem and whitespace tests

diff --git a/debian/patches/series b/debian/patches/series
index defa786..2c559ce 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 remove-rubygems-curb-version-check.patch
+skip-gem-building-whitespace-tests.patch
diff --git a/debian/patches/skip-gem-building-whitespace-tests.patch b/debian/patches/skip-gem-building-whitespace-tests.patch
new file mode 100644
index 0000000..bd81e5a
--- /dev/null
+++ b/debian/patches/skip-gem-building-whitespace-tests.patch
@@ -0,0 +1,22 @@
+--- a/spec/quality_spec.rb
++++ b/spec/quality_spec.rb
+@@ -37,9 +37,10 @@
+   end
+ 
+   it "has no malformed whitespace" do
++		pending 'don\'t bother with tab in debian/rules'
+     error_messages = []
+     Dir.chdir(File.expand_path("../..", __FILE__)) do
+-      `git ls-files`.split("\n").each do |filename|
++      `find * -type f`.split("\n").each do |filename|
+         next if filename =~ /\.gitmodules|fixtures/
+         error_messages << check_for_tab_characters(filename)
+         error_messages << check_for_extra_spaces(filename)
+@@ -49,6 +50,7 @@
+   end
+ 
+   it "can still be built" do
++		pending 'git ls-files to build gemspec won\'t work outside git repo'
+     Dir.chdir(File.expand_path('../../', __FILE__)) do
+       `gem build webmock.gemspec`
+       $?.should == 0

-- 
ruby-webmock.git



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