[DRE-commits] [ruby-dotenv] 05/10: Refresh packaging with a new dh-make-ruby run
Antonio Terceiro
terceiro at moszumanska.debian.org
Thu Sep 10 23:08:11 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-dotenv.
commit d6a4e8e91375b9fcfff29a43df5b886660437722
Author: Antonio Terceiro <terceiro at debian.org>
Date: Thu Sep 10 19:22:27 2015 -0300
Refresh packaging with a new dh-make-ruby run
---
debian/changelog | 1 +
debian/compat | 2 +-
debian/control | 12 +++++++++---
debian/ruby-tests.rake | 8 +++-----
debian/rules | 2 +-
5 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c0dc226..def8a4a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ ruby-dotenv (2.0.2-1) UNRELEASED; urgency=medium
* Team upload.
* New upstream release
* debian/watch: point at github
+ * Refresh packaging with a new dh-make-ruby run
-- Antonio Terceiro <terceiro at debian.org> Thu, 10 Sep 2015 19:13:28 -0300
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 5158d22..801a8d1 100644
--- a/debian/control
+++ b/debian/control
@@ -3,17 +3,23 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Markus Tornow <tornow at riseup.net>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.1~), rake, ruby-rspec
+Build-Depends: debhelper (>= 9~),
+ gem2deb,
+ rake,
+ ruby-rspec
Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-dotenv.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-dotenv.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-dotenv.git
Homepage: https://github.com/bkeepers/dotenv
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-dotenv
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ruby | ruby-interpreter,
+ ${misc:Depends},
+ ${shlibs:Depends}
Description: configuration variable loader
Like the gem "foreman", dotenv will automagically load variables from .env,
but doesn't put them in the Procfile. Instead they are accessible via ENV.
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 2d8dac6..a23d427 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
export DH_RUBY_GEMSPEC = dotenv.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-dotenv.git
More information about the Pkg-ruby-extras-commits
mailing list