| Age | Commit message (Collapse) | Author |
|
|
|
|
|
metadata from author overrides
|
|
implicit authors
|
|
|
|
|
|
|
|
|
|
|
|
header (PR #3182)
- substitute replacements in author values used in document header
- require space after semi-colon that separates multiple authors
|
|
- use chop instead of chomp to remove trailing newline from heredoc string
- document all uses of non-quoted squiggly heredoc to preserve indentation
- fix incorrect preparation of uniform indentation in list tests
- remove unnecessary uses of chomp
|
|
comment to source files (PR #3055)
- replace gsub! and sub! with gsub and sub, respectively
- add `frozen_string_literal: true` magic comment to all Ruby source files
- see https://www.mikeperham.com/2018/02/28/ruby-optimization-with-one-magic-comment/
|
|
- don't store the options attribute on the block once the options are parsed
- only store options as individual attributes (e.g., header-option)
- add an options method on AbstractNode to retrieve the set of option names
- store partial-option as empty string instead of true
- reference low-level option attribute internally
|
|
|
|
- JRuby incorrectly drops all indentation in a squiggly heredoc when interpolation is disabled
|
|
|
|
- switch to modern hash syntax (from :key => value to key: value)
- put space inside hash brackets (from {key: value} to { key: value }
- use dangling comma on last entry of multi-line hash
|
|
- use require_relative in place of require when it relied on $LOAD_PATH manipulation
- configure bin scripts to work with require_relative
- rename ROOT_PATH to ROOT_DIR
- rename DATA_PATH to DATA_DIR
- rename STYLESHEETS_DATA_PATH to STYLESHEETS_DIR
- define LIB_DIR
- simplify test helper require and setup
- add bindir helper to test suite
- remove unneeded constants in test helper
- reorder autoload statements
- require version directly instead of autoloading
|
|
- remove constants for differentiating between Ruby versions
- remove fallback assignment for RUBY_ENGINE constant
- remove rubygems require
- use unicode character properties in regular expressions (e.g., \p{Word})
- remove COERCE_ENCODING constant
- always set FORCE_ENCODING constant to true unless default external encoding is not UTF-8
- remove workaround for computing line length
- use lines method instead of lines.entries to get lines for string
- always normalize lines
- check if JRuby class is defined instead of checking for JRuby engine
- remove global RUBY_ENGINE_JRUBY constant
- move RUBY_ENGINE_OPAL constant inside Asciidoctor module
- remove magic encoding comments (since default script encoding is UTF-8)
- remove workaround when printing encoding information
- remove fallback assignments for passthrough escape characters
- remove Ruby core backports (only leave Asciidoctor-specific extensions)
- use __dir__ instead of File.dirname __FILE__
- use Float#truncate to truncate column widths
- override Float#truncate on Ruby 2.3 to implement precision argument
- remove concurrent/hash backport
- simplify class_for_name helper
- don't call to_sym on constants returned from constants method
- remove unnecessary aliasing of regexp match variables; use magic variable instead (e.g., m = $~)
- remove workaround for sub_specialchars to accomodate gsub with map argument
- remove comment about %:z placeholder for strftime
- don't call .to_a on return value of Hash#keys
- get home directory using Dir.home
- remove exceptions and exclusions for Ruby < 2 in test suite
- update list of supported Ruby engines and versions in READMEs
- update ruby versions in run-tests.sh
|
|
|
|
in use (PR #2938)
|
|
|
|
|
|
(PR #2786)
|
|
- using the shorthand syntax to set block attributes (id, roles, options) doesn't reset block style
- roles specified using shorthand syntax are additive
- parse style attribute eagerly, after reading each block attribute line
- simplify check for discrete heading
|
|
|
|
|
|
- replace assert ! with refute
- use assert_nil and refute_nil
- use assert_empty and refute_empty
- use assert_kind_of instead of direct is_a? call
- use assert_respond_to instead of direct respond_to? call
|
|
- only return parsed style (not original style)
- update API docs for method
- optimize method return; consolidate code
|
|
- refactor and optimize Parser.store_attribute method
- add tests for Parser.store_attribute method
- change return value of Document#set_attribute to resolved value
- add return value to update backend/doctype methods on Document
|
|
- sanitize content of authors meta tag in HTML output
- sanitize value of author and authors attribute before partitioning
- consolidate author metadata assignment
- add tests
|
|
(PR #2104)
- when reparsing overrides; reconstruct compound names if necessary
- add test for multiple authors with compound names
|
|
|
|
|
|
|
|
|
|
|
|
- introduce tabsize attribute to control size of tab character
- expand tabs in verbatim blocks if tab present and value of tabsize attribute is positive
- rename reset_block_indent! to adjust_indentation!
- only use adjust_indentation! on include if indent is specified
- only expand tabs in included content if indent attribute is set
- use adjust_indentation! to remove left margin in paragraphs marked normal
- don't add indentation to empty lines
- set tab-size property to 4 in default stylesheet
- increase letter spacing in blockquote cite in default stylesheet
- add and fix tests
|
|
|
|
- parse revision line which only has version as revnumber
- require version to begin with 'v' if date is absent in revision line
|
|
- replace \w with character class to match word characters as defined by Unicode
- use Unicode match groups for Ruby >= 1.9.3
- rename regex character class constants
- don't filter out word characters outside of ASCII range in section id
- add tests for matching word characters outside of ASCII range
- Opal compatibility fixes and cleanups
|
|
Ruby 1.9+ uses Minitest as the backend for Test::Unit. As of Minitest 5,
the shim no longer supports Test::Unit::TestCase.
Adjust the test suite to support Minitest 5's syntax.
Minitest versions 4 and below do not support the newer Minitest::Test
class that arrived in version 5. For that case, use the
MiniTest::Unit::TestCase class as a fallback.
|
|
- rename Lexer to Parser
- use dot notation instead of double colon notation for class methods
|