debian/0000755000000000000000000000000012226731365007175 5ustar debian/ruby-gelf.docs0000644000000000000000000000001411673153634011740 0ustar README.rdoc debian/rules0000755000000000000000000000070111673153634010255 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/watch0000644000000000000000000000013511673153634010227 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/gelf .*/gelf-(.*).tar.gz debian/source/0000755000000000000000000000000011673153634010477 5ustar debian/source/format0000644000000000000000000000001411673153634011705 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000265311773013506011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gelf-rb Source: https://github.com/Graylog2/gelf-rb Files: * Copyright: 2010-2011 Lennart Koopmann 2010-2011 Alexey Palazhchenko License: Expat Files: debian/* Copyright: 2011 Jonas Genannt License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/control0000644000000000000000000000173012226731365010601 0ustar Source: ruby-gelf Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Jonas Genannt Build-Depends: debhelper (>= 8), gem2deb (>= 0.3.0~), ruby-shoulda, ruby-mocha, ruby-json Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-gelf.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-gelf.git;a=summary Homepage: http://github.com/Graylog2/gelf-rb XS-Ruby-Versions: all Package: ruby-gelf Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-json Description: Ruby GELF library - Graylog2 Extended Log Format library for Ruby Library to send Graylog2 Extended Log Format (GELF) messages to an Graylog2 logging server. Supports plain-text, GELF messages and exceptions. . See http://graylog2.org/ for more information about Graylog2. debian/patches/0000755000000000000000000000000012226732660010623 5ustar debian/patches/001-fix-mocha-deprecation0000644000000000000000000000061412226731365015214 0ustar Description: Fix mocha deprecation Update the mocha require to fix a deprecation warning --- ruby-gelf-1.4.0.orig/test/helper.rb +++ ruby-gelf-1.4.0/test/helper.rb @@ -1,7 +1,7 @@ require 'rubygems' require 'test/unit' require 'shoulda' -require 'mocha' +require 'mocha/setup' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) debian/patches/series0000644000000000000000000000007112226732660012036 0ustar 001-fix-mocha-deprecation 002-fix-tests-string-encodings debian/patches/002-fix-tests-string-encodings0000644000000000000000000000130512226731365016246 0ustar Description: Fix tests strings encodings Fix the encoding of some string literals in the test code Bug-Debian: http://bugs.debian.org/720224 Author: David Suárez --- ruby-gelf-1.4.0.orig/test/test_notifier.rb +++ ruby-gelf-1.4.0/test/test_notifier.rb @@ -149,7 +149,7 @@ class TestNotifier < Test::Unit::TestCas datagrams = @notifier.__send__(:datagrams_from_hash) assert_equal 1, datagrams.count assert_instance_of String, datagrams[0] - assert_equal "\x78\x9c", datagrams[0][0..1] # zlib header + assert_equal "\x78\x9c".force_encoding("ASCII-8BIT"), datagrams[0][0..1] # zlib header end should "split long data" do debian/compat0000644000000000000000000000000211673153634010375 0ustar 8 debian/changelog0000644000000000000000000000201012226731365011040 0ustar ruby-gelf (1.4.0-2) unstable; urgency=low * Team upload [ David Suárez ] * Fix failing tests on ruby2 (Closes: #720224) * Remove mocha deprecation warning * Bump standards version to 3.9.4; no changes needed -- David Suárez Sat, 12 Oct 2013 20:57:25 +0200 ruby-gelf (1.4.0-1) unstable; urgency=low [ Cédric Boutillier ] * debian/control: remove obsolete DM-Upload-Allowed flag * use canonical URI in Vcs-* fields [ Jonas Genannt ] * Imported Upstream version 1.4.0 -- Jonas Genannt Fri, 31 May 2013 21:27:50 +0200 ruby-gelf (1.3.2-2) unstable; urgency=low * d/copyright: updated to version 1.0 * d/control: bumped up standards version * Bumped the build-dependency on gem2deb to >= 0.3.0~. -- Jonas Genannt Wed, 27 Jun 2012 21:55:39 +0200 ruby-gelf (1.3.2-1) unstable; urgency=low * Initial release (Closes: #652368) -- Jonas Genannt Sat, 17 Dec 2011 11:17:45 +0100 debian/ruby-tests.rb0000644000000000000000000000013111673153634011640 0ustar $: << 'lib' << '.' require 'test/helper.rb' Dir['test/test_*.rb'].each { |f| require f }