debian/0000755000000000000000000000000012235433004007162 5ustar debian/gbp.conf0000644000000000000000000000003612235432740010606 0ustar [DEFAULT] pristine-tar = True debian/asciidoctor-doc.doc-base0000644000000000000000000000127012235432740013635 0ustar Document: asciidoctor-doc Title: Debian asciidoctor Manual Author: Dan Allen and Ryan Waldron Abstract: AsciiDoc to HTML rendering for Ruby Asciidoctor is a pure Ruby processor for converting AsciiDoc source files and strings into HTML 5, DocBook 4.5 and other formats. . Asciidoctor uses a set of built-in ERB templates to render the document to HTML 5 or DocBook 4.5. We've matched the rendered output as close as possible to the default output of the native Python processor. You can override this behavior by providing Tilt-compatible templates. Section: Programming/Ruby Format: HTML Index: /usr/share/doc/asciidoctor-doc/html/index.html Files: /usr/share/doc/asciidoctor-doc/html/* debian/rules0000755000000000000000000000161712235432740010255 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_auto_clean: dh_auto_clean rm -rf doc override_dh_auto_build: dh_auto_build # build documentation rdoc --main=README.adoc lib override_dh_auto_install: dh_auto_install # remove asciidoctor-safe rm -f debian/asciidoctor/usr/bin/asciidoctor-safe # remove bundled jquery.js rm -f debian/asciidoctor-doc/usr/share/doc/asciidoctor-doc/html/js/jquery.js override_dh_installchangelogs: dh_installchangelogs -O--buildsystem=ruby CHANGELOG.adoc debian/asciidoctor-doc.install0000644000000000000000000000005412235432740013625 0ustar doc/* usr/share/doc/asciidoctor-doc/html/ debian/control0000644000000000000000000000255412235432740010601 0ustar Source: asciidoctor Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Per Andersson Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), coderay, erubis, locales, rake, ruby-htmlentities, ruby-mocha, ruby-nokogiri (>= 1.5.10), ruby-tilt, ruby-slim, ruby-haml, Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/asciidoctor.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/asciidoctor.git;a=summary Homepage: http://asciidoctor.org/ XS-Ruby-Versions: all Package: asciidoctor Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Suggests: asciidoctor-doc Description: AsciiDoc to HTML rendering for Ruby Asciidoctor is a pure Ruby processor for converting AsciiDoc source files and strings into HTML 5, DocBook 4.5, DocBook 5.0 and other formats. Package: asciidoctor-doc Architecture: all Section: doc Depends: ${misc:Depends}, libjs-jquery Suggests: asciidoctor Description: AsciiDoc to HTML rendering for Ruby (documentation) Asciidoctor is a pure Ruby processor for converting AsciiDoc source files and strings into HTML 5, DocBook 4.5, DocBook 5.0 and other formats. . This package contains the documentation for asciidoctor. debian/asciidoctor-doc.links0000644000000000000000000000012612235432740013277 0ustar usr/share/javascript/jquery/jquery.js usr/share/doc/asciidoctor-doc/html/js/jquery.js debian/asciidoctor.manpages0000644000000000000000000000002212235432740013202 0ustar man/asciidoctor.1 debian/compat0000644000000000000000000000000212235432740010366 0ustar 7 debian/copyright0000644000000000000000000000257412235432740011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: asciidoctor Source: http://asciidoctor.org/ Files: * Copyright: 2012-2013 Dan Allen 2012-2013 Ryan Waldron License: MIT Files: debian/* Copyright: 2013 Per Andersson License: MIT License: MIT 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/changelog0000644000000000000000000000137112235432740011044 0ustar asciidoctor (0.1.4-1) unstable; urgency=low [ Jérémy Bobbio ] * Team upload. * New upstream release. (Closes: #728560) - Update Build-Depends. - Drop patching out the 'pending' gem as upstream does not use it anymore. - No need to comment out 'rubygems' anymore. * Add a patch to remove tests requiring network access. * Update and simply extended description. * Install upstream changelog. [ Per Andersson ] * Add Dan Allen to doc-base Author field * Don't set LC_ALL=C.UTF-8 for dh_auto_install -- Jérémy Bobbio Sun, 03 Nov 2013 11:37:57 +0100 asciidoctor (0.1.3-1) unstable; urgency=low * Initial release (Closes: #703528) -- Per Andersson Sat, 08 Jun 2013 01:04:38 +0200 debian/source/0000755000000000000000000000000012235432740010470 5ustar debian/source/format0000644000000000000000000000001412235432740011676 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000012712235432740010221 0ustar version=3 http://githubredir.debian.net/github/asciidoctor/asciidoctor/ v(.*)\.tar\.gz debian/ruby-tests.rb0000644000000000000000000000001512235432740011632 0ustar exec("rake") debian/patches/0000755000000000000000000000000012235432740010617 5ustar debian/patches/series0000644000000000000000000000005312235432740012032 0ustar prune_tests_requiring_network_access.patch debian/patches/prune_tests_requiring_network_access.patch0000644000000000000000000000145412235432740021376 0ustar Description: remove tests requiring network access Author: Jérémy Bobbio Origin: vendor Forwarded: not-needed diff --git a/test/reader_test.rb b/test/reader_test.rb index abc708a..5750437 100644 --- a/test/reader_test.rb +++ b/test/reader_test.rb @@ -499,17 +499,6 @@ include::fixtures/no-such-file.ad[] end end - test 'include macro can retrieve data from uri' do - input = <<-EOS -.... -include::https://raw.github.com/asciidoctor/asciidoctor/master/LICENSE[] -.... - EOS - - output = render_embedded_string input, :safe => :safe, :attributes => {'allow-uri-read' => ''} - assert_match(/MIT/, output) - end - test 'inaccessible uri referenced by include macro does not crash processor' do input = <<-EOS .... debian/asciidoctor.docs0000644000000000000000000000001412235432740012340 0ustar README.adoc