[DRE-commits] [SCM] ruby-dataobjects-mysql.git branch, master, updated. upstream/0.10.8-15-g013f89d

Cédric Boutillier cedric.boutillier at gmail.com
Sat Apr 21 13:46:33 UTC 2012


The following commit has been merged in the master branch:
commit 013f89d022826b191b97d6e2e37b223bbf326be3
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Sat Apr 21 15:31:54 2012 +0200

    run tests with ruby-tests.rake instead of ruby-test-files.yaml

diff --git a/debian/changelog b/debian/changelog
index 30112e9..beb29ae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,10 @@ ruby-dataobjects-mysql (0.10.8-1) unstable; urgency=low
   * New upstream release
   * Bump Standards-Version to 3.9.3 (no change needed)
   * Use official DEP5 copyright format URL
+  * Use ruby-tests.rake to run the tests to circumvent the fact that tests are
+    not run automatically with RSpec >= 2.8.0.
 
- -- Cédric Boutillier <cedric.boutillier at gmail.com>  Sun, 04 Mar 2012 16:54:22 +0100
+ -- Cédric Boutillier <cedric.boutillier at gmail.com>  Sat, 21 Apr 2012 15:29:17 +0200
 
 ruby-dataobjects-mysql (0.10.7-1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 7acb824..073779b 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Deepak Tripathi <deepak at debian.org>, Cédric Boutillier <cedric.boutillier at gmail.com>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.10~), libmysqlclient-dev (>= 5.1), mysql-server-5.1, ruby-dataobjects (>= 0.10.8~), ruby-rspec (>= 2.5)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.10~), libmysqlclient-dev (>= 5.1), mysql-server-5.1, ruby-dataobjects (>= 0.10.8~), ruby-rspec (>= 2.5), rake
 Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-dataobjects-mysql.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-dataobjects-mysql.git;a=summary
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index d1afcd0..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,22 +0,0 @@
---- 
-- spec/command_spec.rb
-- spec/connection_spec.rb
-- spec/encoding_spec.rb
-- spec/error/sql_error_spec.rb
-- spec/reader_spec.rb
-- spec/result_spec.rb
-- spec/spec_helper.rb
-- spec/typecast/array_spec.rb
-- spec/typecast/bigdecimal_spec.rb
-- spec/typecast/boolean_spec.rb
-- spec/typecast/byte_array_spec.rb
-- spec/typecast/class_spec.rb
-- spec/typecast/date_spec.rb
-- spec/typecast/datetime_spec.rb
-- spec/typecast/float_spec.rb
-- spec/typecast/integer_spec.rb
-- spec/typecast/nil_spec.rb
-- spec/typecast/other_spec.rb
-- spec/typecast/range_spec.rb
-- spec/typecast/string_spec.rb
-- spec/typecast/time_spec.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..b0bf936
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  spec.pattern      = './spec/*_spec.rb'
+end
+
+task :default => :spec

-- 
ruby-dataobjects-mysql.git



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