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
provide access to example from ScenarioBuilder instance for use in blocks
83e9e16c9dbc7263bef34448f100a9e709dca066 authored almost 3 years ago
83e9e16c9dbc7263bef34448f100a9e709dca066 authored almost 3 years ago
use new create scenario framework for remaining API tests
6027cb3cf56de4bb87a6af163f42670b7be160df authored almost 3 years ago
6027cb3cf56de4bb87a6af163f42670b7be160df authored almost 3 years ago
add test when value of :to option is a File object
80c9f76acbb221bd506e508166851997b4461f9a authored almost 3 years ago
80c9f76acbb221bd506e508166851997b4461f9a authored almost 3 years ago
minor style change in test
382b5965f77d3562580c45f6eb5da17572b1d8e1 authored almost 3 years ago
382b5965f77d3562580c45f6eb5da17572b1d8e1 authored almost 3 years ago
add run_scenario helper and use it where possible
- run_scenario delegates to create_scenario and calls run on the return value
bc688d5ca9310b1f511da57dc241c9cd5ea9600e authored almost 3 years ago
use END instead of EOS as heredoc delimiter
9319025cb61ad99e30022b956d26eef0b40c92cb authored almost 3 years ago
9319025cb61ad99e30022b956d26eef0b40c92cb authored almost 3 years ago
use new create_scenario framework for remaining tests
e269779b52bd5cc3f2465384b30b403af0d080d0 authored almost 3 years ago
e269779b52bd5cc3f2465384b30b403af0d080d0 authored almost 3 years ago
remove unneeded braces in tests
888025efe54efe9dfc58425429ce141c10f76b6b authored almost 3 years ago
888025efe54efe9dfc58425429ce141c10f76b6b authored almost 3 years ago
minor code style improvements
49f2c72e2205631589392c947f0c0858c8ca7d4c authored almost 3 years ago
49f2c72e2205631589392c947f0c0858c8ca7d4c authored almost 3 years ago
fix assertion error
2232a40266a521bcab79ad48db06f6a099f8d0a8 authored almost 3 years ago
2232a40266a521bcab79ad48db06f6a099f8d0a8 authored almost 3 years ago
use new create_scenario framework in include mapper tests
40fef81794db4ad843d7ae55dc25ebd62d7d5d46 authored almost 3 years ago
40fef81794db4ad843d7ae55dc25ebd62d7d5d46 authored almost 3 years ago
fix lint error
bd1f5db4ae5f318a03a7567b06e06878f7a30ed4 authored almost 3 years ago
bd1f5db4ae5f318a03a7567b06e06878f7a30ed4 authored almost 3 years ago
separate build and run steps in ScenarioBuilder and integrate assertion for expected source
ba0b78bcc61764b731215af8be88a6b6d29b175c authored almost 3 years ago
ba0b78bcc61764b731215af8be88a6b6d29b175c authored almost 3 years ago
update context sections in API docs; fix lint error
85c5bbe04091a08e642eeb54fdcf11450dd5cbcd authored almost 3 years ago
85c5bbe04091a08e642eeb54fdcf11450dd5cbcd authored almost 3 years ago
use context instead of describe for general category in API tests
e93765f12fa7acb00d409ab818e9bb4df07cdc3c authored almost 3 years ago
e93765f12fa7acb00d409ab818e9bb4df07cdc3c authored almost 3 years ago
move VERSION constant test to top of test suite
3f04ee1078de7756cc6f9d7135ab79098445f9ec authored almost 3 years ago
3f04ee1078de7756cc6f9d7135ab79098445f9ec authored almost 3 years ago
move shared scoped variables in API test to top level
be9af4ec9f382549077b8bb8a4dbf93d985bd204 authored almost 3 years ago
be9af4ec9f382549077b8bb8a4dbf93d985bd204 authored almost 3 years ago
extract extension to trace extension calls into scoped variables in API tests
020926aed9e7ba35e072cb96539dd147f085b91c authored almost 3 years ago
020926aed9e7ba35e072cb96539dd147f085b91c authored almost 3 years ago
rewrite more tests to take advantage of create_scenario helper
4da341bcba1d5fef64856a3dd3183d668bf746b4 authored almost 3 years ago
4da341bcba1d5fef64856a3dd3183d668bf746b4 authored almost 3 years ago
delegate the_input_source and the_expected_source methods in scenario builder
2bf0b53ed8a3a097c50f13132488882ebf3f3246 authored almost 3 years ago
2bf0b53ed8a3a097c50f13132488882ebf3f3246 authored almost 3 years ago
bind example to example instance variable before invoking run block for scenario builder
b63d77a41aada8f93ec28117cb1d604fc76f388a authored almost 3 years ago
b63d77a41aada8f93ec28117cb1d604fc76f388a authored almost 3 years ago
allow passing custom reduce block in scenario builder
- add reduce method to pass a custom block for reduce step
- forward subject and described_class...
rewrite more tests to take advantage of create_scenario helper
f0ca2734ce9d2f5775532d161b983653d6418673 authored almost 3 years ago
f0ca2734ce9d2f5775532d161b983653d6418673 authored almost 3 years ago
rewrite more tests to take advantage of create_scenario helper
5fa352a30b7c97751c3b1d0c906b967f0d570634 authored almost 3 years ago
5fa352a30b7c97751c3b1d0c906b967f0d570634 authored almost 3 years ago
rewrite more tests to take advantage of create_scenario helper
9769662c1296b5ea9bb23c5ec5796086be5be3cf authored almost 3 years ago
9769662c1296b5ea9bb23c5ec5796086be5be3cf authored almost 3 years ago
remove .only from test description
8be133a5ed257dfda458924c21f7a66d18a9d500 authored almost 3 years ago
8be133a5ed257dfda458924c21f7a66d18a9d500 authored almost 3 years ago
use clearer target for escaped include
9f116ac2124c893cead71a9a8251ae3be6aa1491 authored almost 3 years ago
9f116ac2124c893cead71a9a8251ae3be6aa1491 authored almost 3 years ago
rewrite more tests to take advantage of create_scenario helper
cba07baa6ea190e5123bed8145f4d212d70ed399 authored almost 3 years ago
cba07baa6ea190e5123bed8145f4d212d70ed399 authored almost 3 years ago
use block form (do...end) for multiline proc in test suite
3ad0a0e107fd34feda74d7cc13e083f477cc1e81 authored almost 3 years ago
3ad0a0e107fd34feda74d7cc13e083f477cc1e81 authored almost 3 years ago
use create_scenario to replace file-based fixtures in include mapper spec
d3a6f284777ab4d3e82078b8b5ef5ee0ec291786 authored almost 3 years ago
d3a6f284777ab4d3e82078b8b5ef5ee0ec291786 authored almost 3 years ago
rewrite more tests to use create_scenario and remove unused fixtures
ff7bc640ba78512287c716f80639889cd01c2715 authored almost 3 years ago
ff7bc640ba78512287c716f80639889cd01c2715 authored almost 3 years ago
use tmp- as tmp file prefix and allow tmpdir to be specified (PR #41)
939bb65eb8c938c662b9e727377f7bb810f96a10 authored almost 3 years ago
939bb65eb8c938c662b9e727377f7bb810f96a10 authored almost 3 years ago
rollback use accessors where possible (PR #40)
since it's not possible to access all instance variables this way, let's keep it consistent
rev...
0f4f59854a7570c6caab2ab842191502b2d3ea31 authored almost 3 years ago
use accessors where possible (PR #40)
2a3eb755d0596998b2d7ffa36521a059a6533e08 authored almost 3 years ago
2a3eb755d0596998b2d7ffa36521a059a6533e08 authored almost 3 years ago
set up mini framework for creating test scenarios dynamically (PR #39)
a014a21a3ba3a89171facc4b2f75956dc3362ef6 authored almost 3 years ago
a014a21a3ba3a89171facc4b2f75956dc3362ef6 authored almost 3 years ago
use File.basename to get source file without file extension in test suite
8ffe517eee9ba49e296a636c215020c3f44e0267 authored almost 3 years ago
8ffe517eee9ba49e296a636c215020c3f44e0267 authored almost 3 years ago
add have_source expectation for verifying reduced source
17c29077268fc796092e6d9fb941f5672b9d9d4f authored almost 3 years ago
17c29077268fc796092e6d9fb941f5672b9d9d4f authored almost 3 years ago
add dedicated test for Extensions.unregister method; fix test description
e78d9fe0a467c6ce98cc00938ab2a614136de479 authored almost 3 years ago
e78d9fe0a467c6ce98cc00938ab2a614136de479 authored almost 3 years ago
add test for Extensions.key
3fed040c6c50bffc76180d6e53a434857d207279 authored almost 3 years ago
3fed040c6c50bffc76180d6e53a434857d207279 authored almost 3 years ago
verify include mapping comment only contains paths that have been included fully
fa45770891eb60e9a5640b8e0eb127c0f3f25a04 authored almost 3 years ago
fa45770891eb60e9a5640b8e0eb127c0f3f25a04 authored almost 3 years ago
use Pathname instead of FileUtils in test suite
7213e224edae0d33a9437b2a27170ebdea484601 authored almost 3 years ago
7213e224edae0d33a9437b2a27170ebdea484601 authored almost 3 years ago
add test for passing custom registry when reducer extension is registered globally
6a3868f4c43fe657a656173d75c43004101bf6ba authored almost 3 years ago
6a3868f4c43fe657a656173d75c43004101bf6ba authored almost 3 years ago
use consistent return value in preprocessor
98d2903b818f22133cf03017a3ff768b22627758 authored almost 3 years ago
98d2903b818f22133cf03017a3ff768b22627758 authored almost 3 years ago
store private state for extension in x_reducer instance variable; rename x_include_replacements to include_replacements (PR #38)
818e7e77af091588395dadbf0132b5d5ecf3d5f9 authored almost 3 years ago
818e7e77af091588395dadbf0132b5d5ecf3d5f9 authored almost 3 years ago
enhance CurrentPosition mixin to better encapsulate logic
bf08c9337e1caa392ea40790161e7c0d5254ad55 authored almost 3 years ago
bf08c9337e1caa392ea40790161e7c0d5254ad55 authored almost 3 years ago
remove unused mode for test suite
783631401df655523b146ba447cf054cd3539f26 authored almost 3 years ago
783631401df655523b146ba447cf054cd3539f26 authored almost 3 years ago
verify that to option accepts object that responds to write
a9f87a682c2340302da302f00cbecfae9d94e79b authored almost 3 years ago
a9f87a682c2340302da302f00cbecfae9d94e79b authored almost 3 years ago
verify reducer works when safe mode is server
875ff5aff14ae790f3a905540ab48ae33a64a0b6 authored almost 3 years ago
875ff5aff14ae790f3a905540ab48ae33a64a0b6 authored almost 3 years ago
use described_class where possible in test suite
ab01c8475d8db0a25678f254b76f256154c665a4 authored almost 3 years ago
ab01c8475d8db0a25678f254b76f256154c665a4 authored almost 3 years ago
verify that remote includes are reduced when allow-uri-read attribute is set
- add with_local_webserver helper
- reorder methods in spec helper
- add test to verify remote i...
reword description of test [skip ci]
cfdc14698508a288841d1a8c6a0e1b726a4cd6ea authored almost 3 years ago
cfdc14698508a288841d1a8c6a0e1b726a4cd6ea authored almost 3 years ago
move key for extension group to key method on Asciidoctor::Reducer::Extensions
d5d34b43b451f2f82c1121a3a486e357c49c3565 authored almost 3 years ago
d5d34b43b451f2f82c1121a3a486e357c49c3565 authored almost 3 years ago
replace include with link when target is URL and allow-uri-read is not set
c92fa0ab877b7480700cdb7ea3f49d0a14a89719 authored almost 3 years ago
c92fa0ab877b7480700cdb7ea3f49d0a14a89719 authored almost 3 years ago
fix placement of entry for #26 in CHANGELOG
b1b12f9702113f2b5606b8abd7bb4190b366c95d authored almost 3 years ago
b1b12f9702113f2b5606b8abd7bb4190b366c95d authored almost 3 years ago
resolves #26 add include mapper auxiliary extension (PR #35)
121d5eeb9652c997d9feaec289d20562492f5aa6 authored almost 3 years ago
121d5eeb9652c997d9feaec289d20562492f5aa6 authored almost 3 years ago
Begin development on next version [skip ci]
1a87d84c39ea511856d7afb03d80dec43d55641e authored almost 3 years ago
1a87d84c39ea511856d7afb03d80dec43d55641e authored almost 3 years ago
Release 1.0.0.alpha.8
99764f0422c68431aa9328fcf2a08d3e939a6453 authored almost 3 years ago
99764f0422c68431aa9328fcf2a08d3e939a6453 authored almost 3 years ago
resolves #36 only mix in preprocessor conditional tracker if :preserve_conditionals is not set (PR #37)
b5c1c6a7d7526e4fc58b40a37cad9c0bc54509f9 authored almost 3 years ago
b5c1c6a7d7526e4fc58b40a37cad9c0bc54509f9 authored almost 3 years ago
fix test coverage
ec62b2b2665b4d75c174f7b237b81506be50ae79 authored almost 3 years ago
ec62b2b2665b4d75c174f7b237b81506be50ae79 authored almost 3 years ago
move logic to print help and version to private methods
27683581dc54cc9b19606029f7f1bf8445056f5d authored almost 3 years ago
27683581dc54cc9b19606029f7f1bf8445056f5d authored almost 3 years ago
use puts instead of write in CLI
962e48eb4d1eacce4f5abfbe338e2fae51f85852 authored almost 3 years ago
962e48eb4d1eacce4f5abfbe338e2fae51f85852 authored almost 3 years ago
use fallback for drop key on include replacements and only assign when needed
f989e92106ef6e1eab2765d5f28286aa5f342202 authored almost 3 years ago
f989e92106ef6e1eab2765d5f28286aa5f342202 authored almost 3 years ago
consolidate assignments
c1af5a4ed3af3f167287f550f99df3f94377a36d authored almost 3 years ago
c1af5a4ed3af3f167287f550f99df3f94377a36d authored almost 3 years ago
use interpolation to augment link macro line
ce11314c99057b8957dd2493576936aa5e340732 authored almost 3 years ago
ce11314c99057b8957dd2493576936aa5e340732 authored almost 3 years ago
replace Array#length with Array#size to be consistent with Asciidoctor code style
30d86d49fae1e742b3a15c55452c1798b780123f authored almost 3 years ago
30d86d49fae1e742b3a15c55452c1798b780123f authored almost 3 years ago
resolves #29 add --trace option to CLI to trace cause of application errors (PR #30)
1e696a7179d16fb7b95d7461e9b406585142116b authored almost 3 years ago
1e696a7179d16fb7b95d7461e9b406585142116b authored almost 3 years ago
fix placement of Details section in CHANGELOG [skip ci]
c4801eff4b52388e196859ea9a922d0c35d0cde4 authored almost 3 years ago
c4801eff4b52388e196859ea9a922d0c35d0cde4 authored almost 3 years ago
remove inc_ prefix from arguments of private push_include_replacement method
6f5117bc505bb1fadee0570d2d0c9e24b35a0335 authored almost 3 years ago
6f5117bc505bb1fadee0570d2d0c9e24b35a0335 authored almost 3 years ago
fix lint error
2fcc400a7cdf3b7eaceb4c1fb32b688365ec1e99 authored almost 3 years ago
2fcc400a7cdf3b7eaceb4c1fb32b688365ec1e99 authored almost 3 years ago
track line numbers in include replacements using 1-based index
be3aa86966a322738c4a1cfada6d14b3bd6a9019 authored almost 3 years ago
be3aa86966a322738c4a1cfada6d14b3bd6a9019 authored almost 3 years ago
rename iteration variable from idx to it when dropping lines
22da5ee96d3aa69fa5bfe5dcd0960a5b4d4b81a0 authored almost 3 years ago
22da5ee96d3aa69fa5bfe5dcd0960a5b4d4b81a0 authored almost 3 years ago
slightly optimize removing trailing empty lines
12417c7bdcd3890b937e4b693bf6b0a9ece404f0 authored almost 3 years ago
12417c7bdcd3890b937e4b693bf6b0a9ece404f0 authored almost 3 years ago
rename index variable to idx
1746d1a3adcb19568515f3f86eb114cf8c7196e4 authored almost 3 years ago
1746d1a3adcb19568515f3f86eb114cf8c7196e4 authored almost 3 years ago
store instance variable in local variable in push_include_replacement
885b89d0bfe0b996ede11bcdc088c4688153b014 authored almost 3 years ago
885b89d0bfe0b996ede11bcdc088c4688153b014 authored almost 3 years ago
resolves #33 handle signals gracefully (PR #34)
ab043760b304102163e809a873f05708867a863a authored almost 3 years ago
ab043760b304102163e809a873f05708867a863a authored almost 3 years ago
set "present" as ending year in LICENSE file [skip ci]
a84b64a15acc4d3a4dfc7db7294eaba3bfa21aa3 authored almost 3 years ago
a84b64a15acc4d3a4dfc7db7294eaba3bfa21aa3 authored almost 3 years ago
resolves #31 replace include directive with link macro if safe mode is secure (PR #32)
a5d513535d8e2d97d92ec9cc258d7e8a20c2c221 authored almost 3 years ago
a5d513535d8e2d97d92ec9cc258d7e8a20c2c221 authored almost 3 years ago
Begin development on next version [skip ci]
cb375de83d3cf55fe90025f4349369d7324358ab authored almost 3 years ago
cb375de83d3cf55fe90025f4349369d7324358ab authored almost 3 years ago
Release 1.0.0.alpha.7
eaee4566a9c974ce05bc9769f5d03844bf339990 authored almost 3 years ago
eaee4566a9c974ce05bc9769f5d03844bf339990 authored almost 3 years ago
revise README [skip ci]
a7e264718171002eced28b829a1cee6ad2ab590c authored almost 3 years ago
a7e264718171002eced28b829a1cee6ad2ab590c authored almost 3 years ago
rename asciidoctor_reducer_spec.rb to reducer_spec.rb
9f526f8a51395b2c6aab6425c745f9b0371876a0 authored almost 3 years ago
9f526f8a51395b2c6aab6425c745f9b0371876a0 authored almost 3 years ago
remove :safe option where not needed in README [skip ci]
102d195e1f5ff0f936b611b9a6af2dfe4624fa78 authored almost 3 years ago
102d195e1f5ff0f936b611b9a6af2dfe4624fa78 authored almost 3 years ago
resolves #27 set :safe as the default safe mode when using the API (PR #28)
0757565cd8e2819944e8f2aefea0c0ca8699ce3c authored almost 3 years ago
0757565cd8e2819944e8f2aefea0c0ca8699ce3c authored almost 3 years ago
resolves #3 add API; scope extensions to call when using API (PR #25)
fb5de866856116002ff04919a39e85e72c29d62e authored almost 3 years ago
fb5de866856116002ff04919a39e85e72c29d62e authored almost 3 years ago
capitalize encoding in spec helper for consistency [skip ci]
35624f37cea8b7523954274d1fe6f061ee335f11 authored almost 3 years ago
35624f37cea8b7523954274d1fe6f061ee335f11 authored almost 3 years ago
make CurrentPosition module private to the PreprocessorDirectiveTracker module
79a2a768b2beb12046e6e33ef92e4d928bdbd83a authored almost 3 years ago
79a2a768b2beb12046e6e33ef92e4d928bdbd83a authored almost 3 years ago
configure asciidoctor/reducer/version to autoload when Asciidoctor::Reducer::VERSION is accessed
194e691fdf27a713bd99bd717bac23f168660fff authored almost 3 years ago
194e691fdf27a713bd99bd717bac23f168660fff authored almost 3 years ago
fix default encoding in with_tmp_file test helper
c6590c20cda977aff05bb46066d934fad9cbb11c authored almost 3 years ago
c6590c20cda977aff05bb46066d934fad9cbb11c authored almost 3 years ago
enable coverage, if necessary, when running standalone Ruby script in test suite
480e239eca411fd4016af9c31c353d0a71f82f65 authored almost 3 years ago
480e239eca411fd4016af9c31c353d0a71f82f65 authored almost 3 years ago
require asciidoctor/reducer/version when asciidoctor/reducer is required
02cb81c8f02df043f4887d6146d6d8d74248fa48 authored almost 3 years ago
02cb81c8f02df043f4887d6146d6d8d74248fa48 authored almost 3 years ago
require asciidoctor/reducer/version when asciidoctor/reducer is required
8f8d4676edc45830176927c57ffc825930505c37 authored almost 3 years ago
8f8d4676edc45830176927c57ffc825930505c37 authored almost 3 years ago
upgrade rspec [skip ci]
08f187da6fb5c66bcce7e0496feb9da46356b341 authored almost 3 years ago
08f187da6fb5c66bcce7e0496feb9da46356b341 authored almost 3 years ago
use separate test to check for include that follows empty include
d5df47244f3a3a3108d4db5a1ef2c8587c75b511 authored almost 3 years ago
d5df47244f3a3a3108d4db5a1ef2c8587c75b511 authored almost 3 years ago
Begin development on next version [skip ci]
e337d63810c4af3c23c468e2e3bfc4812dec1db0 authored almost 3 years ago
e337d63810c4af3c23c468e2e3bfc4812dec1db0 authored almost 3 years ago
Release 1.0.0.alpha.6
a56d2f233444f4af4bc7e34732793fc647e2f263 authored almost 3 years ago
a56d2f233444f4af4bc7e34732793fc647e2f263 authored almost 3 years ago
resolves #23 retain includes table in document catalog when reloading document (PR #24)
84947ad5e317a2a29457416bf012d25874b2b43a authored almost 3 years ago
84947ad5e317a2a29457416bf012d25874b2b43a authored almost 3 years ago
resolves #21 prevent custom extension registry from activating extensions twice during reload (PR #22)
01f017aa92263a236995b9363895ec4323d0d90b authored almost 3 years ago
01f017aa92263a236995b9363895ec4323d0d90b authored almost 3 years ago
resolves #19 replace include directives that follow an unresolved include (PR #20)
e3efb02c8957d00bd6a6cfa1782bcc26dd32cd5f authored almost 3 years ago
e3efb02c8957d00bd6a6cfa1782bcc26dd32cd5f authored almost 3 years ago
add missing entry to CHANGELOG [skip ci]
87066b15a6e3c0eaf51288048ebede88133b288d authored almost 3 years ago
87066b15a6e3c0eaf51288048ebede88133b288d authored almost 3 years ago
don't activate reducer extensions on reduced document
c5eb6f9350cce9e970a74481d711b054dadc63dd authored almost 3 years ago
c5eb6f9350cce9e970a74481d711b054dadc63dd authored almost 3 years ago