[DRE-commits] [SCM] cucumber.git branch, master, updated. debian/1.0.2-2-12-gbddf4a3

Cédric Boutillier cedric.boutillier at gmail.com
Thu Jun 21 23:04:17 UTC 2012


The following commit has been merged in the master branch:
commit 1d9255384665920c9f424326a5afc68d338f80b1
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Wed Jun 20 21:10:31 2012 +0200

    Use ruby-test.rake to run tests. Build-depend on rake. Bump Standards-Version: to 3.9.3 (no changes needed)

diff --git a/debian/control b/debian/control
index 48eda16..04df129 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,8 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Antonio Terceiro <terceiro at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.12~), ruby-json, ruby-diff-lcs, ruby-gherkin, ruby-builder, rake, ruby-rspec, ruby-nokogiri
-Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.12~), ruby-json, ruby-diff-lcs, ruby-gherkin (>= 2.11.0~), ruby-builder, rake, ruby-rspec, ruby-nokogiri, rake
+Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/pkg-ruby-extras/cucumber.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/cucumber.git;a=summary
 Homepage: http://cukes.info/
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..89a753d
--- /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
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index dde12a5..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-$: << 'spec'
-require 'rspec'
-Dir.glob('spec/**/*_spec.rb').each do |f|
-  require f
-end

-- 
cucumber.git



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