debian/0000755000000000000000000000000011773265016007176 5ustar debian/patches/0000755000000000000000000000000011773267500010625 5ustar debian/patches/ext_to_load_path0000644000000000000000000000062011773267500014063 0ustar --- ruby-escape-utils-0.2.4.orig/spec/spec_helper.rb +++ ruby-escape-utils-0.2.4/spec/spec_helper.rb @@ -1,5 +1,7 @@ $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..') $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib') +$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../ext') +puts `find -name \*.so` require 'rspec' require 'escape_utils' debian/patches/series0000644000000000000000000000002111773267500012033 0ustar ext_to_load_path debian/control0000644000000000000000000000175611773254206010611 0ustar Source: ruby-escape-utils Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Tollef Fog Heen Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-rspec, rake, ruby-rack, ruby-haml, ruby-actionpack Standards-Version: 3.9.2 #Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-escape-utils.git #Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-escape-utils.git;a=summary Homepage: http://github.com/brianmario/escape_utils XS-Ruby-Versions: ruby1.9.1 Package: ruby-escape-utils Architecture: any XB-Ruby-Versions: ruby1.9.1 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Faster string escaping routines for your web apps escape_utils provides fast HTML escaping of string. It has monkey-patches for Rack::Utils, CGI, URI, ERB::Util and Haml and ActionView which speed up their escaping. . It's assumed that all input is UTF-8 encoded. debian/compat0000644000000000000000000000000211772525516010377 0ustar 7 debian/ruby-escape-utils.docs0000644000000000000000000000001211772655240013417 0ustar README.md debian/watch0000644000000000000000000000015511772525516010233 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/escape_utils .*/escape_utils-(.*).tar.gz debian/source/0000755000000000000000000000000011772525516010501 5ustar debian/source/format0000644000000000000000000000001411772525516011707 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000411511772526225011133 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: escape_utils Source: http://github.com/brianmario/escape_utils Files: ext/escape_utils/buffer.c ext/escape_utils/buffer.h Copyright: Copyright 2008, Natacha Porté Copyright 2011, Vicent Martí Licence: MIT-1 Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: * Copyright: Copyright 2010-2011 Brian Lopez - http://github.com/brianmario Licence: MIT-2 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/ruby-test-files.yaml0000644000000000000000000000053011772654144013121 0ustar --- - spec/html/escape_spec.rb - spec/html/unescape_spec.rb - spec/html_safety_spec.rb - spec/javascript/escape_spec.rb - spec/javascript/unescape_spec.rb - spec/query/escape_spec.rb - spec/query/unescape_spec.rb - spec/spec_helper.rb - spec/uri/escape_spec.rb - spec/uri/unescape_spec.rb - spec/url/escape_spec.rb - spec/url/unescape_spec.rb debian/rules0000755000000000000000000000116211773266475010270 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_install: dh_install -O--buildsystem=ruby cd ./debian/ruby-escape-utils/usr/lib/ruby/vendor_ruby/1.9.1/* && mkdir escape_utils && mv escape_utils.so escape_utils/ debian/changelog0000644000000000000000000000120611773267155011055 0ustar ruby-escape-utils (0.2.4-3) unstable; urgency=low * Install escape_utils.so to $vendordir/escape_utils, since that's where packages seem to expect to find it. -- Tollef Fog Heen Fri, 29 Jun 2012 10:54:48 +0200 ruby-escape-utils (0.2.4-2) unstable; urgency=low * Fix uploaders to include full name * Drop DM-Upload-Allowed, no DMs in Uploaders anyway. * Fix description. * Enable tests. -- Tollef Fog Heen Fri, 29 Jun 2012 08:58:17 +0200 ruby-escape-utils (0.2.4-1) unstable; urgency=low * Initial release -- Tollef Fog Heen Wed, 27 Jun 2012 08:39:58 +0200