| Age | Commit message (Collapse) | Author |
|
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/
|
|
- use asciidoctor --safe instead
|
|
- 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
|
|
- use module detection to determine when to load rubygems
- apply relative require logic to asciidoctor-safe script
- append -S safe flag to ARGV array in asciidoctor-safe script
- invoke GC.start in asciidoctor-safe script
|
|
|
|
Allow to require asciidoctor when then lib/ directory is not relative to the binary.
For instance, Debian package copies binary in /usr/bin/asciidoctor and lib/ in /usr/lib/ruby/vendor_ruby/
Resolves #1364
|
|
|
|
|
|
|
|
|
|
|
|
- provide access to document after invoker runs for testing
- add stream redirection to invoker
- add exit code to invoker rather than using a hard exit
- check that input file exists in options
- set outfile on document after rendering for access in tests
- add support for stdin
- fix doc info attribute assignments, only set when input is a file
- clarify the purpose of base_dir and docdir, respectively
- use base_dir in normalize_asset_path
- don't allow document to emit docdir or absolute docfile in secure mode
- don't allow document to change doctype in secure mode
- cleanup the option descriptions
- add a --safe flag which is compatible with asciidoc
- take out rubygems require (that should be handled by rubygems)
- fix incorrect minute field in time format
- loads of invoker tests
- test for input file with spaces
- additional helper methods for testing invoker
- rename option_tests.rb to options_test.rb
- add timings to cli
- fix bug of not carrying over safe level in nested document
|
|
- move imports to bin/asciidoctor
- set built-in attributes for doc info (set in load API down the road)
- output to stdout if out file is '-'
- calculate output file based on input file if not specified (to comply w/ AsciiDoc)
- change attribute keys to strings (as Asciidoctor expects)
- change doctype options from symbols to strings
- make doctype apply to all backends
- add options for backends
- add option to enable compact output
- add option to set safe mode levels
- make suppress header_footer work
- add option to set eRuby implementation
- automatically set value to 1 for attribute w/o value
- add files to gemspec
|
|
|
|
|
|
|
|
|
|
|