debian/0000755000000000000000000000000012244720417007171 5ustar debian/ruby-tests.rb0000644000000000000000000000043412144457502011641 0ustar inc = $:.map { |d| "-I#{d}" }.join(' ') p inc ENV['json'] = 'pure' puts "Pure version of the tests" system("#{ENV['RUBY_TEST_BIN']} #{inc} tests/test_*.rb") or raise ENV['json'] = 'ext' puts "Ext version of the tests" system("#{ENV['RUBY_TEST_BIN']} #{inc} tests/test_*.rb") or raise debian/changelog0000644000000000000000000002101612244720417011043 0ustar ruby-json (1.8.0-1build1) trusty; urgency=low * Rebuild to drop ruby1.8 support (LP: #1254052) -- Marc Deslauriers Mon, 25 Nov 2013 14:08:47 -0500 ruby-json (1.8.0-1) unstable; urgency=low * New upstream version * debian/control: + remove obsolete DM-Upload-Allowed flag + use canonical URI in Vcs-* fields + bump Standards-Version to 3.9.4 (no changes needed) + update my email address + drop transitional packages, not needed anymore * debian/patches: drop 10-fix-CVE-2013-0269.patch, included upstream * remove debian/source/lintian-overrides, related to dropped transitional packages -- Cédric Boutillier Tue, 14 May 2013 19:10:26 +0200 ruby-json (1.7.3-3) unstable; urgency=high * set urgency to high, as a security bug is fixed. * Add 10-fix-CVE-2013-0269.patch, adapted from upstream to fix denial of service and unsafe object creation vulnerability. [CVE-2013-0269] (Closes: #700436). -- Cédric Boutillier Tue, 12 Feb 2013 23:14:48 +0100 ruby-json (1.7.3-2) unstable; urgency=low * Bump build dependency on gem2deb to >= 0.3.0~ -- Cédric Boutillier Tue, 26 Jun 2012 13:02:05 +0200 ruby-json (1.7.3-1) unstable; urgency=low * New upstream release. All the tests are passing (Closes: #673661) * Add myself to Uploaders: * Bump Standards-Version: to 3.9.3 (no changes needed) * Add DEP-3 header to 02-fix-fuzz.rb-shebang.patch * Override lintian warning about duplicate descriptions for transitional packages * Remove overrides in debian/rules (not needed any more) * Update debian/copyright * + update Format URL to match the recommended one + mention the Ruby license and java/* files -- Cédric Boutillier Mon, 21 May 2012 22:05:17 +0200 ruby-json (1.6.3-1) unstable; urgency=low * New upstream release. -- Lucas Nussbaum Tue, 20 Dec 2011 18:52:05 +0100 ruby-json (1.6.1-1) unstable; urgency=low * New upstream release. * executables have been moved to a separate gem. + drop edit-json package. * Relicense debian changes as GPLv2 to match upstream. -- Lucas Nussbaum Sun, 25 Sep 2011 11:24:54 +0200 ruby-json (1.5.3-1) unstable; urgency=low * New upstream release. * debian/patches/04-fix-tests-path.patch: Fix load path during tests. Closes: #634438 * ruby-json.docs: update name of README * Update standards-version * Update to modern gem2deb standards (breaks, etc) * Update ruby dependency for edit-json. -- Lucas Nussbaum Sat, 30 Jul 2011 08:19:54 +0200 ruby-json (1.5.1-2) unstable; urgency=low * Fix build system so that it also works with arch-only builds. Closes: #621772, #621766 * Fix Vcs-Browser. -- Lucas Nussbaum Sat, 09 Apr 2011 11:40:30 +0200 ruby-json (1.5.1-1) unstable; urgency=low * New upstream release. Closes: #617721 * Switch to gem2deb-based packaging. Source and binary package renamed to ruby-json. Transitional packages added. * Merge with the old ruby-pkg-tools packaging. + Add patch for prettify_json.rb (Closes: #561839) -- Lucas Nussbaum Sun, 03 Apr 2011 15:54:42 +0200 libjson-ruby (1.4.6-1) unstable; urgency=low [Laurent Arnoud] * Team upload. * New upstream release * Switch to dpkg-source 3.0 (quilt) format * Debian policy 3.9.1 * Add patch for prettify_json.rb (Closes: #561839) [Joshua Timberman] * Fixes bugs between 1.1.9 and 1.4.6, including bug affecting ohai (Closes: #596351) * Update watchfile for githubredir and upstream version tagging. -- Laurent Arnoud Fri, 22 Oct 2010 22:14:17 +0200 libjson-ruby (1.1.9-1) unstable; urgency=low * New upstream release * Debian Policy 3.8.3 -- Ryan Niebur Wed, 02 Sep 2009 17:36:43 -0700 libjson-ruby (1.1.7-1) unstable; urgency=low * New upstream release * Debian Policy 3.8.2 -- Ryan Niebur Thu, 09 Jul 2009 03:35:48 -0700 libjson-ruby (1.1.6-1) unstable; urgency=low * move myself to Maintainer * new upstream release * refresh patches * add README.source * delete empty directories -- Ryan Niebur Sun, 10 May 2009 23:25:50 -0700 libjson-ruby (1.1.4-1) unstable; urgency=low [ Ryan Niebur ] * New upstream release * add myself to Uploaders * refresh patches * debhelper 5 * change section to ruby * debian policy 3.8.1 * add dependency on ${misc:Depends} * stop setup.rb from changing the shebang in the source * always change the shebang in the installed version of edit-json to ruby1.8 * instead of installing the included prototype in the examples, symlink to the one from the libjs-prototype package, and depend on it [ Antonio Terceiro ] * Added DM-Upload-Allowed flag to debian/control. -- Antonio Terceiro Fri, 01 May 2009 20:52:44 -0300 libjson-ruby (1.1.2-1) unstable; urgency=low [ Paul van Tilburg ] * New upstream release. * Added Homepage and Vcs-* headers to debian/control. * Bumped standards version to 3.7.3; performed minor fixes to debian/copyright. * Added build-depend on ruby1.8-dev for mkmf.rb. (Closes: #465673) * Bumped ruby-pkg-tools version depend to >= 0.13, since it will be using Debian's setup.rb. * Modified debian/libjson-ruby-doc.examples to install data/* instead of examples/* so that we do not have to have a modified tarball. * Remove cruft installed by setup.rb to /usr/share in the hook in debian/rules. * Changed architecture of libjson-ruby1.8 to 'any'! Added ${shlib:Depends} and ${misc:Depends} to the dependencies. [ Antonio Terceiro ] * debian/copyight: recoded as UTF-8. * debian/edit-json.install: added. * debian/rules: - fixed typo in custom install target for libjson-ruby1.8. - removing stuff instead of moving them to edit-json package. These are now installed by the newly added debian/edit-json.install. - renaming binaries to remove .rb suffix in edit-json packag.e * debian/control: added myself to Uploaders field. -- Paul van Tilburg Fri, 04 Apr 2008 22:55:06 +0200 libjson-ruby (1.1.1-1) unstable; urgency=low [ Esteban Manchado Velázquez ] * Changed edit-json section to "devel" (again???). [ Paul van Tilburg ] * New upstream release. * Adapted debian/control, debian/rules, and remove debian/control.in to drop the Uploaders rule. * Moved the build-depend-indep on ruby-pkg-tools to the build-depends for it is used in the clean target. * Updated setup.rb so that it supports the distclean target. * Added myself to the Uploaders field. * Added a man-page for prettify_json(1). * Changed ruby1.8 dependency of the edit-json package to ruby. * Changed the depend of edit-json on libgtk2-ruby to libgtk2-ruby1.8 to follow convention. * Use a modified source tarball which renames data/ -> docs/ since it uses setup.rb with a non-setup.rb-compliant dir layout. Also all files have been processed by dos2unix. * Added some example files to libjson-ruby-doc. * Added 02-fix-fuzz.rb-shebang.patch to add a missing shebang to the executable fuzz.rb tool. * Removed unnecessary 01-fix-edit_json-shebang.patch. -- Paul van Tilburg Sun, 07 Oct 2007 15:04:24 +0200 libjson-ruby (0.4.2-1) unstable; urgency=low * New upstream release * Changed edit-json section to "devel" * Bump Standards-Version to 3.7.2 (no changes required) -- Esteban Manchado Velázquez Sat, 21 Oct 2006 21:27:43 +0100 libjson-ruby (0.4.1-1) unstable; urgency=low * New upstream version * Add watch file * Changed Section to "libs" for every package except libjson-ruby-doc * Adapted to ruby-pkg-tools 0.8 -- Esteban Manchado Velázquez Sun, 16 Apr 2006 16:35:26 +0100 libjson-ruby (0.4.0-3) unstable; urgency=low * Changed libjson-ruby-doc package Section to "doc". * Set the Maintainer field to myself -- Esteban Manchado Velázquez Sat, 25 Mar 2006 00:27:42 +0000 libjson-ruby (0.4.0-2) unstable; urgency=low * Fixed the errors (missing commas) in the Depend field (closes: #350866). * Added missing build-depend-indep on graphviz. -- Paul van Tilburg Wed, 15 Feb 2006 22:22:31 +0000 libjson-ruby (0.4.0-1) unstable; urgency=low * Initial upload (Closes: #341904). -- Esteban Manchado Velázquez Sat, 3 Dec 2005 23:24:14 +0000 debian/ruby-json.docs0000644000000000000000000000004712144457502011775 0ustar README.rdoc README-json-jruby.markdown debian/compat0000644000000000000000000000000212144457502010370 0ustar 7 debian/rules0000755000000000000000000000053112147371025010247 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 %: dh $@ --buildsystem=ruby --with ruby debian/watch0000644000000000000000000000013512144457502010222 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/json .*/json-(.*).tar.gz debian/copyright0000644000000000000000000000743412144457502011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: json Source: https://rubygems.org/gems/json Files: * Copyright: Copyright 2005-2007 by Florian Frank License: Ruby or GPL-2 Files: java/* Copyright: Copyright Daniel Luz License: Ruby or GPL-2 Files: debian/* Copyright: Copyright 2011 Lucas Nussbaum License: GPL-2 License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 as published by the Free Software Foundation. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . 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: Ruby Ruby is copyrighted free software by Yukihiro Matsumoto . You can redistribute it and/or modify it under either the terms of the GPL (see GPL file), 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) rename any non-standard executables so the names do not conflict with standard executables, which must also be provided. . d) make other distribution arrangements with the author. . 3. You may distribute the software in object code or executable form, provided that you do at least ONE of the following: . a) distribute the executables 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 executables 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 this terms. . They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some files under the ./missing directory. See each file for the copying condition. . 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. debian/source/0000755000000000000000000000000012144471012010462 5ustar debian/source/format0000644000000000000000000000001412144457502011700 0ustar 3.0 (quilt) debian/ruby-json.examples0000644000000000000000000000001012144457502012651 0ustar tools/* debian/patches/0000755000000000000000000000000012147371255010624 5ustar debian/patches/02-fix-fuzz.rb-shebang.patch0000644000000000000000000000034512144457502015654 0ustar Description: Fix shebang for fuzz.rb script file Author: Lucas Nussbaum Last-Update: 2011-04-03 --- a/tools/fuzz.rb +++ b/tools/fuzz.rb @@ -1,3 +1,5 @@ +#!/usr/bin/env ruby + require 'json' require 'iconv' debian/patches/04-fix-tests-path.patch0000644000000000000000000000075712144457502014754 0ustar Description: Let debian/ruby-tests.rb handle the test suite loading Was causing FTBFS because ext was loaded. Origin: vendor Author: Lucas Nussbaum Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634438 --- a/tests/setup_variant.rb +++ b/tests/setup_variant.rb @@ -1,11 +1,8 @@ case ENV['JSON'] when 'pure' - $:.unshift 'lib' require 'json/pure' when 'ext' - $:.unshift 'ext', 'lib' require 'json/ext' else - $:.unshift 'ext', 'lib' require 'json' end debian/patches/series0000644000000000000000000000006512147371247012043 0ustar 02-fix-fuzz.rb-shebang.patch 04-fix-tests-path.patch debian/control0000644000000000000000000000206012147371004010566 0ustar Source: ruby-json Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Lucas Nussbaum , Antonio Terceiro , Cédric Boutillier Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-json.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-json.git;a=summary Homepage: http://flori.github.com/json XS-Ruby-Versions: all Package: ruby-json Architecture: any XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: JSON library for Ruby This library implements the JSON (JavaScript Object Notation) specification in Ruby, allowing the developer to easily convert data between Ruby and JSON. You can think of it as a low fat alternative to XML, if you want to store data to disk or transmit it over a network rather than use a verbose markup language.