[DRE-commits] [ruby-rspec-puppet] 03/03: Add puppet-common and rspec-core to BD and enable tests
Sebastien Badia
sbadia-guest at moszumanska.debian.org
Thu Apr 9 14:04:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
sbadia-guest pushed a commit to branch master
in repository ruby-rspec-puppet.
commit 69b7e9b5ef7ba37cbf1df636e83eb64cde1addcc
Author: Sebastien Badia <seb at sebian.fr>
Date: Thu Apr 9 16:00:26 2015 +0200
Add puppet-common and rspec-core to BD and enable tests
---
debian/changelog | 8 ++++++++
debian/control | 5 ++++-
debian/ruby-tests.rake | 3 +++
debian/ruby-tests.rb | 13 -------------
4 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 1dd6802..c550c92 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-rspec-puppet (2.0.1-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Add puppet-common and rspec-core to BD and enable tests
+
+ -- Sebastien Badia <seb at sebian.fr> Thu, 09 Apr 2015 16:00:08 +0200
+
ruby-rspec-puppet (2.0.0-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/control b/debian/control
index 90937d9..b2c13ef 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,10 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Thomas Bechtold <toabctl at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.5.0~)
+Build-Depends: debhelper (>= 7.0.50~),
+ gem2deb (>= 0.5.0~),
+ puppet-common,
+ ruby-rspec
Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rspec-puppet.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-rspec-puppet.git
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..45a2d56
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,3 @@
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:test)
+task :default => :test
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index eac5ce6..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# FIXME
-# there's a spec/ or a test/ directory in the upstream source, but
-# no test suite was defined in the Gem specification. It would be
-# a good idea to define it here so the package gets tested at build time.
-# Examples:
-# $: << 'lib' << '.'
-# Dir['{spec,test}/**/*.rb'].each { |f| require f }
-#
-# require 'test/ts_foo.rb'
-#
-# require 'rbconfig'
-# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-# exec("#{ruby} -I. test/runtests.rb")
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rspec-puppet.git
More information about the Pkg-ruby-extras-commits
mailing list