debian/0000755000000000000000000000000012263720210007161 5ustar debian/rules0000755000000000000000000000070112251264661010251 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 debian/watch0000644000000000000000000000013112251264661010217 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/oj .*/oj-(.*).tar.gz debian/source/0000755000000000000000000000000012251264661010473 5ustar debian/source/format0000644000000000000000000000001412251264661011701 0ustar 3.0 (quilt) debian/ruby-oj.docs0000644000000000000000000000001212251264661011425 0ustar README.md debian/clean0000644000000000000000000000002412251264661010174 0ustar open_file_test.json debian/gbp.conf0000644000000000000000000000003612251264661010611 0ustar [DEFAULT] pristine-tar = True debian/copyright0000644000000000000000000000324012251264661011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: oj Source: https://github.com/ohler55/oj Files: * Copyright: 2012 Peter Holer License: BSD-3-clause Files: debian/* Copyright: 2013 Cédric Boutillier License: BSD-3-clause License: BSD-3-clause All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/control0000644000000000000000000000164112251265354010600 0ustar Source: ruby-oj Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Cédric Boutillier Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.5~) Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-oj.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-oj.git;a=summary Homepage: http://www.ohler.com/oj XS-Ruby-Versions: all Package: ruby-oj Architecture: any XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: fast JSON parser and serializer for Ruby JSON (or JavaScript Object Notation) is a text-based open standard designed for human-readable data interchange. . Oj (Optimized JSON) is a Ruby library written to provide speed optimized handling of JSON, for parsing JSON and serializing objects. debian/patches/0000755000000000000000000000000012251264661010622 5ustar debian/patches/02_avoid_name_conflict_with_ext.patch0000644000000000000000000000046412251264661020046 0ustar Description: Avoid confusion between library and binary extension Author: Cédric Boutillier Forwarded: no Last-Update: 2013-07-05 --- a/lib/oj.rb +++ b/lib/oj.rb @@ -31,4 +31,4 @@ require 'oj/saj' require 'oj/schandler' -require 'oj/oj' # C extension +require 'oj.so' # C extension debian/patches/series0000644000000000000000000000010712251264661012035 0ustar 01_dont_mess_with_loadpath.patch 02_avoid_name_conflict_with_ext.patch debian/patches/01_dont_mess_with_loadpath.patch0000644000000000000000000000076612251264661017056 0ustar Description: do not mess with $LOAD_PATH this is not at all needed for the tests Author: Cédric Boutillier Forwarded: not-needed Last-Update: 2013-03-20 --- a/test/tests.rb +++ b/test/tests.rb @@ -7,8 +7,8 @@ $VERBOSE = true -$: << File.join(File.dirname(__FILE__), "../lib") -$: << File.join(File.dirname(__FILE__), "../ext") +#$: << File.join(File.dirname(__FILE__), "../lib") +#$: << File.join(File.dirname(__FILE__), "../ext") require 'test/unit' require 'stringio' debian/compat0000644000000000000000000000000212251264661010371 0ustar 7 debian/changelog0000644000000000000000000000202612263720171011041 0ustar ruby-oj (2.5.3-1) unstable; urgency=medium * Imported Upstream version 2.5.3 -- Cédric Boutillier Fri, 10 Jan 2014 08:25:41 +0100 ruby-oj (2.4.0-1) unstable; urgency=medium [ Jérémy Bobbio ] * Add git-buildpackage configuration [ Cédric Boutillier ] * Imported Upstream version 2.4.0 + fix build on sparc * Bump Standards-Version to 3.9.5 (no changes needed) * Bump version in gem2deb build-dependency to ensure the extension is built for Ruby2.0 -- Cédric Boutillier Mon, 09 Dec 2013 07:58:50 +0100 ruby-oj (2.1.4-1) unstable; urgency=low * Imported Upstream version 2.1.4 * debian/patches: + refresh and fix extension of 02_avoid_name_conflict_with_ext.patch + drop 03_disable_deep_nest_test.patch, not needed anymore -- Cédric Boutillier Wed, 11 Sep 2013 23:01:38 +0200 ruby-oj (2.0.10-1) unstable; urgency=low * Initial release (Closes: #703558) -- Cédric Boutillier Thu, 21 Mar 2013 00:43:03 +0100 debian/ruby-tests.rb0000644000000000000000000000006212251264661011637 0ustar ENV['TZ']="Europe/Paris" require "test/tests.rb"