[Apt-listbugs-commits] [apt-listbugs] 02/04: support Ruby 1.9 (Closes: #432200)
Francesco Poli
frx-guest at alioth.debian.org
Sat Sep 14 16:36:12 UTC 2013
This is an automated email from the git hooks/post-receive script.
frx-guest pushed a commit to branch master
in repository apt-listbugs.
commit b0bddbc1945417359e7cee1b4bf2e3dc7768f1b3
Author: Francesco Poli (wintermute) <invernomuto at paranoici.org>
Date: Thu Sep 12 19:33:20 2013 +0200
support Ruby 1.9 (Closes: #432200)
---
debian/changelog | 2 ++
debian/control | 4 ++--
examples/send-hook-info.rb | 2 +-
lib/apt-listbugs/logic.rb | 2 +-
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ab7083a..e05139a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,8 @@ apt-listbugs (0.1.10) UNRELEASED; urgency=low
a better fix for #662983 (Closes: #671728)
* added a configuration option (AptListbugs::Severities) to set the default
list of severities the user is interested in
+ * fixed "support ruby 1.9", thanks to Antonio Terceiro for packaging
+ ruby-soap4r and for providing the initial patch (Closes: #432200)
-- Francesco Poli (wintermute) <invernomuto at paranoici.org> Sat, 29 Jun 2013 17:18:26 +0200
diff --git a/debian/control b/debian/control
index 14fc0f4..12906d0 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: admin
Priority: optional
Maintainer: Francesco Poli (wintermute) <invernomuto at paranoici.org>
Build-Depends: debhelper (>= 7.0.50)
-Build-Depends-Indep: ruby, rdtool, gettext, ruby-debian (>= 0.3.3), ruby-gettext (>= 2.1.0)
+Build-Depends-Indep: ruby, rdtool, gettext, ruby-debian (>= 0.3.3), ruby-gettext (>= 2.1.0), ruby-test-unit, ruby-soap4r
Standards-Version: 3.9.4
Vcs-Git: git://anonscm.debian.org/apt-listbugs/apt-listbugs.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=apt-listbugs/apt-listbugs.git
@@ -11,7 +11,7 @@ Homepage: http://alioth.debian.org/projects/apt-listbugs/
Package: apt-listbugs
Architecture: all
-Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-debian (>= 0.3.3), apt (>= 0.9.11), ruby-gettext (>= 2.1.0), ruby-xmlparser, ruby-httpclient (>= 2.1.5.2-1)
+Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-debian (>= 0.3.3), apt (>= 0.9.11), ruby-gettext (>= 2.1.0), ruby-xmlparser, ruby-httpclient (>= 2.1.5.2-1), ruby-soap4r
Suggests: reportbug, debianutils (>= 2.0) | www-browser | w3m
Breaks: libapt-pkg4.12 (<< 0.9.11)
Description: tool which lists critical bugs before each apt installation
diff --git a/examples/send-hook-info.rb b/examples/send-hook-info.rb
index edd3567..2f3df9b 100755
--- a/examples/send-hook-info.rb
+++ b/examples/send-hook-info.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby1.8
+#!/usr/bin/ruby
#
# send-hook-info.rb: test helper script that reads a hook info dump from
# a specified file and sends it to a specified command
diff --git a/lib/apt-listbugs/logic.rb b/lib/apt-listbugs/logic.rb
index c5d8f61..325bd65 100644
--- a/lib/apt-listbugs/logic.rb
+++ b/lib/apt-listbugs/logic.rb
@@ -184,7 +184,7 @@ class AppConfig
@yes = false
end
}
- rescue GetoptLong::AmbigousOption, GetoptLong::NeedlessArgument,
+ rescue GetoptLong::AmbiguousOption, GetoptLong::NeedlessArgument,
GetoptLong::MissingArgument, GetoptLong::InvalidOption
usage
exit 1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/apt-listbugs/apt-listbugs.git
More information about the Apt-listbugs-commits
mailing list