Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/asciidoctor/asciidoctor-reducer
:alembic: A tool to generate a single AsciiDoc document by expanding all the include directives reachable from the parent document.
https://github.com/asciidoctor/asciidoctor-reducer
update tree processors in test suite to return correct value
1988b0bb2792b7aa2dfc67fa2d51ea926342466b authored almost 3 years ago
1988b0bb2792b7aa2dfc67fa2d51ea926342466b authored almost 3 years ago
use peek_line to look ahead at next line on reader
355ca7a303b9625136a30c6e2cc59b57ce4a48e3 authored almost 3 years ago
355ca7a303b9625136a30c6e2cc59b57ce4a48e3 authored almost 3 years ago
consolidate logic in preprocesor directive tracker
85f8243e548e265f9247d659e4581ece8e59dd8d authored almost 3 years ago
85f8243e548e265f9247d659e4581ece8e59dd8d authored almost 3 years ago
apply copyedits to README [skip ci]
90d2df492c65668b4d1ef7b8494113fd4e5a1f0a authored almost 3 years ago
90d2df492c65668b4d1ef7b8494113fd4e5a1f0a authored almost 3 years ago
minor copyedit in README [skip ci]
90c2ee6b2ebf78f23f1e066d3449f862e45f742a authored almost 3 years ago
90c2ee6b2ebf78f23f1e066d3449f862e45f742a authored almost 3 years ago
use , instead of / to separate short and long CLI options in CHANGELOG [skip ci]
909af04ab7e96a7d2623ea94f205fab5b7befff5 authored almost 3 years ago
909af04ab7e96a7d2623ea94f205fab5b7befff5 authored almost 3 years ago
sort CLI options in help text, except for the -h, --help option
ae4c84ad0824d61cd2b6d002a4147bd4377e6fb1 authored almost 3 years ago
ae4c84ad0824d61cd2b6d002a4147bd4377e6fb1 authored almost 3 years ago
verify extensions are registered under group name :reducer
a4437204151d20a5a2df2acc8934690cdf8ad7e4 authored almost 3 years ago
a4437204151d20a5a2df2acc8934690cdf8ad7e4 authored almost 3 years ago
remove superfluous :to_file option when invoking Asciidoctor.load_file
ef70ddadd66cbdcdfc0d2114d6c5bf1eb4fc5087 authored almost 3 years ago
ef70ddadd66cbdcdfc0d2114d6c5bf1eb4fc5087 authored almost 3 years ago
resolves #17 add -r, --require option to CLI to specify additional libraries to require before running (PR #18)
420a6be1d10b3d6642bc5a79c534562754be5160 authored almost 3 years ago
420a6be1d10b3d6642bc5a79c534562754be5160 authored almost 3 years ago
resolves #13 add -S option to CLI to set safe mode (PR #16)
968d657187c2d5617f306d6b73330245532844a7 authored almost 3 years ago
968d657187c2d5617f306d6b73330245532844a7 authored almost 3 years ago
update CLI to always use a new logger instance; defer initializing logger until run method is called
b67260837eb49faee39c0759cf2d14070a5d85ca authored almost 3 years ago
b67260837eb49faee39c0759cf2d14070a5d85ca authored almost 3 years ago
change value of logger option from false to nil to silence logger
588192d81739a197260c1bffcd0edf6077a80803 authored almost 3 years ago
588192d81739a197260c1bffcd0edf6077a80803 authored almost 3 years ago
Begin development on next version [skip ci]
bbb0d41e5fa06453448faa984da6aaf8021418c1 authored almost 3 years ago
bbb0d41e5fa06453448faa984da6aaf8021418c1 authored almost 3 years ago
Release 1.0.0.alpha.5
7e59f3748960dc2d4cae832e8b2b59085c3285f6 authored almost 3 years ago
7e59f3748960dc2d4cae832e8b2b59085c3285f6 authored almost 3 years ago
resolves #14 suppress log messages when reloading document (PR #15)
856693de0ad420418b73cb3e357913bac962265a authored almost 3 years ago
856693de0ad420418b73cb3e357913bac962265a authored almost 3 years ago
update fixture so expected warning is triggered
8a1bc984e0e39bd5ea68c826e0d133491ab460fa authored almost 3 years ago
8a1bc984e0e39bd5ea68c826e0d133491ab460fa authored almost 3 years ago
classify extensions in group named :reducer
7a8893774f1a94390f3346fa90384b7c16273306 authored almost 3 years ago
7a8893774f1a94390f3346fa90384b7c16273306 authored almost 3 years ago
add test for include inside true preprocessor conditional
48c2958f4e5aa9435bfd46e7b163eb362f3cb132 authored almost 3 years ago
48c2958f4e5aa9435bfd46e7b163eb362f3cb132 authored almost 3 years ago
simplify how include replacement target is tracked
40af0cd416057059a324f4202cdc865077fa4ac3 authored almost 3 years ago
40af0cd416057059a324f4202cdc865077fa4ac3 authored almost 3 years ago
remove unnecessary override of lineno in preprocess_include_directive override
e4ea0f32e858c690a4d6bf80f9398a3f36208844 authored almost 3 years ago
e4ea0f32e858c690a4d6bf80f9398a3f36208844 authored almost 3 years ago
rename :replace key to :line and :index to :lineno in include replacements array
d112e4de1ece41b45b9499dfb45fa246b2a8e0f0 authored almost 3 years ago
d112e4de1ece41b45b9499dfb45fa246b2a8e0f0 authored almost 3 years ago
verify reducer does not crash if reduced document is empty
8b39d2bbf8c0c419629573bdd4034fd1adf8fefa authored almost 3 years ago
8b39d2bbf8c0c419629573bdd4034fd1adf8fefa authored almost 3 years ago
add missing fixture
ebd01d658030b922c77ff43fd37e2564d27a6d51 authored almost 3 years ago
ebd01d658030b922c77ff43fd37e2564d27a6d51 authored almost 3 years ago
remove obsolete comment
ce50d86af0bfbf7a406a2be3188cbe21d4b35efd authored almost 3 years ago
ce50d86af0bfbf7a406a2be3188cbe21d4b35efd authored almost 3 years ago
consolidate assignment
ec26211f46c8b944c520189b6ed77369cb079dba authored almost 3 years ago
ec26211f46c8b944c520189b6ed77369cb079dba authored almost 3 years ago
removing trailing empty lines after reducing when sourcemap is not enabled
- matches behavior when sourcemap is enabled
28094a65294a436e49999fc4b31da70fb149689e authored almost 3 years ago
revise test descriptions [skip ci]
f9f738560fc9c478d3fece09be94eb1c29e68658 authored almost 3 years ago
f9f738560fc9c478d3fece09be94eb1c29e68658 authored almost 3 years ago
verify behavior when target has unresolved attribute and attribute-missing=drop-line
e1b105215dc9781d0ce0d22ef682c2085d1ad8f0 authored almost 3 years ago
e1b105215dc9781d0ce0d22ef682c2085d1ad8f0 authored almost 3 years ago
verify behavior when include target is empty
b0ce2338490bc2e6b65994f5c3d28afcbc0599ce authored almost 3 years ago
b0ce2338490bc2e6b65994f5c3d28afcbc0599ce authored almost 3 years ago
Begin development on next version [skip ci]
acff40c4e3cea6716952ffb39e2956814ddb4b55 authored almost 3 years ago
acff40c4e3cea6716952ffb39e2956814ddb4b55 authored almost 3 years ago
Release 1.0.0.alpha.4
add4ed4a1dcb7f25a94c397eaf96fd5259434424 authored almost 3 years ago
add4ed4a1dcb7f25a94c397eaf96fd5259434424 authored almost 3 years ago
pass through return value of super method in push_include override
2d5fb3187f65b8bf39de69fe7d6e80690ec2b7f5 authored almost 3 years ago
2d5fb3187f65b8bf39de69fe7d6e80690ec2b7f5 authored almost 3 years ago
remove unused condition in preprocess_include_directive override
6f8112336e9e0d8ba9f11b25101208714b6df347 authored almost 3 years ago
6f8112336e9e0d8ba9f11b25101208714b6df347 authored almost 3 years ago
fix replacement of nested empty and unresolve includes
6bb80b129a9e4ac82b4667cd88ae00a4b463fdae authored almost 3 years ago
6bb80b129a9e4ac82b4667cd88ae00a4b463fdae authored almost 3 years ago
Begin development on next version [skip ci]
5ed63b1025fbcad382a2a43af3e8b683c8cde4f5 authored almost 3 years ago
5ed63b1025fbcad382a2a43af3e8b683c8cde4f5 authored almost 3 years ago
Release 1.0.0.alpha.3
64fc071ee458a53f1912b150dd9c7e2981807508 authored almost 3 years ago
64fc071ee458a53f1912b150dd9c7e2981807508 authored almost 3 years ago
make minor clarification in README about use of -o CLI option [skip ci]
1cceea6815cbbab908372d736da8f0fb92c24ca8 authored almost 3 years ago
1cceea6815cbbab908372d736da8f0fb92c24ca8 authored almost 3 years ago
add missing fixture
d4c3d3a46938c9e0f67106c78ac7387ee22218a2 authored almost 3 years ago
d4c3d3a46938c9e0f67106c78ac7387ee22218a2 authored almost 3 years ago
change default safe mode of CLI to unsafe
1f05fd91c269b18b4f6a5f916d11bbd9d376b739 authored almost 3 years ago
1f05fd91c269b18b4f6a5f916d11bbd9d376b739 authored almost 3 years ago
explain impact of reducer on extensions [skip ci]
44304513c146ed986fbbb48140dce4ee40d62bd0 authored almost 3 years ago
44304513c146ed986fbbb48140dce4ee40d62bd0 authored almost 3 years ago
run test suite on Asciidoctor < 2.0.16
22f34b0b01ae1f980a8ebb746e31bfb1e25b7824 authored almost 3 years ago
22f34b0b01ae1f980a8ebb746e31bfb1e25b7824 authored almost 3 years ago
fix assertion on Windows
044e261e0932dd96a4e1e354cd6b5af4777d3b49 authored almost 3 years ago
044e261e0932dd96a4e1e354cd6b5af4777d3b49 authored almost 3 years ago
verify behavior of CLI when program raises an error
1b47abf23c751d02959d8532392ec5440a477c00 authored almost 3 years ago
1b47abf23c751d02959d8532392ec5440a477c00 authored almost 3 years ago
verify bin script can be invoked and reads args from ARGV
ea471713e42cbc32e0006c471edacc7947b13fcb authored almost 3 years ago
ea471713e42cbc32e0006c471edacc7947b13fcb authored almost 3 years ago
verify bin script is installed
1fdd5f035b1c53654d2ea5a5b9cd5d76b8379b16 authored almost 3 years ago
1fdd5f035b1c53654d2ea5a5b9cd5d76b8379b16 authored almost 3 years ago
add test for --log-level CLI option when value is WARN
12a7f129d018847ada17e4c374722e7e44e9355f authored almost 3 years ago
12a7f129d018847ada17e4c374722e7e44e9355f authored almost 3 years ago
add missing CHANGELOG entry [skip ci]
93902d5fa3dc726737fb2876591f901c903e004f authored almost 3 years ago
93902d5fa3dc726737fb2876591f901c903e004f authored almost 3 years ago
only reload document if sourcemap is enabled (PR #12)
ecb8f7dea08ac50176d8d4c5d7c1d616b96b7548 authored almost 3 years ago
ecb8f7dea08ac50176d8d4c5d7c1d616b96b7548 authored almost 3 years ago
encapsulate logic to extend preprocessor reader
00458573580ab9f32ab5ac2e6e4bb2629dcac1c9 authored almost 3 years ago
00458573580ab9f32ab5ac2e6e4bb2629dcac1c9 authored almost 3 years ago
rename PreprocessorReader ext module to PreprocessorDirectiveTracker
6853508729a99fa47c77c9af0be485f26fcc78d6 authored almost 3 years ago
6853508729a99fa47c77c9af0be485f26fcc78d6 authored almost 3 years ago
Begin development on next version [skip ci]
bac20fa8004e5a37f37fee6a886e69e36de07820 authored almost 3 years ago
bac20fa8004e5a37f37fee6a886e69e36de07820 authored almost 3 years ago
Release 1.0.0.alpha.2
651842e72ce3b1fbc8b141cc34e574cd5b8e8cd6 authored almost 3 years ago
651842e72ce3b1fbc8b141cc34e574cd5b8e8cd6 authored almost 3 years ago
in how it works, clarify that preprocessor conditionals are not removed if the option to preserve them is specified [skip ci]
eee6284e4b2461b4ec59a2540e47bb7534efbdf8 authored almost 3 years ago
eee6284e4b2461b4ec59a2540e47bb7534efbdf8 authored almost 3 years ago
resolves #9 don't override logger by default; add --log-level and --quiet options to CLI (PR #11)
2e531f7813e776d14221df78ce81b8af0dc26b66 authored almost 3 years ago
2e531f7813e776d14221df78ce81b8af0dc26b66 authored almost 3 years ago
add development section to README [skip ci]
35ea3f49300637eba1299e33ee2e64ffba6562d8 authored almost 3 years ago
35ea3f49300637eba1299e33ee2e64ffba6562d8 authored almost 3 years ago
update rubocop and add new rules
769562ec5f78812e8cb1846bc7d3936be2870ae8 authored almost 3 years ago
769562ec5f78812e8cb1846bc7d3936be2870ae8 authored almost 3 years ago
expand test case to include check for preprocessor conditional inside of false conditional
eb1d4401f8eef066007b6b7c49b3a1e846e2be8a authored almost 3 years ago
eb1d4401f8eef066007b6b7c49b3a1e846e2be8a authored almost 3 years ago
add test for -a CLI option with name only
fd49c9d550e7f2501b52d2c5e5649a3855a9dda0 authored almost 3 years ago
fd49c9d550e7f2501b52d2c5e5649a3855a9dda0 authored almost 3 years ago
revise the CLI help text
0c80b1330d2550a1dadb1a5a5531d798c87dee0b authored almost 3 years ago
0c80b1330d2550a1dadb1a5a5531d798c87dee0b authored almost 3 years ago
add missing type qualifiers in CLI
bdb42e0b0f6ab96a698c397a4880e1f648e7067f authored almost 3 years ago
bdb42e0b0f6ab96a698c397a4880e1f648e7067f authored almost 3 years ago
add section to README that explains how the reducer works [skip ci]
45cd375eafed4dae771ea0b34a536d9c1b01b7d4 authored about 3 years ago
45cd375eafed4dae771ea0b34a536d9c1b01b7d4 authored about 3 years ago
resolves #8 reduce preprocessor conditionals by default; add option to preserve them (PR #10)
220c0c20c16a981c909245d2a6760678e33dd5a6 authored about 3 years ago
220c0c20c16a981c909245d2a6760678e33dd5a6 authored about 3 years ago
remove unused comment from gemspec [skip ci]
2989e82f20fed3fdfc0024d225337a319088c621 authored about 3 years ago
2989e82f20fed3fdfc0024d225337a319088c621 authored about 3 years ago
pass accumulated options to processor in CLI
466ec955543aa843f4bb21cb22caa7205bdf387f authored about 3 years ago
466ec955543aa843f4bb21cb22caa7205bdf387f authored about 3 years ago
extract helper method to push include replacement
38725dc4eb13614072e3c0b91aa6fe9a91669ab6 authored about 3 years ago
38725dc4eb13614072e3c0b91aa6fe9a91669ab6 authored about 3 years ago
preserve return value when overridding preprocess_include_directive_method
04b6b610a87ef595a3a49fad9858f547ba1f1f82 authored about 3 years ago
04b6b610a87ef595a3a49fad9858f547ba1f1f82 authored about 3 years ago
resolves #6 add -a / --attribute option to CLI to pass additional AsciiDoc document attributes (PR #7)
db4b611370423ab77a0065f2f8a21ba5c62d6ca9 authored about 3 years ago
db4b611370423ab77a0065f2f8a21ba5c62d6ca9 authored about 3 years ago
reserve zero index in include replacements for top-level document
52db0c3566ddfa7ba5146e34de8dd58f66502c7b authored about 3 years ago
52db0c3566ddfa7ba5146e34de8dd58f66502c7b authored about 3 years ago
resolves #4 don't enable sourcemap automatically (PR #5)
693fed04cbe9a126b8e61363c7c9fdcd31a286a2 authored about 3 years ago
693fed04cbe9a126b8e61363c7c9fdcd31a286a2 authored about 3 years ago
verify include inside false preprocessor conditional is not resolved
f29807f4d0aa9b6477664476b24598f33bb05079 authored about 3 years ago
f29807f4d0aa9b6477664476b24598f33bb05079 authored about 3 years ago
verify that escaped include is not processed and left escaped
69ecaab31651ea23a26ce973365872f5ee4cbdf4 authored about 3 years ago
69ecaab31651ea23a26ce973365872f5ee4cbdf4 authored about 3 years ago
verify that reference to attribute defined in preprocessor conditional is resolved when resolving include target
eea5853698199f505b0c20991fca830bf260e1a2 authored about 3 years ago
eea5853698199f505b0c20991fca830bf260e1a2 authored about 3 years ago
verify references to attributes defined in body are resolved when resolving include target
0e5afb3195acf6cf3040e2705e0b6243f1b77c1e authored about 3 years ago
0e5afb3195acf6cf3040e2705e0b6243f1b77c1e authored about 3 years ago
verify that reference to attribute defined in header is resolved when resolving include target
dd0e05544eb1a1fa14a249b0373f387c490dc51b authored about 3 years ago
dd0e05544eb1a1fa14a249b0373f387c490dc51b authored about 3 years ago
Begin development on next version [skip ci]
bcff7353eb0dcf8c52780328d265ed9706b41c41 authored about 3 years ago
bcff7353eb0dcf8c52780328d265ed9706b41c41 authored about 3 years ago
Release 1.0.0.alpha.1
ea7174bcb6a88a590d903c16aae025971023bef8 authored about 3 years ago
ea7174bcb6a88a590d903c16aae025971023bef8 authored about 3 years ago
enable linter in release workflow [skip ci]
51b788a1421dc76cfc8be74378432c9d6d5f03a3 authored about 3 years ago
51b788a1421dc76cfc8be74378432c9d6d5f03a3 authored about 3 years ago
add --pre to install command until first stable version is released [skip ci]
b383b9bae78a42bc8b458165140f3c7a4c7232fb authored about 3 years ago
b383b9bae78a42bc8b458165140f3c7a4c7232fb authored about 3 years ago
update CHANGELOG in preparation for initial release [skip ci]
274e3264375256a8738535513e907e652728b402 authored about 3 years ago
274e3264375256a8738535513e907e652728b402 authored about 3 years ago
add prerequisites and install section to README
b731fd1030fb46761961f43cefb2a5afd7494e71 authored about 3 years ago
b731fd1030fb46761961f43cefb2a5afd7494e71 authored about 3 years ago
allow extensions to be required without registering them
5a43d28623fa329a08674d2f0a162c22ccda5ecb authored about 3 years ago
5a43d28623fa329a08674d2f0a162c22ccda5ecb authored about 3 years ago
resolves #1 add a CLI along with tests for it (PR #2)
a424cc529614570d95268b6ccfed7420cc0bf6b7 authored about 3 years ago
a424cc529614570d95268b6ccfed7420cc0bf6b7 authored about 3 years ago
minor rewording in README [skip ci]
fa41dfa0355398ae187b52314d20531eed3f5783 authored about 3 years ago
fa41dfa0355398ae187b52314d20531eed3f5783 authored about 3 years ago
revise description [skip ci]
7c6383acfc2db20bddf096a9d05cfec6d51a49e6 authored about 3 years ago
7c6383acfc2db20bddf096a9d05cfec6d51a49e6 authored about 3 years ago
verify library can be required outside of test context
c4c82ebc9041b433a3dee8b7e5a10a6a29e3534b authored about 3 years ago
c4c82ebc9041b433a3dee8b7e5a10a6a29e3534b authored about 3 years ago
update comment about lineno assignment [skip ci]
e0ea0464994381b0f495f7eb38e3ddfc82ee1caa authored about 3 years ago
e0ea0464994381b0f495f7eb38e3ddfc82ee1caa authored about 3 years ago
document in README how to use tool as an extension
6b0fbc928e3be5f413f0265c902f7e9b495cf3ce authored about 3 years ago
6b0fbc928e3be5f413f0265c902f7e9b495cf3ce authored about 3 years ago
fix lint error in test
3ea26b7b12c02fc0e821f5bcd1d831b7abdbe103 authored about 3 years ago
3ea26b7b12c02fc0e821f5bcd1d831b7abdbe103 authored about 3 years ago
verify library can be required using the alias asciidoctor-reducer
d1afa3914429658c00291e8dca1ed41db94b395f authored about 3 years ago
d1afa3914429658c00291e8dca1ed41db94b395f authored about 3 years ago
revise description [skip ci]
1f2eb247b2845a117d1075dbfc6f8044c95be165 authored about 3 years ago
1f2eb247b2845a117d1075dbfc6f8044c95be165 authored about 3 years ago
verify tree processor does not rebuild document if no includes are found
aaf10a1b8e9445d144e6308259f2a77008b9574d authored about 3 years ago
aaf10a1b8e9445d144e6308259f2a77008b9574d authored about 3 years ago
verify reducer restores original logger
2cc85bfc36c1dbd3153f08aed9e8fd30d3e7522a authored about 3 years ago
2cc85bfc36c1dbd3153f08aed9e8fd30d3e7522a authored about 3 years ago
verify identity of document is same when includes are found
c7e46906320b03b0ef5bbd9020d7cb169c2c2123 authored about 3 years ago
c7e46906320b03b0ef5bbd9020d7cb169c2c2123 authored about 3 years ago
verify identity of document is the same when no includes are found
b67fa4b61a3dbdd86c22426660676bc24e60461d authored about 3 years ago
b67fa4b61a3dbdd86c22426660676bc24e60461d authored about 3 years ago
reword test description [skip ci]
f77629cfbc52e61c171387ad939ebaab5e38406b authored about 3 years ago
f77629cfbc52e61c171387ad939ebaab5e38406b authored about 3 years ago
verify include at end of document is resolved
815942d93ab58b913062b4e14ea6a8baf31b887c authored about 3 years ago
815942d93ab58b913062b4e14ea6a8baf31b887c authored about 3 years ago
verify include at start of document is resolved
d494fea5881a23782fc535b3e6260f6b8d00c57d authored about 3 years ago
d494fea5881a23782fc535b3e6260f6b8d00c57d authored about 3 years ago
add test for include using multiple tags
d50eebde2962987d9c9980012fe3a37a0476e734 authored about 3 years ago
d50eebde2962987d9c9980012fe3a37a0476e734 authored about 3 years ago
assert that reduced option is set on reduced document and sourcemap is enabled implicitly
26832bf7da0950e42581671537b675ea2e1ea41c authored about 3 years ago
26832bf7da0950e42581671537b675ea2e1ea41c authored about 3 years ago