[DRE-commits] [ruby-bluefeather] 03/03: Update package with dh-make-ruby -w
Lucas Moura
lucasmoura-guest at moszumanska.debian.org
Wed Mar 2 17:56:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
lucasmoura-guest pushed a commit to branch master
in repository ruby-bluefeather.
commit 1b2964f78e31760408b17dd8bae2cf12068f95dc
Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
Date: Wed Mar 2 14:42:56 2016 -0300
Update package with dh-make-ruby -w
---
debian/changelog | 11 ++++++++++-
debian/copyright | 2 +-
debian/ruby-tests.rake | 42 +++---------------------------------------
debian/rules | 3 +++
4 files changed, 17 insertions(+), 41 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index adfa2fa..a99cdc6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,16 @@
-ruby-bluefeather (0.41-4) UNRELEASED; urgency=medium
+ruby-bluefeather (0.41-4) unstable; urgency=medium
* Team upload.
* Fix tests for rspec version 3.3.0
+ * debian/control: Update vcs-git link to https, silence
+ lintian warning.
+ * debian/control: Update vcs-browser link to https, silence
+ lintian warning.
+ * debian/control: Update standards-version to 3.9.7, silence
+ lintian warning.
+ * debian/copyright: Update year format.
+ * debian/rules : Update rules with dh-make-ruby -w.
+ * debian/ruby-tests.rake: Update file with dh-make-ruby -w.
-- Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com> Wed, 02 Mar 2016 14:05:40 -0300
diff --git a/debian/copyright b/debian/copyright
index 95aaed4..5c96319 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -12,7 +12,7 @@ Copyright: 2004 The FaerieMUD Consortium.
License: GPL-2+
Files: original-tests/data/re-overflow2.txt
-Copyright: 1997-1998,2000-2001,2004 Steve Nygard.
+Copyright: 1997-2004 Steve Nygard.
License: GPL-2+
Files: debian/*
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 8c71700..04e7f07 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,41 +1,5 @@
-require 'gem2deb/rake/testtask'
-require 'rspec/core/rake_task'
-require 'fileutils'
-# task 'default' => [:spec, 'original-test']
-task 'default' => :spec
+require 'gem2deb/rake/spectask'
-Rake::TestTask.new('original-test') do |tasklib|
- tasklib.test_files = FileList['original-tests/*.tests.rb']
-end
-
-
-task_cls = RSpec::Core::RakeTask
-rspec_opts_setting_proc = proc do |task|
- task.rspec_opts = ['-fs']
-end
-# Proc for initializing each spec-tasks by common parameters
-setting = proc do |st|
- st.ruby_opts = %w(-Ku)
-end
-desc "Verify all spec files."
-task_cls.new do |st|
- setting.call(st)
- st.pattern = 'spec/*.rb'
-end
-
-desc "Verify all spec files with specdocs."
-task_cls.new(:specd) do |st|
- setting.call(st)
- rspec_opts_setting_proc.call(st)
- st.pattern = 'spec/*.rb'
-end
-
-namespace :spec do
- Dir.glob('spec/*.rb') do |path|
- desc "Verify '#{path}'"
- task_cls.new(File.basename(path, '.rb')) do |st|
- setting.call(st)
- st.pattern = path
- end
- end
+Gem2Deb::Rake::RSpecTask.new do |spec|
+ spec.pattern = './spec/*.rb'
end
diff --git a/debian/rules b/debian/rules
index 1b10f08..131a9a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,7 @@
#!/usr/bin/make -f
+
+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-bluefeather.git
More information about the Pkg-ruby-extras-commits
mailing list