[DRE-commits] [ruby-test-after-commit] 02/03: Update packaging using dh-make-ruby -w

Thiago Ribeiro thiagovsk-guest at moszumanska.debian.org
Wed Mar 2 20:50:14 UTC 2016


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

thiagovsk-guest pushed a commit to branch master
in repository ruby-test-after-commit.

commit 15a08d9802e223f7b9f359edcd9a872e8a3df1e4
Author: Thiago Ribeiro <thiagitosouza at gmail.com>
Date:   Wed Mar 2 17:33:02 2016 -0300

    Update packaging using dh-make-ruby -w
---
 debian/control         | 12 ++++++++----
 debian/ruby-tests.rake |  8 +++-----
 debian/rules           | 13 ++-----------
 3 files changed, 13 insertions(+), 20 deletions(-)

diff --git a/debian/control b/debian/control
index 078eb90..6b7f6b3 100644
--- a/debian/control
+++ b/debian/control
@@ -10,16 +10,20 @@ Build-Depends: debhelper (>= 9~),
                ruby-rails-observers,
                ruby-rspec,
                ruby-sqlite3
-Standards-Version: 3.9.6
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-test-after-commit.git
-Vcs-Browser: http://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-test-after-commit.git
+Standards-Version: 3.9.7
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-test-after-commit.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-test-after-commit.git
 Homepage: https://github.com/grosser/test_after_commit
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-test-after-commit
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ruby | ruby-interpreter, ${misc:Depends}, ${shlibs:Depends}
+Depends: ruby | ruby-interpreter,
+         ruby-activerecord (>= 3.2),
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: makes after_commit callbacks testable in Rails 3+ with transactional_fixtures
  Make after_commit callbacks fire in tests for Rails 3+ with
  transactional_fixtures = true.
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 89a753d..cf1591e 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,5 @@
-require 'rspec/core/rake_task'
+require 'gem2deb/rake/spectask'
 
-RSpec::Core::RakeTask.new(:spec) do |spec|
-  spec.pattern      = './spec/**/*_spec.rb'
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
 end
-
-task :default => :spec
diff --git a/debian/rules b/debian/rules
index 06981cd..3454d59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,6 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
-#
-# Uncomment to ignore all test failures (but the tests will run anyway)
-#export DH_RUBY_IGNORE_TESTS=all
-#
-# Uncomment to ignore some test failures (but the tests will run anyway).
-# Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby2.0 ruby2.1 require-rubygems
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
+
+export GEM2DEB_TEST_RUNNER = --check-dependencies
 
 %:
 	dh $@ --buildsystem=ruby --with ruby

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



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