[DRE-commits] [SCM] ruby-http-parser.rb.git branch, avtobiff/build, updated. upstream/0.5.3-19-ga844dbe

Cédric Boutillier boutil at debian.org
Mon Jun 17 16:01:13 UTC 2013


The following commit has been merged in the avtobiff/build branch:
commit e8f3703c65256fcf8a9bd1dfd4082e998db44325
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon Jun 17 17:51:51 2013 +0200

    use rake method to run tests (almost revert f6043f7ec)

diff --git a/debian/control b/debian/control
index 732814d..56cad1a 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,6 @@ Build-Depends:
  gem2deb (>= 0.4.1~),
  libhttp-parser-dev,
  rake,
- rake-compiler,
  ruby-json,
  ruby-rspec,
  ruby-yajl
diff --git a/tasks/spec.rake b/debian/ruby-tests.rake
similarity index 50%
copy from tasks/spec.rake
copy to debian/ruby-tests.rake
index 8f5d9ea..a2fba75 100644
--- a/tasks/spec.rake
+++ b/debian/ruby-tests.rake
@@ -1,5 +1,7 @@
 require "rspec/core/rake_task"
 
-RSpec::Core::RakeTask.new do |t|
+RSpec::Core::RakeTask.new(:spec) do |t|
   t.rspec_opts = %w(-fs -c)
 end
+
+task :default => :spec
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index 1e56d72..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1 +0,0 @@
-exec("rake spec")

-- 
ruby-http-parser.rb.git



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