[DRE-commits] [ruby-webmock] 02/05: reverse one more patch
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Mon Apr 14 04:42:55 UTC 2014
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-webmock.
commit 788739eb333a12bd62013e706e845836f4f110dd
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Mon Apr 14 09:49:31 2014 +0530
reverse one more patch
---
lib/webmock/http_lib_adapters/curb_adapter.rb | 3 ++-
spec/quality_spec.rb | 4 +---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/lib/webmock/http_lib_adapters/curb_adapter.rb b/lib/webmock/http_lib_adapters/curb_adapter.rb
index 810d008..d40afc2 100644
--- a/lib/webmock/http_lib_adapters/curb_adapter.rb
+++ b/lib/webmock/http_lib_adapters/curb_adapter.rb
@@ -5,7 +5,8 @@ rescue LoadError
end
if defined?(Curl)
- WebMock::VersionChecker.new('Curb', Curl::CURB_VERSION, '0.7.16').check_version!
+# debian/control has ruby-curb >= 0.7.16 as build dependency
+# WebMock::VersionChecker.new('Curb', Curl::CURB_VERSION, '0.7.16').check_version!
module WebMock
module HttpLibAdapters
diff --git a/spec/quality_spec.rb b/spec/quality_spec.rb
index ee9c5da..b52d665 100644
--- a/spec/quality_spec.rb
+++ b/spec/quality_spec.rb
@@ -61,10 +61,9 @@ describe "The library itself" do
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
- `find * -type f`.split("\n").each do |filename|
+ `git ls-files`.split("\n").each do |filename|
next if filename =~ /\.gitmodules|fixtures/
error_messages << check_for_tab_characters(filename)
error_messages << check_for_extra_spaces(filename)
@@ -74,7 +73,6 @@ describe "The library itself" do
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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-webmock.git
More information about the Pkg-ruby-extras-commits
mailing list