[DRE-commits] [ruby-msgpack] 06/08: Use RSpec to test modules - Add ruby-rspec to Build-Deps.

Taku YASUI tach at debian.org
Fri Aug 16 10:26:59 UTC 2013


This is an automated email from the git hooks/post-receive script.

tach pushed a commit to branch master
in repository ruby-msgpack.

commit b24c35cc534f8f0052706df6ce35e841cd401fa9
Author: Taku YASUI <tach at debian.org>
Date:   Fri Aug 16 19:22:19 2013 +0900

    Use RSpec to test modules - Add ruby-rspec to Build-Deps.
---
 debian/changelog                |    2 ++
 debian/control                  |    2 +-
 debian/patches/10_fix_test_path |   10 ++++++++++
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a532e43..f17a75a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ ruby-msgpack (0.5.5-1) unstable; urgency=low
   * New upstream release.
     - Testing framework changed, fix patch 10_fix_test_path.
     - Endian problem has been fixed, remove patch 20_fix_bigendian.
+  * Use RSpec to test modules
+    - Add ruby-rspec to Build-Deps.
 
  -- Taku YASUI <tach at debian.org>  Fri, 16 Aug 2013 18:46:15 +0900
 
diff --git a/debian/control b/debian/control
index f6c0743..c756c1c 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: ruby
 Priority: extra
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Taku YASUI <tach at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), ruby-json
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), ruby-json, ruby-rspec
 Standards-Version: 3.9.3
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-msgpack.git
 Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-msgpack.git;a=summary
diff --git a/debian/patches/10_fix_test_path b/debian/patches/10_fix_test_path
index 6c26d97..3543d04 100644
--- a/debian/patches/10_fix_test_path
+++ b/debian/patches/10_fix_test_path
@@ -53,3 +53,13 @@
  
  describe Unpacker do
    let :unpacker do
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -13,6 +13,7 @@
+   GC.stress = true
+ end
+ 
++require 'rspec'
+ require 'msgpack'
+ 
+ Packer = MessagePack::Packer

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-msgpack.git



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