| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
callback
|
|
|
|
attribute
|
|
|
|
static analysis
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* run tests on JRuby 9.1 and 9.2 for Windows in CI
* don't run Pygments tests on JRuby 9.1 for Windows
* exclude tests that use run_command on JRuby 9.1 for Windows
* ensure mtime of input file honors TZ environment variable on JRuby for Windows
|
|
|
|
- also define windows? as static method for these cases
- don't match darwin when detecting Windows
|
|
|
|
|
|
- switch to array-based arguments to prevent the command from being modified
- disable the RUBYOPT environment variable unless the use_bundler option is enabled
|
|
* restore compatibility with Rouge >= 3.4
* eagerly instantiate lexer if not using find_fancy
* pass options to constructor of Rouge lexer instead of #lex method
* don't clobber cgi-style options on language when enabling start_inline option on the Rouge PHP lexer
* add tests for passing options to the Rouge lexer
* upgrade Rouge to 3.4.0 (for development); also test against Rouge 2.0.7 in CI
|
|
#3239)
|
|
|
|
|
|
|
|
- define assert_include to accept a single expectation; reverse order from assert_includes
- define refute_include to accept a single un-expectation; reverse order from refute_includes
|
|
|
|
* still honor header_footer option as fallback for backwards compatibility
|
|
unknown (PR #3097)
- log debug message instead of warning if block style is unknown
- log debug message if block macro name is unknown
|
|
|
|
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/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- encode strings to UTF-8 properly instead of force encoding
- remove FORCE_ENCODING constant
- use File.open to read include files
- use OpenURI.open_uri to read URIs (instead of Kernel.open)
- define constants for file and URI read and write modes (FILE_READ_MODE, URI_READ_MODE, and FILE_WRITE_MODE)
- read files and URIs using the rb:utf-8 mode (except on Opal, drop the binary and encoding flags)
- write files using the w:utf-8 mode (except on Opal, drop the encoding flag)
- use byteslice instead of slice to remove BOM from string
- remove valid_encoding? workaround for JRuby 1.7
|
|
- 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
|
|
- configure open3 to autoload
- use block form of popen3 to ensure streams are closed
- minor cleanups
|
|
- 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
|
|
(PR #2758)
* allow the ASCIIDOCTOR_LIB_DIR environment variable to override location of the lib dir in test suite
|
|
|
|
- validate xrefs based on $VERBOSE rather than logger level
|