debian/0000755000000000000000000000000012256657440007201 5ustar debian/rules0000755000000000000000000000147412256657106010266 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 DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's/^Version: ([^+]+).*/\1/p') %: dh $@ --buildsystem=ruby --with ruby override_dh_installman: pod2man --section=1 --release="ruby_parser-$(DEB_UPSTREAM_VERSION)" \ --utf8 --center="Debian GNU System" debian/ruby_parse.1.pod debian/ruby_parse.1 dh_installman override_dh_install: dh_install rm -f debian/ruby-parser/usr/bin/ruby_parse_extract_error debian/watch0000644000000000000000000000015312113051505010207 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/ruby_parser .*/ruby_parser-(.*).tar.gz debian/source/0000755000000000000000000000000012113051505010457 5ustar debian/source/format0000644000000000000000000000001412113051505011665 0ustar 3.0 (quilt) debian/clean0000644000000000000000000000002412256655333010201 0ustar debian/ruby_parse.1 debian/ruby-test-files.yaml0000644000000000000000000000013412113051505013077 0ustar --- - test/test_ruby_lexer.rb - test/test_ruby_parser.rb - test/test_ruby_parser_extras.rb debian/copyright0000644000000000000000000000251612160614630011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ruby_parser Source: https://github.com/seattlerb/ruby_parser Files: * Copyright: 2007-2008 Ryan Davis License: Expat Files: debian/* Copyright: 2011 Praveen Arimbrathodiyil 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/control0000644000000000000000000000224312256650530010576 0ustar Source: ruby-parser Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Praveen Arimbrathodiyil , Cédric Boutillier Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.5~), ruby-minitest, ruby-sexp-processor (>= 4.1) Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-parser.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-parser.git;a=summary Homepage: https://github.com/seattlerb/ruby_parser XS-Ruby-Versions: all Package: ruby-parser Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-sexp-processor Description: Ruby parser written in pure Ruby ruby_parser (RP) can be used to parse and check syntax of Ruby code. "Pure Ruby" in this context means the parser's code * consists solely of Ruby source files * does not add any native extensions or other C code (eg. with RubyInline) which requires a C compiler to be present on the user's system . It utilizes racc and its output is same as that of ParseTree's. debian/ruby-parser.docs0000644000000000000000000000001312113051505012276 0ustar README.txt debian/patches/0000755000000000000000000000000012256650251010621 5ustar debian/patches/series0000644000000000000000000000004212256650251012032 0ustar 001-remove-rubygems-require.patch debian/patches/001-remove-rubygems-require.patch0000644000000000000000000000110412113051505016723 0ustar Description: remove insane manipulations of the $LOAD_PATH Remove require 'rubygems' line. . Usually we also want to remove insane manipulations of the $LOAD_PATH, such as: . $:.unshift "../../ruby_parser/dev/lib" $:.unshift "../../ruby2ruby/dev/lib" . ($: == $LOAD_PATH) Author: Antonio Terceiro --- a/lib/gauntlet_rubyparser.rb +++ b/lib/gauntlet_rubyparser.rb @@ -2,10 +2,6 @@ $f ||= false -$:.unshift "../../ruby_parser/dev/lib" -$:.unshift "../../ruby2ruby/dev/lib" - -require 'rubygems' require 'ruby2ruby' require 'ruby_parser' debian/compat0000644000000000000000000000000212113051505010355 0ustar 7 debian/changelog0000644000000000000000000000314412256657365011063 0ustar ruby-parser (3.2.2-1) unstable; urgency=medium * Imported Upstream version 3.2.2 * debian/control: + add myself to uploaders + tighten version in build dependencies to reflect upstream needs and ensure Ruby 2.0 support + remove obsolete DM-Upload-Allowed flag + use canonical URI in Vcs-* fields + bump Standards-Version to 3.9.5 * debian/copyright: use DEP5 copyright-format/1.0 official URL for Format field * Drop 002-fix-CVE-2013-0162.patch, applied upstream * debian/rules: + do not ignore test errors with ruby1.9.1 + do not install bin/ruby_parse_extract_error + build the manpage in override_dh_installman target + replace the clean target by a debian/clean file -- Cédric Boutillier Wed, 25 Dec 2013 22:39:05 +0100 ruby-parser (2.3.1-2) unstable; urgency=high * Team upload * Add debian/patches/002-fix-CVE-2013-0162.patch: avoid unsecure use of /tmp/ [CVE-2013-0162] (Closes: #701637). -- Cédric Boutillier Tue, 26 Feb 2013 07:08:26 +0100 ruby-parser (2.3.1-1) unstable; urgency=low * New upstream release. * Update description to make lintian happy. -- Praveen Arimbrathodiyil Thu, 22 Sep 2011 15:48:42 +0530 ruby-parser (2.2.0-1) unstable; urgency=low * Initial release. (Closes: #640041) * Ignore ruby 1.9.1 test failures. - Ref: https://github.com/seattlerb/ruby_parser/issues/8 * Ignore require-rubygems, patch out insane $LOAD_PATH manipulations. * Add manpage for ruby_parse. -- Praveen Arimbrathodiyil Thu, 01 Sep 2011 22:32:51 +0530 debian/manpages0000644000000000000000000000001612113051505010672 0ustar debian/*.[0-9]debian/ruby_parse.1.pod0000644000000000000000000000067412113051505012204 0ustar =head1 NAME ruby_parse - ruby_parse checks syntax of ruby files =head1 SYNOPSIS ruby_parse [FILE]... =head1 DESCRIPTION B checks syntax of ruby files and prints if they are good or bad. =head1 USAGE EXAMPLES: $ ruby_parse hello.rb =head1 AUTHORS Ryan Davis - https://github.com/seattlerb This manual page is written by Praveen Arimbrathodiyl for Debian GNU System (GNU/Linux, GNU/kFreeBSD, GNU/Hurd).