summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2015-10-31 03:19:19 -0600
committerDan Allen <dan.j.allen@gmail.com>2015-10-31 03:48:05 -0600
commit87d6ef697286033d99fd961fdeb804ca55a391b7 (patch)
tree143789e05dd2667323011747c69b4c6f6af773a3
parent20dfe031253ecbf6e3d0873f521521446dafdb0c (diff)
prepare for 1.5.3 release
-rw-r--r--CHANGELOG.adoc108
-rw-r--r--README.adoc279
-rw-r--r--Rakefile3
-rw-r--r--lib/asciidoctor/version.rb2
-rw-r--r--man/asciidoctor.14
-rw-r--r--man/asciidoctor.adoc2
-rw-r--r--test/document_test.rb4
7 files changed, 213 insertions, 189 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc
index c875fca0..c6cec139 100644
--- a/CHANGELOG.adoc
+++ b/CHANGELOG.adoc
@@ -11,6 +11,112 @@ endif::[]
This document provides a high-level view of the changes introduced in Asciidoctor by release.
For a detailed view of what has changed, refer to the https://github.com/asciidoctor/asciidoctor/commits/master[commit history] on GitHub.
+== 1.5.3 (2015-10-31) - @mojavelinux
+
+Enhancements::
+ * add support for interactive & inline SVGs (#1301, #1224)
+ * add built-in manpage backend (@davidgamba) (#651)
+ * create Mallard backend; asciidoctor/asciidoctor-mallard (@bk2204) (#425)
+ * add AsciiMath to MathML converter to support AsciiMath in DocBook converter (@pepijnve) (#954)
+ * allow text of selected lines to be highlighted in source block by Pygments or CodeRay (#1429)
+ * use value of `docinfo` attribute to control docinfo behavior (#1510)
+ * add `docinfosubs` attribute to control which substitutions are performed on docinfo files (@mogztter) (#405)
+ * add title accessor as alias to main on Document::Title (@rmannibucau) (#1350)
+ * make XrefInlineRx regexp more permissive (Mathieu Boespflug) (#844)
+
+Improvements::
+ * load JavaScript and CSS at the end of HTML document (@mogztter) (#1238)
+ * list available backends in help text (@plaindocs) (#1271)
+ * properly expand tabs in literal text (#1170, #841)
+ * add `source-indent` as document attribute (@mogztter) (#1169)
+ * upgrade MathJax to 2.5.3 (#1329)
+ * upgrade Font Awesome to 4.4.0 (@mogztter) (#1465)
+ * upgrade highlight.js to 8.6 (now 8.9.1) (#1390)
+ * don't abort if syntax highlighter isn't available (#1253)
+ * insert docinfo footer below footer div (#1503)
+ * insert toc at default location in embeddable HTML (#1443)
+ * replace _ and - in generated alt text for inline images
+ * restore attributes to header attributes after parse (#1255)
+ * allow docdate and doctime to be overridden (#1495)
+ * add CSS class `.center` for center block alignment (#1456)
+ * recognize U+2022 as alternative marker for unordered lists (@mogztter) (#1177)
+ * allow videos to work for local files by prepending asset-uri-scheme (Chris) (#1320)
+ * always assign playlist param when loop option is enabled for YouTube video
+ * parse isolated version in revision line (@bk2204) (#790)
+ * autoload Tilt when template converter is instantiated (#1313)
+ * don't overwrite existing id entry in references table (#1256)
+ * use outfilesuffix attribute defined in header when resolving outfile (#1412)
+ * make AsciiDoc safe mode option on Slim engine match document (#1347)
+ * honor htmlsyntax attribute when backend is html/html5 (#1530)
+ * tighten spacing of wrapped lines in TOC (#1542)
+ * tune padding around table cells in horizontal dlist (#1418)
+ * load Droid Sans Mono 700 in default stylesheet
+ * set line height of table cells used for syntax highlighting
+ * set font-family of kbd; refine styling (#1423)
+ * extract condition into `quote_lines?` method (@mogztter)
+ * extract inline code into `read_paragraph` method (@mogztter)
+ * parent of block in ListItem should be ListItem (#1359)
+ * add helper methods to List and ListItem (#1551)
+ * add method `AbstractNode#add_role` and `AbstractNode#remove_role` (@robertpanzer) (#1366)
+ * introduce helper methods for sniffing URIs (#1422)
+ * add helper to calculate basename without file extension
+ * document `-I` and `-r` options in the manual page (@bk2204)
+ * fix `+--help+` output text for `-I` (@bk2204)
+ * don't require open-uri-cached if already loaded
+ * do not attempt to scan pattern of non-existent directory
+
+Compliance::
+ * use `<sup>` for footnote reference in text instead of `<span>` (#1523)
+ * fix alignment of wrapped text in footnote (#1524)
+ * include full stop after footnote number in embeddable HTML
+ * show manpage title & name section in embeddable HTML (#1179)
+ * resolve missing attribute in ifeval to empty string (#1387)
+ * support unbreakable & breakable options on table (rockyallen) (#1140)
+
+Bug fixes::
+ * don't truncate exception stack in `Asciidoctor.load` (#1248)
+ * don't fail to save cause of Java exception (@robertpanzer) (#1458)
+ * fix precision error in timings report (#1342)
+ * resolve regexp for inline macro lazily (#1336)
+ * block argument to `find_by` should filter results (#1393)
+ * strip comment lines in indented text of dlist item (#1537)
+ * preserve escaped delimiter at end of line in a table (#1306)
+ * correctly calculate colnames for implicit columns (#1556)
+ * don't crash if colspan exceeds colspec (#1460)
+ * account for empty records in colspec (#1375)
+ * ignore empty cols attribute on table
+ * use `.inspect` to print MathJax delimiters (again) (#1198)
+ * use while loop instead of begin/while loop to address bug in Asciidoctor.js (#1408)
+ * force encoding of attribute values passed from cli (#1191)
+ * don't copy css if stylesheet or stylesdir is a URI (#1400)
+ * fix invalid color value in default CodeRay theme
+ * built-in writer no longer fails if output is nil (#1544)
+ * custom template engine options should take precedence
+ * fallback to require with a non-relative path to support Debian package (@mogztter)
+ * pass opts to recursive invocations of `PathResolver#system_path`
+ * fix and test external links in docbook backend
+ * use format symbol `:html` instead of `:html5` for Slim to fix warnings
+ * fix documentation for inline_macro and block_macro (Andrea Bedini)
+ * fix grammar in warning messages regarding thread_safe gem
+
+Infrastructure::
+ * migrate opal_ext from core to Asciidoctor.js (#1517)
+ * add Ruby 2.2 to CI build; only specify minor Ruby versions
+ * enable containerized builds on Travis CI
+ * add config to run CI build on AppVeyor
+ * exclude benchmark folder from gem (#1522)
+
+Distribution Packages::
+
+ * http://rubygems.org/gems/asciidoctor[RubyGem (asciidoctor)]
+ * https://apps.fedoraproject.org/packages/rubygem-asciidoctor[Fedora (rubygem-asciidoctor)]
+ * http://packages.debian.org/sid/asciidoctor[Debian (asciidoctor)]
+ * http://packages.ubuntu.com/saucy/asciidoctor[Ubuntu (asciidoctor)]
+
+https://github.com/asciidoctor/asciidoctor/issues?q=milestone%3Av1.5.3[issues resolved] |
+https://github.com/asciidoctor/asciidoctor/releases/tag/v1.5.3[git tag] |
+https://github.com/asciidoctor/asciidoctor/compare/v1.5.2...v1.5.3[full diff]
+
== 1.5.2 (2014-11-27) - @mojavelinux
Enhancements::
@@ -63,7 +169,7 @@ Distribution Packages::
https://github.com/asciidoctor/asciidoctor/issues?q=milestone%3Av1.5.2[issues resolved] |
https://github.com/asciidoctor/asciidoctor/releases/tag/v1.5.2[git tag] |
-https://github.com/asciidoctor/asciidoctor/compare/v1.5.0...v1.5.2[full diff]
+https://github.com/asciidoctor/asciidoctor/compare/v1.5.1...v1.5.2[full diff]
== 1.5.1 (2014-09-29) - @mojavelinux
diff --git a/README.adoc b/README.adoc
index 9aed0b5b..5c8af56b 100644
--- a/README.adoc
+++ b/README.adoc
@@ -1,5 +1,6 @@
= Asciidoctor
Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
+v1.5.3, 2015-10-31
// settings:
:page-layout: base
:idprefix:
@@ -150,7 +151,7 @@ If that's the case, use the following gem command to remove the old versions:
source 'https://rubygems.org'
gem 'asciidoctor'
# or specify the version explicitly
-# gem 'asciidoctor', '1.5.2'
+# gem 'asciidoctor', '1.5.3'
----
. Save the Gemfile
@@ -203,7 +204,7 @@ You should see information about the Asciidoctor version and your Ruby environme
[.output]
....
-Asciidoctor 1.5.2 [http://asciidoctor.org]
+Asciidoctor 1.5.3 [http://asciidoctor.org]
Runtime Environment (ruby 2.2.2p95 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
....
@@ -348,6 +349,101 @@ The project was initiated in 2012 by https://github.com/erebor[Ryan Waldron] and
== Changelog
+== 1.5.3 (2015-10-31) - @mojavelinux
+
+Enhancements::
+ * add support for interactive & inline SVGs (#1301, #1224)
+ * add built-in manpage backend (@davidgamba) (#651)
+ * create Mallard backend; asciidoctor/asciidoctor-mallard (@bk2204) (#425)
+ * add AsciiMath to MathML converter to support AsciiMath in DocBook converter (@pepijnve) (#954)
+ * allow text of selected lines to be highlighted in source block by Pygments or CodeRay (#1429)
+ * use value of `docinfo` attribute to control docinfo behavior (#1510)
+ * add `docinfosubs` attribute to control which substitutions are performed on docinfo files (@mogztter) (#405)
+ * add title accessor as alias to main on Document::Title (@rmannibucau) (#1350)
+ * make XrefInlineRx regexp more permissive (Mathieu Boespflug) (#844)
+
+Improvements::
+ * load JavaScript and CSS at the end of HTML document (@mogztter) (#1238)
+ * list available backends in help text (@plaindocs) (#1271)
+ * properly expand tabs in literal text (#1170, #841)
+ * add `source-indent` as document attribute (@mogztter) (#1169)
+ * upgrade MathJax to 2.5.3 (#1329)
+ * upgrade Font Awesome to 4.4.0 (@mogztter) (#1465)
+ * upgrade highlight.js to 8.6 (now 8.9.1) (#1390)
+ * don't abort if syntax highlighter isn't available (#1253)
+ * insert docinfo footer below footer div (#1503)
+ * insert toc at default location in embeddable HTML (#1443)
+ * replace _ and - in generated alt text for inline images
+ * restore attributes to header attributes after parse (#1255)
+ * allow docdate and doctime to be overridden (#1495)
+ * add CSS class `.center` for center block alignment (#1456)
+ * recognize U+2022 as alternative marker for unordered lists (@mogztter) (#1177)
+ * allow videos to work for local files by prepending asset-uri-scheme (Chris) (#1320)
+ * always assign playlist param when loop option is enabled for YouTube video
+ * parse isolated version in revision line (@bk2204) (#790)
+ * autoload Tilt when template converter is instantiated (#1313)
+ * don't overwrite existing id entry in references table (#1256)
+ * use outfilesuffix attribute defined in header when resolving outfile (#1412)
+ * make AsciiDoc safe mode option on Slim engine match document (#1347)
+ * honor htmlsyntax attribute when backend is html/html5 (#1530)
+ * tighten spacing of wrapped lines in TOC (#1542)
+ * tune padding around table cells in horizontal dlist (#1418)
+ * load Droid Sans Mono 700 in default stylesheet
+ * set line height of table cells used for syntax highlighting
+ * set font-family of kbd; refine styling (#1423)
+ * extract condition into `quote_lines?` method (@mogztter)
+ * extract inline code into `read_paragraph` method (@mogztter)
+ * parent of block in ListItem should be ListItem (#1359)
+ * add helper methods to List and ListItem (#1551)
+ * add method `AbstractNode#add_role` and `AbstractNode#remove_role` (@robertpanzer) (#1366)
+ * introduce helper methods for sniffing URIs (#1422)
+ * add helper to calculate basename without file extension
+ * document `-I` and `-r` options in the manual page (@bk2204)
+ * fix `+--help+` output text for `-I` (@bk2204)
+ * don't require open-uri-cached if already loaded
+ * do not attempt to scan pattern of non-existent directory
+
+Compliance::
+ * use `<sup>` for footnote reference in text instead of `<span>` (#1523)
+ * fix alignment of wrapped text in footnote (#1524)
+ * include full stop after footnote number in embeddable HTML
+ * show manpage title & name section in embeddable HTML (#1179)
+ * resolve missing attribute in ifeval to empty string (#1387)
+ * support unbreakable & breakable options on table (rockyallen) (#1140)
+
+Bug fixes::
+ * don't truncate exception stack in `Asciidoctor.load` (#1248)
+ * don't fail to save cause of Java exception (@robertpanzer) (#1458)
+ * fix precision error in timings report (#1342)
+ * resolve regexp for inline macro lazily (#1336)
+ * block argument to `find_by` should filter results (#1393)
+ * strip comment lines in indented text of dlist item (#1537)
+ * preserve escaped delimiter at end of line in a table (#1306)
+ * correctly calculate colnames for implicit columns (#1556)
+ * don't crash if colspan exceeds colspec (#1460)
+ * account for empty records in colspec (#1375)
+ * ignore empty cols attribute on table
+ * use `.inspect` to print MathJax delimiters (again) (#1198)
+ * use while loop instead of begin/while loop to address bug in Asciidoctor.js (#1408)
+ * force encoding of attribute values passed from cli (#1191)
+ * don't copy css if stylesheet or stylesdir is a URI (#1400)
+ * fix invalid color value in default CodeRay theme
+ * built-in writer no longer fails if output is nil (#1544)
+ * custom template engine options should take precedence
+ * fallback to require with a non-relative path to support Debian package (@mogztter)
+ * pass opts to recursive invocations of `PathResolver#system_path`
+ * fix and test external links in docbook backend
+ * use format symbol `:html` instead of `:html5` for Slim to fix warnings
+ * fix documentation for inline_macro and block_macro (Andrea Bedini)
+ * fix grammar in warning messages regarding thread_safe gem
+
+Infrastructure::
+ * migrate opal_ext from core to Asciidoctor.js (#1517)
+ * add Ruby 2.2 to CI build; only specify minor Ruby versions
+ * enable containerized builds on Travis CI
+ * add config to run CI build on AppVeyor
+ * exclude benchmark folder from gem (#1522)
+
== 1.5.2 (2014-11-27) - @mojavelinux
Enhancements::
@@ -411,183 +507,4 @@ Improvements::
* add test for usage of image block macro with data URI
* use badges from shields.io in README
-=== 1.5.0 (2014-08-12) - @mojavelinux
-
-Performance::
-
- * 10% increase in speed compared to 0.1.4
- * rewrite built-in converters in Ruby instead of ERB
-
-Enhancements::
-
- * introduce new curved quote syntax (pass:["`double quotes`"], pass:['`single quotes`']) if compat-mode attribute not set (#1046)
- * add single curved quote replacement for pass:[`'] (#715)
- * use backtick (pass:[`]) for monospaced text if compat-mode attribute not set (#714, #718)
- * use single and double plus (pass:[+], pass:[++]) for inline passthrough if compat-mode attribute not set (#714, #718)
- * disable single quotes as formatting marks for emphasized text if compat-mode attribute not set (#717)
- * enable compat-mode by default if document has atx-style doctitle
- * output phrase surrounded by # as marked text (i.e., <mark>) (#225)
- * add MathJax integration and corresponding blocks and macros (#492, #760)
- * switch to open source fonts (Open Sans, Noto Serif and Droid Sans Mono) in default stylesheet, major refinements to theme (#879)
- * embed remote images when data-uri and allow-uri-read attributes are set (#612)
- * support leveloffset on include directive and honor relative leveloffset values (#530)
- * switch default docbook backend to docbook5 (@bk2204) (#554)
- * added hide-uri-scheme attribute to hide uri scheme in automatic links (#800)
- * allow substitutions to be incrementally added & removed (#522)
- * add compatibility with Opal, add shim compat library, use compatibility regexp, require libraries properly (@mogztter) (#679, #836, #846)
- * output XHTML when backend is xhtml or xhtml5 (#494)
- * add shorthand subs and specialchars as an alias for specialcharacters (#579)
- * deprecate toc2 attribute in favor of position and placement values on toc attribute (e.g., toc=left) (#706)
- * add source map (file and line number) information to blocks (#861)
- * write to file by default if input is file (#907)
- * add -r and -I flags from ruby command to asciidoctor command for loading additional libraries (#574)
- * support backslash (\) as line continuation character in the value of an attribute entry (#1022)
- * disable subs on pass block by default (#737)
- * add basic support for resolving xref target from reftext (#589)
- * add time range anchor to video element (#886)
- * match implicit URLs that use the file scheme (#853)
- * added sectnumlevels to control depth of section numbering (#549)
- * add hardbreaks option to block (#630)
- * sub attributes in manname (e.g., pass:[{docname}])
- * warn on reference to missing attribute if attribute-missing is "warn"
- * only enable toc macro if toc is enabled and toc-placement attribute has the value macro (#706)
- * add sectnums attribute as alternative alias to numbered attribute (#684)
-
-Improvements::
-
- * don't select lines that contain a tag directive when including tagged lines, make tag regexp more strict (#1027)
- * use https scheme for assets by default
- * upgrade to Font Awesome 4.1 (@mogztter) (#752)
- * improve print styles, add print styles for book doctype (@leif81) (#997, #952)
- * add proper grid and frame styles for tables (@leif81) (#569)
- * use glyphs for checkboxes when not using font icons (#878)
- * prefer source-language attribute over language attribute for defining default source language (#888)
- * pass document as first argument to process method on Preprocessor
- * don't parse link attributes when linkattrs is set unless text contains equal sign
- * detect bare links, mark with bare class; don't repeat URL of bare link in print styles
- * allow Treeprocessor#process method to replace tree (#1035)
- * add AbstractNode#find_by method to locate nodes in tree (#862)
- * add API for parsing title and subtitle (#1000)
- * add use_fallback option to doctitle, document method
- * constrain subscript & superscript markup (#564, #936)
- * match cell specs when cell separator is customized (#985)
- * use stylesheet to set default table width (#975)
- * display nested elements correctly in toc (@kenfinnigan) (#967)
- * add support for id attribute on links (@mogztter) (#935)
- * add support for title attribute on links (@aslakknutsen)
- * add -t flag to cli to control output of timing information (@mogztter) (#909)
- * rewrite converter API (#778)
- * rewrite extensions to support extension instances for AsciidoctorJ (#804)
- * integrate thread_safe gem (#638)
- * allow inline macro extensions that define a custom regexp to be matched (#792)
- * make Reader#push_include work with default file, path and dir (@bk2204) (#743)
- * honor custom outfilesuffix and introduce relfileprefix (#801)
- * add author and copyright to meta in HTML5 backend (#838)
- * output attribution in front of citetitle for quote and verse blocks
- * recognize float style with shorthand syntax outside block (#818)
- * honor background color in syntax highlighting themes (#813)
- * print runtime environment in version output, support -v as version flag (#785)
- * unwrap preamble if standalone (#533)
- * drop leading & trailing blank lines in verbatim & raw content (#724)
- * remove trailing endlines from source data (#727)
- * add flag to cli to suppress warnings (#557)
- * emit warning if tag(s) not found in include file (#639)
- * use <th> element for vertical table headers instead of header class (@davidgamba) (#738)
- * share select references between AsciiDoc-style cell & main document (#729)
- * number chapters sequentially, always (#685)
- * add vbar attribute, make brvbar resolve properly (#643)
- * add implicit user-home attribute that resolves to user's home directory (#629)
- * enable sidebar toc for small screens (#628)
- * add square brackets around button in HTML output (#631)
- * make language hover text work for all languages in listing block
- * set background color on toc2 to cover scrolling content (@neher)
- * make document parsing a discrete step, make Reader accessible as property on Document
- * allow custom converter to set backend info such as outfilesuffix and htmlsyntax
- * report an informative error message when a converter cannot be resolved (@mogztter)
- * add conum class to b element when icons are disabled, make conum CSS selector more specific
- * expose Document object to extension point IncludeProcessor (@aslakknutsen)
- * style audioblock title, simplify rules for block titles
- * alias :name_attributes to :positional_attributes in extension DSL
- * upgrade to highlight.js 7.4 (and later 8.0) (@mogztter) (#756)
-
-Compliance::
-
- * only include xmlns in docbook45 backend if xmlns attribute is specified (#929)
- * add xmlns attribute for xhtml output (@bk2204)
- * warn if table without a body is converted to DocBook (#961)
- * wrap <para> around admonition inside example block in DocBook 4.5 (#931)
- * use <informalfigure> if block image doesn't have a title (#927)
- * fix invalid docbook when adding role to formatted text (#956)
- * move all compliance flags to Compliance module (#624)
- * add compliance setting to control use of shorthand property syntax (#789)
- * wrap top-level content inside preamble in DocBook backend when doctype is book (#971)
- * escape special chars in image alt text (#972)
- * set starting number in ordered list for docbook (@megathaum) (#925)
- * match word characters in regular expressions as defined by Unicode (#892)
- * put source language class names on child code element of pre element (#921)
- * ignore case of attribute in conditional directives (#903)
- * allow attribute entry to reset / reseed counter (#870)
- * allow doctype to be set in AsciiDoc table cell (#863)
- * match URL macro following entity (@jmbruel) (#819)
- * handle BOM when normalizing source (#824)
- * don't output revhistory if revdate is not set (#802)
- * perform normal subs on verse content (#799)
- * automatically wrap part intro content in partintro block, emit warning if part is invalid (#768)
- * force encoding of docinfo content to UTF-8 (#773)
- * add scaling & alignment attributes to block image in DocBook backend (#763)
- * add support for pass:[anchor:<id>[<reftext>\]] macro (#531)
- * substitute anchor and xref macros in footnotes (#676)
- * remove all string mutation operations for compatibility with Opal (#735)
- * honor reftext defined in embedded section title anchor (#697)
- * allow spaces in reftext defined in block anchor (#695)
- * use reftext of section or block in text of xref link (#693)
- * number sections in appendix using appendix number (#683)
- * unescape escaped square closing bracket in footnote text (#677)
- * support quoted index terms that may contain commas (#597)
- * don't assign role attribute if quoted text has no roles (#647)
- * disallow quoted values in block and inline anchors
- * add % to scaledwidth if no units given
- * ignore block attribute with unquoted value None
- * preserve entity references with 5 digits
-
-Bug Fixes::
-
- * resolve relative paths relative to base_dir in unsafe mode (#690)
- * properly handle nested passthroughs (#1034)
- * don't clobber outfilesuffix attribute if locked (#1024)
- * correctly calculate columns if colspan used in first row of table (#924)
- * pass theme to Pygments when pygments-css=style (#919)
- * fallback to text lexer when using pygments for source highlighting (#987)
- * only make special section if style is specified (#917)
- * an unresolved footnote ref should not crash processor (#876)
- * rescue failure to resolve ::Dir.home (#896)
- * recognize Windows UNC path as absolute and preserve it (#806)
- * adjust file glob to account for backslash in Windows paths (#805)
- * don't match e-mail address inside URL (#866)
- * test include directive resolves file with space in name (#798)
- * return nil from Reader#push_include and Reader#pop_include methods (#745)
- * fixed broken passthroughs caused by source highlighting (#720)
- * copy custom stylesheet if linkcss is set (#300)
- * honor list continuations for indented, nested list items (#664)
- * fix syntax errors in converters (@jljouannic)
- * fix iconfont-remote setting
- * fix syntax error (target -> node.target) in Docbook 5 converter (@jf647)
- * output and style HTML for toc macro correctly
-
-Infrastructure::
-
- * add Ruby 2.1 to list of supported platforms
- * reenable rbx in Travis build
- * switch tests to minitest (@ktdreyer)
- * update RPM for Fedora Rawhide (@ktdreyer)
- * refactor unit tests so they work in RubyMine (@cmoulliard)
- * add preliminary benchmark files to repository (#1021)
- * clean out old fixtures from test suite (#960)
- * add initial Cucumber test infrastructure (#731)
- * use gem tasks from Bundler in Rakefile (#654)
- * build gemspec files using git ls-tree (#653)
- * use in-process web server for URI tests
- * update manpage to reflect updates in 1.5.0
- * rework README (@mogztter) (#651)
-
Refer to the {uri-changelog}[CHANGELOG] for a complete list of changes in older releases.
diff --git a/Rakefile b/Rakefile
index 3fcf7a23..702db12f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -127,9 +127,10 @@ begin
require 'bundler/gem_tasks'
# Enhance the release task to create an explicit commit for the release
- Rake::Task[:release].enhance [:commit_release]
+ #Rake::Task[:release].enhance [:commit_release]
# NOTE you don't need to push after updating version and committing locally
+ # WARNING no longer works; it's now necessary to get master in a state ready for tagging
task :commit_release do
Bundler::GemHelper.new.send(:guard_clean)
sh "git commit --allow-empty -a -m 'Release #{Asciidoctor::VERSION}'"
diff --git a/lib/asciidoctor/version.rb b/lib/asciidoctor/version.rb
index 01fbecd5..c51f1143 100644
--- a/lib/asciidoctor/version.rb
+++ b/lib/asciidoctor/version.rb
@@ -1,3 +1,3 @@
module Asciidoctor
- VERSION = '1.5.3.dev'
+ VERSION = '1.5.3'
end
diff --git a/man/asciidoctor.1 b/man/asciidoctor.1
index 1f1495df..faaf41d9 100644
--- a/man/asciidoctor.1
+++ b/man/asciidoctor.1
@@ -4,10 +4,10 @@
.\" Generator: Asciidoctor 1.5.3
.\" Date: 2015-10-30
.\" Manual: Asciidoctor Manual
-.\" Source: Asciidoctor 1.5.3.dev
+.\" Source: Asciidoctor 1.5.3
.\" Language: English
.\"
-.TH "ASCIIDOCTOR" "1" "2015-10-30" "Asciidoctor 1.5.3.dev" "Asciidoctor Manual"
+.TH "ASCIIDOCTOR" "1" "2015-10-30" "Asciidoctor 1.5.3" "Asciidoctor Manual"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
diff --git a/man/asciidoctor.adoc b/man/asciidoctor.adoc
index c06b91c9..67e822ef 100644
--- a/man/asciidoctor.adoc
+++ b/man/asciidoctor.adoc
@@ -2,7 +2,7 @@
Dan Allen; Sarah White; Ryan Waldron
:doctype: manpage
:man manual: Asciidoctor Manual
-:man source: Asciidoctor 1.5.3.dev
+:man source: Asciidoctor 1.5.3
:page-layout: base
== NAME
diff --git a/test/document_test.rb b/test/document_test.rb
index 309cddbb..eaea021c 100644
--- a/test/document_test.rb
+++ b/test/document_test.rb
@@ -1516,8 +1516,8 @@ Text that has supporting information{empty}footnote:[An example footnote.].
assert_css '#footnotes', output, 1
assert_css '#footnotes .footnote', output, 1
assert_css '#footnotes .footnote#_footnote_1', output, 1
- assert_xpath '//div[@id="footnotes"]/div[@id="_footnote_1"]/a[@href="#_footnoteref_1"][text()="1"]', output, 1
- text = xmlnodes_at_xpath '//div[@id="footnotes"]/div[@id="_footnote_1"]/text()', output, 1
+ assert_xpath '/div[@id="footnotes"]/div[@id="_footnote_1"]/a[@href="#_footnoteref_1"][text()="1"]', output, 1
+ text = xmlnodes_at_xpath '/div[@id="footnotes"]/div[@id="_footnote_1"]/text()', output, 1
assert_equal '. An example footnote.', text.text.strip
end