Wireshark-commits: [Wireshark-commits] master e4e0488: docbook: reduce ruby code duplication by int
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e4e0488da93d6eb43731d14f96544ab33928a005
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
e4e0488 by Dario Lombardo (lomato@xxxxxxxxx):
docbook: reduce ruby code duplication by introducing utils module.
Change-Id: I7e436db3cb86f5ebd0f5827c6da630303bc3f538
Reviewed-on: https://code.wireshark.org/review/28400
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 622b17a docbook: remove equivalent case.
adds e4e0488 docbook: reduce ruby code duplication by introducing utils module.
Summary of changes:
cmake/modules/FindAsciidoctor.cmake | 1 +
docbook/asciidoctor-macros/commaize-block/extension.rb | 1 +
.../asciidoctor-macros/cveidlink-inline-macro/extension.rb | 11 ++---------
docbook/asciidoctor-macros/ws_utils.rb | 13 +++++++++++++
.../asciidoctor-macros/wsbuglink-inline-macro/extension.rb | 10 ++--------
.../asciidoctor-macros/wssalink-inline-macro/extension.rb | 10 ++--------
6 files changed, 21 insertions(+), 25 deletions(-)
create mode 100644 docbook/asciidoctor-macros/ws_utils.rb