debian/0000755000000000000000000000000012210451514007161 5ustar debian/source/0000755000000000000000000000000012210451514010461 5ustar debian/source/format0000644000000000000000000000001412210451514011667 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000746712210451514011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: SVG::Graph Source: http://rubygems.org/gems/svg-graph Files: * Copyright: (c) 2004 Sean Russell . License: Ruby or GPL-2 Files: debian/* Copyright: Copyright 2008-2011 Dmitry Borodaenko License: GPL-2+ License: Ruby SVG::Graph is copyrighted free software by Sean Russell . You can redistribute it and/or modify it under either the terms of the GPL (see the file GPL), or the conditions below: . 1. You may make and give away verbatim copies of the source form of the software without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. . 2. You may modify your copy of the software in any way, provided that you do at least ONE of the following: . a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or by allowing the author to include your modifications in the software. . b) use the modified software only within your corporation or organization. . c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 3. You may distribute the software in object code or binary form, provided that you do at least ONE of the following: . a) distribute the binaries and library files of the software, together with instructions (in the manual page or equivalent) on where to get the original distribution. . b) accompany the distribution with the machine-readable source of the software. . c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 4. You may modify and include the part of the software into any other software (possibly commercial). But some files in the distribution are not written by the author, so that they are not under these terms. . For the list of those files and their copying conditions, see the file LEGAL. . 5. The scripts and library files supplied as input to or produced as output from the software do not automatically fall under the copyright of the software, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this software. . 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. License: GPL-2 The files hereby included are free software; you can distribute them under the terms of the GNU General Public License as published by the Free Software Foundation; under version 2 of the License as published in June 1991. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: GPL-2+ The files hereby included are free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/changelog0000644000000000000000000000356712210451514011046 0ustar ruby-svg-graph (1.0.5-2) unstable; urgency=low [ Dmitry Borodaenko ] * Downgraded transitional packages priority to extra. * Fix intermittent unit test failure. Closes: #713168. [ Cédric Boutillier ] * debian/control: remove obsolete DM-Upload-Allowed flag. * use canonical URI in Vcs-* fields. * debian/copyright: use DEP5 copyright-format/1.0 official URL for Format field. * Update debian/watch. Thanks Bart Martens. -- Dmitry Borodaenko Sat, 31 Aug 2013 13:27:59 -0700 ruby-svg-graph (1.0.5-1) unstable; urgency=low * New upstream version. * Redirect watch file to GitHub. -- Dmitry Borodaenko Sat, 08 Oct 2011 14:42:10 +0300 ruby-svg-graph (1.0.3-1) unstable; urgency=low * New upstream version. * Switch to gem2deb-based packaging: - source and binary packages renamed to ruby-svg-graph - transitional packages added - source format changed to 3.0 (quilt). * Redirect watch file to rubygems.org (homepage still refers to 0.6.1). * Standards-Version bumped to 3.9.2. -- Dmitry Borodaenko Sun, 11 Sep 2011 13:26:22 +0300 libsvg-graph-ruby (0.6.1-3) unstable; urgency=low * Switch from Ruby 1.9 to 1.9.1. Closes: #569852. * Standards-Version upgraded to 3.8.4: - changed Section from interpreters to ruby - debhelper compat level upgraded to 5. -- Dmitry Borodaenko Sun, 28 Feb 2010 14:50:21 +0200 libsvg-graph-ruby (0.6.1-2) unstable; urgency=low * debian/watch fixed. -- Dmitry Borodaenko Wed, 21 Jan 2009 19:52:38 +0200 libsvg-graph-ruby (0.6.1-1) unstable; urgency=low * Initial release. Closes: #499715 (ITP). * install-fileutils.patch: install.rb patched to use FileUtils instead of ftools which is removed in Ruby 1.9. -- Dmitry Borodaenko Sun, 28 Sep 2008 17:09:11 +0300 debian/ruby-test-files.yaml0000644000000000000000000000006212210451514013101 0ustar --- - test/test_svg_graph.rb - test/test_plot.rb debian/compat0000644000000000000000000000000212210451514010357 0ustar 7 debian/watch0000644000000000000000000000045112210451514010212 0ustar version=3 opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/,dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$// \ https://github.com/clbustos/svg-graph/tags .*/v?(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) # Bart Martens Sat, 22 Dec 2012 15:34:04 +0000 debian/ruby-svg-graph.docs0000644000000000000000000000002012210451514012700 0ustar README.txt rdoc debian/control0000644000000000000000000000507412210451514010572 0ustar Source: ruby-svg-graph Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Dmitry Borodaenko Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.7~), ruby-hoe (>= 2.8.0~) Standards-Version: 3.9.2 Vcs-Git: git://github.com/clbustos/svg-graph.git Vcs-Browser: https://github.com/clbustos/svg-graph Homepage: http://www.germane-software.com/software/SVG/SVG::Graph/ XS-Ruby-Versions: all Package: ruby-svg-graph Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Replaces: libsvg-graph-ruby (<< 1.0.3-1~), libsvg-graph-ruby-doc (<< 1.0.3-1~), libsvg-graph-ruby1.8 (<< 1.0.3-1~), libsvg-graph-ruby1.9.1 (<< 1.0.3-1~) Breaks: libsvg-graph-ruby (<< 1.0.3-1~), libsvg-graph-ruby-doc (<< 1.0.3-1~), libsvg-graph-ruby1.8 (<< 1.0.3-1~), libsvg-graph-ruby1.9.1 (<< 1.0.3-1~) Provides: libsvg-graph-ruby, libsvg-graph-ruby-doc, libsvg-graph-ruby1.8, libsvg-graph-ruby1.9.1 Description: Pure Ruby library for generating charts in SVG format SVG::Graph allows one to generate charts, that is, graphs where the values of one axis are not scalar. It has a very similar API to the Perl library SVG::TT::Graph, and the resulting charts also look the same. This isn't surprising, because SVG::Graph started as a loose port of SVG::TT::Graph, although the internal code no longer resembles the Perl original at all. Package: libsvg-graph-ruby Section: oldlibs Priority: extra Architecture: all Depends: ${misc:Depends}, ruby-svg-graph Description: Transitional package for ruby-svg-graph This is a transitional package to ease upgrades to the ruby-svg-graph package. It can safely be removed. Package: libsvg-graph-ruby-doc Section: oldlibs Priority: extra Architecture: all Depends: ${misc:Depends}, ruby-svg-graph Description: Transitional package for ruby-svg-graph This is a transitional package to ease upgrades to the ruby-svg-graph package. It can safely be removed. Package: libsvg-graph-ruby1.8 Section: oldlibs Priority: extra Architecture: all Depends: ${misc:Depends}, ruby-svg-graph Description: Transitional package for ruby-svg-graph This is a transitional package to ease upgrades to the ruby-svg-graph package. It can safely be removed. Package: libsvg-graph-ruby1.9.1 Section: oldlibs Priority: extra Architecture: all Depends: ${misc:Depends}, ruby-svg-graph Description: Transitional package for ruby-svg-graph This is a transitional package to ease upgrades to the ruby-svg-graph package. It can safely be removed. debian/rules0000755000000000000000000000114212210451514010237 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # 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 # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby override_dh_installdocs: rdoc --inline-source --line-numbers --op rdoc --main SVG::Graph::Graph lib dh_installdocs override_dh_clean: rm -rf rdoc dh_clean debian/patches/0000755000000000000000000000000012210451514010610 5ustar debian/patches/0001-fix-unit-test-whitespace-matching.patch0000644000000000000000000000227212210451514020654 0ustar From: Dmitry Borodaenko Date: Sat, 31 Aug 2013 13:21:48 -0700 Subject: fix unit test whitespace matching Element attributes are ordered arbitrary on each test run, when the attribute being matched is the first in the list, it is separated from element name only by a single space, making the test fail intermittently. --- test/test_plot.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_plot.rb b/test/test_plot.rb index d7417ca..aa0d193 100644 --- a/test/test_plot.rb +++ b/test/test_plot.rb @@ -245,8 +245,8 @@ class TestSvgGraphPlot < Test::Unit::TestCase }) out=graph.burn() - assert_match(/circle .* r='10'/, out) - assert_match(/circle .* onmouseover=.*/, out) + assert_match(/circle\b.*\br='10'/, out) + assert_match(/circle\b.*\bonmouseover=.*/, out) end def test_popup_radius_is_overridable @@ -275,8 +275,8 @@ class TestSvgGraphPlot < Test::Unit::TestCase }) out=graph.burn() - assert_match(/circle .* r='1.23'/, out) - assert_match(/circle .* onmouseover=.*/, out) + assert_match(/circle\b.*\br='1.23'/, out) + assert_match(/circle\b.*\bonmouseover=.*/, out) end end debian/patches/series0000644000000000000000000000005512210451514012025 0ustar 0001-fix-unit-test-whitespace-matching.patch