[DRE-commits] [ruby-rest-client] 02/06: Refresh packaging.

Lucas Nussbaum lucas at moszumanska.debian.org
Tue May 5 14:46:54 UTC 2015


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

lucas pushed a commit to branch master
in repository ruby-rest-client.

commit 68d815421fb3bba291cc3d1ac406f57188b56a98
Author: Lucas Nussbaum <lucas at debian.org>
Date:   Tue May 5 15:03:52 2015 +0200

    Refresh packaging.
---
 debian/control         | 12 +++---------
 debian/ruby-tests.rake |  7 +++++++
 debian/ruby-tests.rb   |  2 --
 debian/rules           |  2 +-
 4 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/debian/control b/debian/control
index e6aaf7a..5c0c2a4 100644
--- a/debian/control
+++ b/debian/control
@@ -3,24 +3,18 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Lucas Nussbaum <lucas at debian.org>
-Build-Depends: debhelper (>= 7.0.50~),
-               gem2deb (>= 0.3.0~),
-               ruby-http-cookie,
-               ruby-mime-types
+Build-Depends: debhelper (>= 7.0.50~), gem2deb, ruby-rspec, rake, ruby-http-cookie (<< 2.0), ruby-http-cookie (>= 1.0.2), ruby-mime-types (<< 3.0), ruby-mime-types (>= 1.16), ruby-netrc (>= 0.7)
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rest-client.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-rest-client.git
 Homepage: https://github.com/rest-client/rest-client
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-rest-client
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ruby | ruby-interpreter,
-         ruby-http-cookie,
-         ruby-mime-types,
-         ${misc:Depends},
-         ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-http-cookie (<< 2.0), ruby-http-cookie (>= 1.0.2), ruby-mime-types (<< 3.0), ruby-mime-types (>= 1.16), ruby-netrc (>= 0.7)
 Description: simple REST client for Ruby
  A simple HTTP and REST client for Ruby, inspired by the Sinatra microframework
  style of specifying actions: get, put, post, delete.
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..dcc1601
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
+end
+
+task :default => :spec
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index d50771b..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-# basic testing
-require 'restclient'
diff --git a/debian/rules b/debian/rules
index a5e7dc8..5e904b3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@
 #
 # Uncomment to ignore some test failures (but the tests will run anyway).
 # Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
+#export DH_RUBY_IGNORE_TESTS=ruby2.1
 #
 # If you need to specify the .gemspec (eg there is more than one)
 #export DH_RUBY_GEMSPEC=gem.gemspec

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



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