| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
- when method_missing is define, respond_to_missing? should also be defined
- add tests to verify result of respond_to? (which delegates to respond_to_missing?)
|
|
- assert_equal instead of ==
- assert instead of assert_equal true
- refute instead of assert_equal false
- specify literal value as first argument to assert_equal
|
|
|
|
|
|
definitions [skip ci]
|
|
|
|
|
|
|
|
erubis in test suite (PR #3738)
|
|
|
|
Allows plugging a template in to the html5 converter's outline node by replacing all direct calls to `convert_outline` with calls to the to the conversion named `outline`.
|
|
basebackend (PR #3342)
|
|
- coerce symbol arguments to register_for to strings
- fill in missing API doc for register_for and register methods in SyntaxHighlighter module
|
|
Asciidoctor.js (PR #3262)
- replace . with CC_ALL
- also replace . with CC_ANY when matching dimension attribute
|
|
|
|
Asciidoctor::Converter
|
|
|
|
with convert_ (PR #3150)
- prefix convert methods on built-in converters with convert_
- drop leading underscore from helper methods on built-in converters
- add adapter for older converters that rely on unprefixed convert methods
- use optimize convert handler dispatcher in HTML 5 converter
- only pass options to convert handler method if value is non-nil
- update RDoc
|
|
converter
|
|
* still honor header_footer option as fallback for backwards compatibility
|
|
syntax synthetic:delegate (PR #3100)
|
|
- 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/
|
|
(PR #3057)
|
|
|
|
- map to DefaultFactoryProxy constructor by default
- map to CustomProxy constructor if proxy_default keyword arg is false
|
|
- remove the DocBook45Converter class
- remove accomodations in DocBook5Converter for DocBook 4.5
- don't register the docbook45 backend name in the converter registry
- drop docbook45 from the backend CLI option values
- don't mention DocBook 4.5 in the man page
- don't mention DocBook 4.5 in the CLI usage statement
- update tests to use DocBook 5 instead of DocBook 4.5
|
|
- redesign converter API based on design of syntax highlighter API
- fold default converter factory (static / global) into Converter
- make registration and resolution of global converters thread-safe
- allow converter factory to be specified using :converter_factory API option
- provide forgiving default implementation for convert method in Base converter
- change handles? method on Converter module to always return true
- move current implementation of handles? method from Converter module to Base converter
- add _content_only and _skip helper methods to Base converter
- warn if a handler method for a node is not found in a subclass of the Base converter
- rename BackendInfo module to BackendTraits; map backend_info method to backend_traits
- allow computation of backend traits to be disabled using init_backend_traits
- introduce non-static CustomFactory
- map old (deprecated) public API to new API
- reconfigure built-in (aka provided) converters to use Base converter; set backend traits
- remove BuiltIn converter
- add backend_traits_source keyword argument to CompositeConverter constructor
- honor htmlsyntax set by converter
- move Writer to dedicated source file
- remove unused convert_with_options method on Converter
- add and update tests
- prefix internal helper methods in converters with underscore
- make write_alternate_pages a static method of the manpage converter
- delineate private sections of the manpage converter
|
|
|
|
|
|
- use 0 instead of <
- augment test to verify behavior of trim mode
- remove encoding setting from ERB template
|
|
- 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
|
|
- rename render_string to convert_string
- rename render_embedded_string to convert_string_to_embedded
- rename render_inline_string to convert_inline_string
- use convert_inline_string where :doctype was being set to :inline
|
|
thread_safe is deprecated and has been merged into concurrent-ruby
|
|
|
|
|
|
|
|
- replace use of render method with convert method
|
|
|
|
- use assert_kind_of or refute_kind_of instead
|
|
- 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
|
|
(#2215)
|