[DRE-commits] [SCM] ruby-rack.git branch, upstream, updated. debian/1.4.0-1-5-g065db2a

Youhei SASAKI uwabami at gfd-dennou.org
Tue Mar 6 16:12:35 UTC 2012


The following commit has been merged in the upstream branch:
commit 065db2a820f8b6d3771adfaca2a51ecb5d9f5842
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Wed Mar 7 01:07:49 2012 +0900

    Update ruby-tests.rb -> ruby-tests.rake: running full test
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>

diff --git a/debian/changelog b/debian/changelog
index 5fd1403..9b08bec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,12 @@
-ruby-rack (1.4.1-1) unstable; urgency=low
+ruby-rack (1.4.1-1) UNRELEASED; urgency=low
 
-  * New upstream version 1.4.1
-  * Update patch handling: Add source/local-options
+  * New Upstream version 1.4.1
+  * Bump standard version: 3.9.3
+  * Add Build-Depends: rake, bacon, ruby-memcache-client, thin
+  * Add d/s/local-options: Update patch handling
+  * Update ruby-tests.rb to ruby-tests.rake: running full test
 
- -- Youhei SASAKI <uwabami at gfd-dennou.org>  Wed, 07 Mar 2012 00:45:31 +0900
+ -- Youhei SASAKI <uwabami at gfd-dennou.org>  Wed, 07 Mar 2012 01:00:16 +0900
 
 ruby-rack (1.4.0-1) unstable; urgency=low
 
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..0f67eeb
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,8 @@
+# -*- mode: ruby; coding: utf-8 -*-
+require 'rbconfig' unless defined? RbConfig
+ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
+
+task :default do
+  sh "#{ruby} /usr/bin/bacon -r./test/gemloader -I./lib:./test -w -a -q "
+  # -t '^(?!Rack::Adapter|Rack::Session::Memcache|Rack::Server|Rack::Handler)'"
+end
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index e231ce9..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-if RUBY_VERSION <= '1.9.1'
-  system("rake test") or raise
-else
-  system("rake1.9.1 test") or raise
-end
diff --git a/debian/rules b/debian/rules
index b2eab18..10264bc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
 #export DH_VERBOSE=1
 #
 # Uncomment to ignore all test failures (but the tests will run anyway)
-export DH_RUBY_IGNORE_TESTS=all
+# export DH_RUBY_IGNORE_TESTS=all
 #
 # Uncomment to ignore some test failures (but the tests will run anyway).
 # Valid values:

-- 
ruby-rack.git



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