[DRE-commits] [SCM] ruby-addressable.git branch, master, updated. upstream/2.2.6-20-gf09bbea

Cédric Boutillier cedric.boutillier at gmail.com
Fri Jun 29 19:35:28 UTC 2012


The following commit has been merged in the master branch:
commit 14706266becdd70e3d2934bbcd5241bea55f4f45
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Fri Jun 29 05:59:49 2012 +0200

    Enable test suite. Build-depend on ruby-rspec, rake. Build against gem2deb >= 0.3.0

diff --git a/debian/control b/debian/control
index ba21971..15d49fb 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Deepak Tripathi <deepak at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.2)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0), ruby-rspec, rake
 Standards-Version: 3.9.2
 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-addressable.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-addressable.git;a=summary
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..11227c8
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,12 @@
+require "rspec/core/rake_task"
+
+RSpec::Core::RakeTask.new(:spec) do |t|
+  # net_http_compat requires network access
+  t.pattern = FileList['spec/**/*_spec.rb'].exclude(/net_http_compat/)
+end
+
+task :default => :spec
+
+
+
+

-- 
ruby-addressable.git



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