mathematical 1.6.14 → 1.6.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -1
- data/Rakefile +31 -21
- data/ext/mathematical/extconf.rb +71 -69
- data/ext/mathematical/lasem/COPYING +118 -99
- data/ext/mathematical/lasem/{NEWS → NEWS.md} +10 -0
- data/ext/mathematical/lasem/README.md +65 -0
- data/ext/mathematical/lasem/docs/lasem-render-0.6.1 +2 -2
- data/ext/mathematical/lasem/docs/meson.build +3 -0
- data/ext/mathematical/lasem/docs/reference/lasem/building.md +32 -0
- data/ext/mathematical/lasem/docs/reference/lasem/lasem.toml.in +47 -0
- data/ext/mathematical/lasem/docs/reference/lasem/meson.build +44 -0
- data/ext/mathematical/lasem/docs/reference/lasem/overview.md +24 -0
- data/ext/mathematical/lasem/docs/reference/lasem/urlmap.js +5 -0
- data/ext/mathematical/lasem/itex2mml/README.itex2MML +5 -2
- data/ext/mathematical/lasem/itex2mml/itex2MML.h +10 -10
- data/ext/mathematical/lasem/itex2mml/itex2MML.l +126 -27
- data/ext/mathematical/lasem/itex2mml/itex2MML.y +262 -99
- data/ext/mathematical/lasem/itex2mml/meson.build +17 -0
- data/ext/mathematical/lasem/lasem.doap +7 -7
- data/ext/mathematical/lasem/meson.build +46 -0
- data/ext/mathematical/lasem/meson_options.txt +5 -0
- data/ext/mathematical/lasem/org.lasem.Viewer.json +41 -0
- data/ext/mathematical/lasem/po/LINGUAS +0 -2
- data/ext/mathematical/lasem/po/eu.po +30 -66
- data/ext/mathematical/lasem/po/meson.build +4 -0
- data/ext/mathematical/lasem/src/lasemrender.c +1 -6
- data/ext/mathematical/lasem/src/lsm.c +2 -0
- data/ext/mathematical/lasem/src/lsmattributes.c +2 -5
- data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.c +71 -7
- data/ext/mathematical/lasem/src/lsmmathmlitexelement.c +7 -5
- data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.c +11 -1
- data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.h +2 -1
- data/ext/mathematical/lasem/src/lsmmathmloperatorelement.c +6 -1
- data/ext/mathematical/lasem/src/lsmmathmlview.c +21 -3
- data/ext/mathematical/lasem/src/lsmmathmlview.h +2 -2
- data/ext/mathematical/lasem/src/lsmmisc.c +15 -0
- data/ext/mathematical/lasem/src/lsmmisc.h +32 -0
- data/ext/mathematical/lasem/src/lsmproperties.c +2 -5
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +6 -3
- data/ext/mathematical/lasem/src/lsmsvgtraits.c +10 -1
- data/ext/mathematical/lasem/src/meson.build +321 -0
- data/ext/mathematical/lasem/subprojects/gi-docgen.wrap +6 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/array.tex +3 -0
- data/ext/mathematical/lasem/tests/dom.c +0 -6
- data/ext/mathematical/lasem/tests/filter.c +8 -7
- data/ext/mathematical/lasem/tests/lasem.supp +185 -0
- data/ext/mathematical/lasem/tests/lsmtest.c +2 -9
- data/ext/mathematical/lasem/tests/meson.build +39 -0
- data/ext/mathematical/lasem/tests/str.c +0 -4
- data/ext/mathematical/lasem/tests/suite.c +0 -4
- data/ext/mathematical/lasem/viewer/meson.build +17 -0
- data/ext/mathematical/lasem/viewer/viewer.c +248 -0
- data/ext/mathematical/mtex2MML/script/tag +15 -14
- data/ext/mathematical/mtex2MML/src/lexer.l +4 -4
- data/ext/mathematical/mtex2MML/src/mtex2MML.h +7 -7
- data/ext/mathematical/mtex2MML/src/parser.y +5 -5
- data/ext/mathematical/mtex2MML/tests/clar.c +2 -2
- data/ext/mathematical/mtex2MML/tests/deps/trim/package.json +2 -2
- data/lib/mathematical/configuration.rb +8 -4
- data/lib/mathematical/corrections.rb +3 -1
- data/lib/mathematical/validator.rb +11 -8
- data/lib/mathematical/version.rb +3 -1
- data/lib/mathematical.rb +21 -19
- data/mathematical.gemspec +21 -22
- metadata +36 -336
- data/ext/mathematical/lasem/AUTHORS +0 -1
- data/ext/mathematical/lasem/ChangeLog +0 -0
- data/ext/mathematical/lasem/MAINTAINERS +0 -3
- data/ext/mathematical/lasem/Makefile.am +0 -34
- data/ext/mathematical/lasem/Makefile.decl +0 -57
- data/ext/mathematical/lasem/README +0 -28
- data/ext/mathematical/lasem/RELEASING +0 -85
- data/ext/mathematical/lasem/autogen.sh +0 -180
- data/ext/mathematical/lasem/configure.ac +0 -139
- data/ext/mathematical/lasem/docs/Makefile.am +0 -14
- data/ext/mathematical/lasem/docs/reference/Makefile.am +0 -3
- data/ext/mathematical/lasem/docs/reference/lasem/Makefile.am +0 -205
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-docs.xml +0 -75
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-overview.xml +0 -64
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-sections.txt +0 -213
- data/ext/mathematical/lasem/docs/reference/lasem/lasem.types +0 -110
- data/ext/mathematical/lasem/itex2mml/Makefile.am +0 -37
- data/ext/mathematical/lasem/lasem.pc.in +0 -11
- data/ext/mathematical/lasem/m4/introspection.m4 +0 -96
- data/ext/mathematical/lasem/po/ChangeLog +0 -0
- data/ext/mathematical/lasem/po/ro.po +0 -64
- data/ext/mathematical/lasem/src/Makefile.am +0 -349
- data/ext/mathematical/lasem/src/lsmdomenumtypes.c.template +0 -39
- data/ext/mathematical/lasem/src/lsmdomenumtypes.h.template +0 -26
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c.template +0 -39
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h.template +0 -26
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.c.template +0 -39
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.h.template +0 -26
- data/ext/mathematical/lasem/tests/Makefile.am +0 -34
- data/ext/mathematical/lib/liblasem.dylib +0 -0
- data/ext/mathematical/lib/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeCache.txt +0 -512
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeCCompiler.cmake +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeCXXCompiler.cmake +0 -88
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeSystem.cmake +0 -15
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CompilerIdC/CMakeCCompilerId.c +0 -671
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -660
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeError.log +0 -22
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +0 -351
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +0 -34
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +0 -177
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +0 -1033
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +0 -41
- data/ext/mathematical/mtex2MML/build/CMakeFiles/cmake.check_cache +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +0 -44
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +0 -206
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +0 -20
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/depend.make +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/progress.make +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +0 -244
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +0 -42
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +0 -203
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +0 -19
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean_target.cmake +0 -3
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +0 -49
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +0 -49
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/progress.make +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +0 -43
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +0 -217
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +0 -20
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/depend.make +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/progress.make +0 -12
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +0 -59
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +0 -473
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +0 -37
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/depend.make +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/progress.make +0 -29
- data/ext/mathematical/mtex2MML/build/CMakeFiles/progress.marks +0 -1
- data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +0 -105
- data/ext/mathematical/mtex2MML/build/Makefile +0 -1485
- data/ext/mathematical/mtex2MML/build/cmake_install.cmake +0 -102
- data/ext/mathematical/mtex2MML/build/lexer.c +0 -8903
- data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/libmtex2MML.pc +0 -10
- data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +0 -42
- data/ext/mathematical/mtex2MML/build/parser.c +0 -10334
- data/ext/mathematical/mtex2MML/build/parser.h +0 -625
- data/ext/mathematical/mtex2MML/build/parser.output +0 -120719
- data/test/mathematical/basic_test.rb +0 -89
- data/test/mathematical/corrections_test.rb +0 -16
- data/test/mathematical/delimiters_test.rb +0 -69
- data/test/mathematical/fixtures/after/backslashes.html +0 -5
- data/test/mathematical/fixtures/after/brackets_display.html +0 -1
- data/test/mathematical/fixtures/after/compliance_accents.html +0 -17
- data/test/mathematical/fixtures/after/compliance_arrows.html +0 -71
- data/test/mathematical/fixtures/after/compliance_colors.html +0 -4
- data/test/mathematical/fixtures/after/compliance_greek_letters.html +0 -42
- data/test/mathematical/fixtures/after/compliance_large_math.html +0 -19
- data/test/mathematical/fixtures/after/compliance_log_symbols.html +0 -34
- data/test/mathematical/fixtures/after/compliance_operators.html +0 -262
- data/test/mathematical/fixtures/after/dollar_sign_inline.html +0 -1
- data/test/mathematical/fixtures/after/equation_display.html +0 -1
- data/test/mathematical/fixtures/after/multiple_dollar_inline.html +0 -1
- data/test/mathematical/fixtures/after/parens_inline.html +0 -1
- data/test/mathematical/fixtures/before/backslashes.text +0 -17
- data/test/mathematical/fixtures/before/brackets_display.text +0 -1
- data/test/mathematical/fixtures/before/compliance_accents.text +0 -17
- data/test/mathematical/fixtures/before/compliance_arrows.text +0 -71
- data/test/mathematical/fixtures/before/compliance_colors.text +0 -4
- data/test/mathematical/fixtures/before/compliance_greek_letters.text +0 -42
- data/test/mathematical/fixtures/before/compliance_large_math.text +0 -19
- data/test/mathematical/fixtures/before/compliance_log_symbols.text +0 -34
- data/test/mathematical/fixtures/before/compliance_operators.text +0 -262
- data/test/mathematical/fixtures/before/dollar_sign_inline.text +0 -1
- data/test/mathematical/fixtures/before/equation_display.text +0 -1
- data/test/mathematical/fixtures/before/multiple_dollar_inline.text +0 -1
- data/test/mathematical/fixtures/before/parens_inline.text +0 -1
- data/test/mathematical/fixtures/performance/big_file.text +0 -1755
- data/test/mathematical/fixtures/png/numeric_test_1.png +0 -0
- data/test/mathematical/fixtures/png/numeric_test_2.png +0 -0
- data/test/mathematical/fixtures/png/numeric_test_3.png +0 -0
- data/test/mathematical/fixtures/png/pmatrix.png +0 -0
- data/test/mathematical/fixtures_test.rb +0 -51
- data/test/mathematical/maliciousness_test.rb +0 -152
- data/test/mathematical/mathjax_test.rb +0 -26
- data/test/mathematical/mathml_test.rb +0 -21
- data/test/mathematical/multiples_test.rb +0 -71
- data/test/mathematical/performance_test.rb +0 -15
- data/test/mathematical/png_test.rb +0 -30
- data/test/test_helper.rb +0 -72
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 273ff66b5f3f1a80c7922a10a6c11797fbf187b589e477fb88ebbe91de66911a
|
4
|
+
data.tar.gz: d8f27438acfc80ae8ece3b1dec8ddcb385b9f6e1f772eb7e7e9c39676c183b8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7f0b9973cbeff8512f6fabb11388e7b76b872c1eeb8f951c2c23f4b2bccdd974b6ce92f5cc0b40fdfe372aa7a31ec9153c273df4bb19cfffe144b8cd996c6b6
|
7
|
+
data.tar.gz: b545fb60e6fb60fc5a06210b69c48027bb36cfa149ad1647d1d8d2701a9e54caaf8979628ba41ffec6b27afc218dd9f68034933f437aa14fac3c492cc3b98347
|
data/README.md
CHANGED
@@ -6,6 +6,12 @@ Quickly convert math equations into beautiful SVGs (or PNGs/MathML).
|
|
6
6
|
|
7
7
|
![Mathematical](https://i.imgur.com/JC7HT32.gif)
|
8
8
|
|
9
|
+
## ⚠️ Maintenance Status ⚠️
|
10
|
+
|
11
|
+
SVG and especially PNG generation is currently unmaintained. This library should primarily be used for MathML generation.
|
12
|
+
|
13
|
+
Please reach out if you would like to mantain SVG and PNG portions of the library.
|
14
|
+
|
9
15
|
## Installation
|
10
16
|
|
11
17
|
Add this line to your application's Gemfile:
|
@@ -244,7 +250,7 @@ no intermediate binaries. It was, unfortunately, a bit slow: for an arbitrary
|
|
244
250
|
composition of 880 equations, it took about eight seconds to complete. Could I
|
245
251
|
do better?
|
246
252
|
|
247
|
-
* I came across [Lasem](https://
|
253
|
+
* I came across [Lasem](https://github.com/LasemProject/lasem),
|
248
254
|
which met every need. It has no external binary dependencies (only library packages),
|
249
255
|
can convert directly to SVG, and it's fast. The same arbitrary 880 equations were
|
250
256
|
rendered in moments.
|
data/Rakefile
CHANGED
@@ -1,22 +1,23 @@
|
|
1
1
|
#!/usr/bin/env rake
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
|
-
require
|
4
|
-
require
|
5
|
-
require
|
6
|
-
require
|
4
|
+
require "bundler/gem_tasks"
|
5
|
+
require "rake/testtask"
|
6
|
+
require "fileutils"
|
7
|
+
require "tmpdir"
|
7
8
|
|
8
|
-
LASEM_DIR = File.expand_path(File.join(File.dirname(__FILE__),
|
9
|
+
LASEM_DIR = File.expand_path(File.join(File.dirname(__FILE__), "ext", "mathematical", "lasem"))
|
9
10
|
|
10
11
|
Rake::TestTask.new do |t|
|
11
|
-
t.libs <<
|
12
|
-
t.test_files = FileList[
|
12
|
+
t.libs << "test"
|
13
|
+
t.test_files = FileList["test/**/*_test.rb"]
|
13
14
|
t.verbose = true
|
14
15
|
end
|
15
16
|
|
16
|
-
require
|
17
|
-
spec = Gem::Specification.load(
|
18
|
-
Rake::ExtensionTask.new(
|
19
|
-
ext.lib_dir = File.join(
|
17
|
+
require "rake/extensiontask"
|
18
|
+
spec = Gem::Specification.load("mathematical.gemspec")
|
19
|
+
Rake::ExtensionTask.new("mathematical", spec) do |ext|
|
20
|
+
ext.lib_dir = File.join("lib", "mathematical")
|
20
21
|
end
|
21
22
|
|
22
23
|
task default: [:test]
|
@@ -25,31 +26,40 @@ Gem::PackageTask.new(spec)
|
|
25
26
|
|
26
27
|
Rake::Task[:test].prerequisites
|
27
28
|
|
28
|
-
task :
|
29
|
+
task build: [:clean]
|
29
30
|
|
30
31
|
Rake::Task[:clean].enhance do
|
31
|
-
Dir.chdir(LASEM_DIR) { puts
|
32
|
+
Dir.chdir(LASEM_DIR) { puts %x(git clean -fdx) }
|
32
33
|
end
|
33
34
|
|
34
|
-
desc
|
35
|
+
desc "Copy samples to gh-pages"
|
35
36
|
task :copy_samples do
|
36
37
|
Dir.mktmpdir do |tmp|
|
37
38
|
system "cp -r samples #{tmp}"
|
38
39
|
|
39
|
-
system
|
40
|
+
system "git checkout gh-pages"
|
40
41
|
|
41
42
|
system "cp -r #{tmp}/samples ."
|
42
43
|
end
|
43
44
|
end
|
44
45
|
|
45
|
-
|
46
|
+
require "rubocop/rake_task"
|
47
|
+
|
48
|
+
RuboCop::RakeTask.new
|
49
|
+
|
50
|
+
desc "Pretty format C code"
|
46
51
|
task :format do
|
47
|
-
puts
|
48
|
-
$(ack -n -f --type=cpp --type=cc ext/mathematical/)
|
52
|
+
puts %x(astyle --indent=spaces=2 --style=1tbs --keep-one-line-blocks \
|
53
|
+
$(ack -n -f --type=cpp --type=cc ext/mathematical/))
|
49
54
|
end
|
50
55
|
|
51
|
-
desc
|
56
|
+
desc "Run a benchmark"
|
52
57
|
task :benchmark do
|
53
|
-
|
54
|
-
load
|
58
|
+
$LOAD_PATH.unshift("lib")
|
59
|
+
load "script/benchmark.rb"
|
55
60
|
end
|
61
|
+
|
62
|
+
GEMSPEC = Bundler.load_gemspec("mathematical.gemspec")
|
63
|
+
gem_path = Gem::PackageTask.new(GEMSPEC).define
|
64
|
+
desc "Package the ruby gem"
|
65
|
+
task "package" => [gem_path]
|
data/ext/mathematical/extconf.rb
CHANGED
@@ -1,62 +1,66 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# rubocop:disable Style/GlobalVars
|
4
|
+
|
5
|
+
ENV["RC_ARCHS"] = "" if RUBY_PLATFORM.match?(/darwin|mac os/)
|
6
|
+
|
7
|
+
require "mkmf"
|
8
|
+
require "rbconfig"
|
9
|
+
|
10
|
+
OS = case RbConfig::CONFIG["host_os"]
|
11
|
+
when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
|
12
|
+
:windows
|
13
|
+
when /darwin|mac os/
|
14
|
+
:macos
|
15
|
+
when /linux/
|
16
|
+
:linux
|
17
|
+
when /solaris|bsd/
|
18
|
+
:unix
|
19
|
+
else
|
20
|
+
raise Error::WebDriverError, "unknown os: #{host_os.inspect}"
|
21
|
+
end
|
22
|
+
|
23
|
+
LIBDIR = RbConfig::CONFIG["libdir"]
|
24
|
+
INCLUDEDIR = RbConfig::CONFIG["includedir"]
|
25
|
+
SHARED_EXT = OS == :macos ? "dylib" : "so"
|
22
26
|
# Starting in Catalina, libxml2 was moved elsewhere
|
23
|
-
SDKROOT = OS == :macos ?
|
24
|
-
RPATH = OS == :macos ?
|
27
|
+
SDKROOT = OS == :macos ? %x(/usr/bin/xcrun --show-sdk-path).chomp : ""
|
28
|
+
RPATH = OS == :macos ? "-rpath @loader_path/../../ext/mathematical/lib".chomp : ""
|
25
29
|
|
26
|
-
unless find_executable(
|
30
|
+
unless find_executable("cmake")
|
27
31
|
$stderr.puts "\n\n\n[ERROR]: cmake is required and not installed. Get it here: http://www.cmake.org/\n\n"
|
28
32
|
exit 1
|
29
33
|
end
|
30
34
|
|
31
35
|
def using_system_lasem?
|
32
|
-
arg_config(
|
36
|
+
arg_config("--use-system-lasem", !!ENV["MATHEMATICAL_USE_SYSTEM_LASEM"])
|
33
37
|
end
|
34
38
|
|
35
39
|
def using_system_mtex2mml?
|
36
|
-
arg_config(
|
40
|
+
arg_config("--use-system-mtex2MML", !!ENV["MATHEMATICAL_USE_SYSTEM_MTEX2MML"])
|
37
41
|
end
|
38
42
|
|
39
|
-
LASEM_DIR = File.expand_path(File.join(File.dirname(__FILE__),
|
40
|
-
LASEM_BUILD_DIR = File.join(LASEM_DIR,
|
41
|
-
LASEM_SRC_DIR = File.expand_path(File.join(LASEM_DIR,
|
42
|
-
LASEM_LIB_DIR = File.expand_path(File.join(File.dirname(__FILE__),
|
43
|
+
LASEM_DIR = File.expand_path(File.join(File.dirname(__FILE__), "lasem"))
|
44
|
+
LASEM_BUILD_DIR = File.join(LASEM_DIR, "build")
|
45
|
+
LASEM_SRC_DIR = File.expand_path(File.join(LASEM_DIR, "src"))
|
46
|
+
LASEM_LIB_DIR = File.expand_path(File.join(File.dirname(__FILE__), "lib"))
|
43
47
|
|
44
|
-
MTEX2MML_DIR = File.expand_path(File.join(File.dirname(__FILE__),
|
45
|
-
MTEX2MML_BUILD_DIR = File.join(MTEX2MML_DIR,
|
46
|
-
MTEX2MML_SRC_DIR = File.expand_path(File.join(MTEX2MML_DIR,
|
47
|
-
MTEX2MML_LIB_DIR = File.expand_path(File.join(File.dirname(__FILE__),
|
48
|
+
MTEX2MML_DIR = File.expand_path(File.join(File.dirname(__FILE__), "mtex2MML"))
|
49
|
+
MTEX2MML_BUILD_DIR = File.join(MTEX2MML_DIR, "build")
|
50
|
+
MTEX2MML_SRC_DIR = File.expand_path(File.join(MTEX2MML_DIR, "src"))
|
51
|
+
MTEX2MML_LIB_DIR = File.expand_path(File.join(File.dirname(__FILE__), "lib"))
|
48
52
|
|
49
53
|
if OS == :macos
|
50
|
-
ENV[
|
54
|
+
ENV["PKG_CONFIG_PATH"] = "/opt/X11/lib/pkgconfig:#{ENV["PKG_CONFIG_PATH"]}"
|
51
55
|
end
|
52
56
|
|
53
57
|
# pre-compile checks
|
54
|
-
have_library(
|
55
|
-
have_library(
|
56
|
-
find_header(
|
57
|
-
find_header(
|
58
|
-
find_header(
|
59
|
-
find_header(
|
58
|
+
have_library("xml2")
|
59
|
+
have_library("pangocairo-1.0")
|
60
|
+
find_header("libxml/tree.h", "/include/libxml2", "/usr/include/libxml2", "/usr/local/include/libxml2", "#{SDKROOT}/usr/include/libxml2")
|
61
|
+
find_header("libxml/parser.h", "/include/libxml2", "/usr/include/libxml2", "/usr/local/include/libxml2", "#{SDKROOT}/usr/include/libxml2")
|
62
|
+
find_header("libxml/xpath.h", "/include/libxml2", "/usr/include/libxml2", "/usr/local/include/libxml2", "#{SDKROOT}/usr/include/libxml2")
|
63
|
+
find_header("libxml/xpathInternals.h", "/include/libxml2", "/usr/include/libxml2", "/usr/local/include/libxml2", "#{SDKROOT}/usr/include/libxml2")
|
60
64
|
|
61
65
|
# TODO: we need to clear out the build dir that's erroneously getting packaged
|
62
66
|
# this causes problems, as Linux installation is expecting OS X output
|
@@ -73,55 +77,53 @@ clean_dir(LASEM_BUILD_DIR)
|
|
73
77
|
if !using_system_mtex2mml?
|
74
78
|
# build mtex2MML library
|
75
79
|
Dir.chdir(MTEX2MML_BUILD_DIR) do
|
76
|
-
system
|
77
|
-
system
|
80
|
+
system "cmake .."
|
81
|
+
system "make libmtex2MML_static"
|
78
82
|
end
|
79
83
|
FileUtils.mkdir_p(MTEX2MML_LIB_DIR)
|
80
|
-
FileUtils.cp_r(File.join(MTEX2MML_BUILD_DIR,
|
81
|
-
$LIBS <<
|
84
|
+
FileUtils.cp_r(File.join(MTEX2MML_BUILD_DIR, "libmtex2MML.a"), MTEX2MML_LIB_DIR)
|
85
|
+
$LIBS << " -lmtex2MML"
|
86
|
+
elsif dir_config("mtex2MML").any? || system("dpkg -s libmtex2MML >/dev/null")
|
87
|
+
$LIBS << " -lmtex2MML"
|
82
88
|
else
|
83
|
-
|
84
|
-
|
85
|
-
else
|
86
|
-
# NOTE: pkg_config implicitly adds right -l argument for the linker.
|
87
|
-
pkg_config('libmtex2MML') || pkg_config('mtex2MML')
|
88
|
-
end
|
89
|
+
# NOTE: pkg_config implicitly adds right -l argument for the linker.
|
90
|
+
pkg_config("libmtex2MML") || pkg_config("mtex2MML")
|
89
91
|
end
|
90
92
|
|
91
93
|
if !using_system_lasem?
|
92
94
|
# build Lasem library
|
93
95
|
# SHOULD BE DYNAMICALLY LINKED for potential LGPL copyright issues
|
94
96
|
Dir.chdir(LASEM_BUILD_DIR) do
|
95
|
-
system
|
96
|
-
system
|
97
|
+
system "cmake ../.."
|
98
|
+
system "make"
|
97
99
|
end
|
98
100
|
FileUtils.mkdir_p(LASEM_LIB_DIR)
|
99
101
|
FileUtils.cp_r(File.join(LASEM_BUILD_DIR, "liblasem.#{SHARED_EXT}"), LASEM_LIB_DIR)
|
100
|
-
if OS == :linux
|
101
|
-
|
102
|
+
$LIBS << if OS == :linux
|
103
|
+
" -Wl,-rpath,#{LASEM_LIB_DIR} -llasem"
|
102
104
|
else
|
103
|
-
|
105
|
+
" -llasem"
|
104
106
|
end
|
107
|
+
elsif dir_config("lasem").any? || system("dpkg -s liblasem >/dev/null")
|
108
|
+
$LIBS << " -llasem"
|
105
109
|
else
|
106
|
-
|
107
|
-
|
108
|
-
else
|
109
|
-
# NOTE: pkg_config implicitly adds right -l argument for the linker.
|
110
|
-
pkg_config('liblasem') || pkg_config('lasem')
|
111
|
-
end
|
110
|
+
# NOTE: pkg_config implicitly adds right -l argument for the linker.
|
111
|
+
pkg_config("liblasem") || pkg_config("lasem")
|
112
112
|
end
|
113
113
|
|
114
|
-
puts
|
114
|
+
puts "*** Library work completed ***"
|
115
115
|
|
116
116
|
LIB_DIRS = [MTEX2MML_LIB_DIR, LASEM_LIB_DIR]
|
117
117
|
HEADER_DIRS = [MTEX2MML_SRC_DIR, LASEM_SRC_DIR]
|
118
118
|
|
119
|
-
dir_config(
|
119
|
+
dir_config("mathematical", HEADER_DIRS, LIB_DIRS)
|
120
|
+
|
121
|
+
find_header("mtex2MML.h", MTEX2MML_SRC_DIR)
|
120
122
|
|
121
|
-
|
123
|
+
flag = ENV["TRAVIS"] ? "-O0" : "-O2"
|
124
|
+
$LDFLAGS << " #{%x(pkg-config --static --libs glib-2.0 gdk-pixbuf-2.0 cairo pango).chomp} #{RPATH}"
|
125
|
+
$CFLAGS << " #{flag} #{%x(pkg-config --cflags glib-2.0 gdk-pixbuf-2.0 cairo pango).chomp}"
|
122
126
|
|
123
|
-
|
124
|
-
$LDFLAGS << " #{`pkg-config --static --libs glib-2.0 gdk-pixbuf-2.0 cairo pango`.chomp} #{RPATH}"
|
125
|
-
$CFLAGS << " #{flag} #{`pkg-config --cflags glib-2.0 gdk-pixbuf-2.0 cairo pango`.chomp}"
|
127
|
+
create_makefile("mathematical/mathematical")
|
126
128
|
|
127
|
-
|
129
|
+
# rubocop:enable Style/GlobalVars
|