debian/0000755000000000000000000000000012263714343007173 5ustar debian/rules0000755000000000000000000000100212162521517010241 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_installchangelogs: dh_installchangelogs CHANGES.md debian/watch0000644000000000000000000000014712124703755010227 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/safe_yaml .*/safe_yaml-(.*).tar.gz debian/source/0000755000000000000000000000000012124703755010474 5ustar debian/source/format0000644000000000000000000000001412124703755011702 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000251712124703755011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: safe_yaml Source: https://github.com/dtao/safe_yaml Files: * Copyright: 2013 Dan Tao License: Expat Files: debian/* Copyright: 2013 Cédric Boutillier 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/control0000644000000000000000000000176512263713233010604 0ustar Source: ruby-safe-yaml Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Cédric Boutillier Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), rake, ruby-rspec, ruby-hashie, ruby-indentation Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-safe-yaml.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-safe-yaml.git;a=summary Homepage: https://github.com/dtao/safe_yaml XS-Ruby-Versions: all Package: ruby-safe-yaml Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: safer YAML loader for Ruby SafeYAML provides an alternative implementation of YAML.load suitable for accepting user input in Ruby applications. . Unlike Ruby's built-in implementation of YAML.load, SafeYAML's version does not expose applications to arbitrary code execution exploits. debian/ruby-safe-yaml.docs0000644000000000000000000000001212124703755012674 0ustar README.md debian/patches/0000755000000000000000000000000012263714010010611 5ustar debian/patches/use_ruby-indentation.patch0000644000000000000000000000110312263713750016006 0ustar Description: use 'indentation' gem instead of unpackaged 'heredoc_unindent' and provide an alias for the unindent method, called reset_indentation in indentation gem. Author: Cédric Boutillier Forwarded: not-needed Last-Update: 2014-01-10 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -22,6 +22,11 @@ require "safe_yaml/load" require "ostruct" require "hashie" -require "heredoc_unindent" +#require "heredoc_unindent" +require "indentation" require File.join(HERE, "resolver_specs") + +class String + alias unindent reset_indentation +end debian/patches/series0000644000000000000000000000003312124703755012034 0ustar use_ruby-indentation.patch debian/compat0000644000000000000000000000000212124703755010372 0ustar 7 debian/changelog0000644000000000000000000000205112263714343011043 0ustar ruby-safe-yaml (1.0.1-1) unstable; urgency=medium * Imported Upstream version 1.0.1 * debian/control: + update Homepage field + bump Standards-Version to 3.9.5 (no changes needed) * Refresh use_ruby-indentation.patch -- Cédric Boutillier Fri, 10 Jan 2014 07:53:20 +0100 ruby-safe-yaml (0.9.7-1) unstable; urgency=low * Imported Upstream version 0.9.7 -- Cédric Boutillier Wed, 25 Sep 2013 07:11:15 +0200 ruby-safe-yaml (0.9.5-1) unstable; urgency=low * Imported Upstream version 0.9.5 * Take into account Ruby2.0 and its yamler in ruby-tests.rb (Closes: #720243). -- Cédric Boutillier Wed, 11 Sep 2013 23:18:57 +0200 ruby-safe-yaml (0.9.3-1) unstable; urgency=low * New upstream version * Install upstream changelog -- Cédric Boutillier Wed, 26 Jun 2013 10:16:37 +0200 ruby-safe-yaml (0.9.0-1) unstable; urgency=low * Initial release (Closes: #703861) -- Cédric Boutillier Thu, 28 Mar 2013 01:10:10 +0100 debian/ruby-tests.rb0000644000000000000000000000036312214157061011635 0ustar yamlers=\ case RUBY_VERSION when /1\.8/ [""] when /1\.9/ ["psych", "syck"] else # 2.0 ["psych"] end yamlers.each do |yamler| ENV["YAMLER"]=yamler system("#{ENV['RUBY_TEST_BIN']} /usr/bin/rake spec") or raise end