[DRE-commits] [ruby-factory-girl] 03/05: Refresh packaging with dh-make-ruby -w
Cédric Boutillier
boutil at moszumanska.debian.org
Fri Sep 11 13:46:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-factory-girl.
commit 9963954a7a5e2791088fe71945078646a9fbc7e9
Author: Cédric Boutillier <boutil at debian.org>
Date: Fri Sep 11 15:27:15 2015 +0200
Refresh packaging with dh-make-ruby -w
---
debian/compat | 2 +-
debian/control | 24 +++++++++++++++++++-----
debian/ruby-tests.rake | 8 +++-----
debian/rules | 5 ++++-
4 files changed, 27 insertions(+), 12 deletions(-)
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index 5d77367..155984d 100644
--- a/debian/control
+++ b/debian/control
@@ -3,18 +3,32 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Pirate Praveen <praveen at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.0~), ruby-rspec, ruby-activesupport,
- ruby-activerecord, ruby-timecop, ruby-aruba, ruby-appraisal, ruby-bourne, ruby-sqlite3
-Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 9~),
+ gem2deb,
+ rake,
+ ruby-activesupport (>= 3.0.0),
+ ruby-activerecord,
+ ruby-timecop,
+ ruby-aruba,
+ ruby-appraisal,
+ ruby-bourne,
+ ruby-rspec,
+ ruby-rspec-its,
+ ruby-sqlite3,
+Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-factory-girl.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-factory-girl.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-factory-girl.git
Homepage: https://github.com/thoughtbot/factory_girl
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-factory-girl
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-activesupport
+Depends: ruby | ruby-interpreter,
+ ruby-activesupport (>= 3.0.0),
+ ${misc:Depends},
+ ${shlibs:Depends}
Description: framework and DSL for defining and using model instance factories
factory_girl provides a framework and DSL for defining and
using factories - less error-prone, more explicit, and
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 183a5cc..82cd8a8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,10 +6,13 @@
#
# Uncomment to ignore some test failures (but the tests will run anyway).
# Valid values:
-export DH_RUBY_IGNORE_TESTS=ruby1.8
+#export DH_RUBY_IGNORE_TESTS=ruby2.1 ruby2.2
#
# If you need to specify the .gemspec (eg there is more than one)
#export DH_RUBY_GEMSPEC=gem.gemspec
+#
+# Uncomment to check dependencies during build:
+# 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-factory-girl.git
More information about the Pkg-ruby-extras-commits
mailing list