plurimath 0.9.8 → 0.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/plurimath/math/formula.rb +1 -1
- data/lib/plurimath/setup/ox_engine.rb +5 -0
- data/lib/plurimath/version.rb +1 -1
- data/lib/plurimath/xml_engine/{ox → ox_engine}/element.rb +1 -1
- data/lib/plurimath/xml_engine/{ox.rb → ox_engine.rb} +2 -3
- data/lib/plurimath.rb +1 -1
- metadata +4 -4
- data/lib/plurimath/setup/ox.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2daf0b544efc26b15bd562db6b9ccea9fea08b6ad7b085d9315288b84deebc7
|
4
|
+
data.tar.gz: 68f7fd796097cc9ad6163342c91ec9db4214edacfa2c0c27c06840e37c80523c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1b5453cf0d8adbecd52d44c10fb98a509e0be7c70e89799e2a34c6a8418271f617143293b0424d9d1e14ca70be5ee8a821d2dfcdd68578be0b38e51b0b53d0f
|
7
|
+
data.tar.gz: 106b39d4b3a77e4a4fbc3324c2418060696f731e7adf87fb3c2b4eeb5230e9914af1fb633e0125843472c7cc2cbeafcb7f6e63017dc632ab9a5288ec0c939a04
|
@@ -842,7 +842,7 @@ module Plurimath
|
|
842
842
|
|
843
843
|
while iteration < nodes.length do
|
844
844
|
node = nodes[iteration]
|
845
|
-
next iteration += 1 unless node.nodes[0].is_a?(Plurimath::XmlEngine::
|
845
|
+
next iteration += 1 unless node.nodes[0].is_a?(Plurimath::XmlEngine::OxEngine::Element)
|
846
846
|
|
847
847
|
if DERIVATIVE_CONSTS.include?(node.nodes[0]&.nodes&.first)
|
848
848
|
iteration += 1
|
data/lib/plurimath/version.rb
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "plurimath/xml_engine"
|
4
|
+
require "plurimath/xml_engine/ox_engine/element"
|
4
5
|
require "ox"
|
5
6
|
Ox.default_options = { encoding: "UTF-8" }
|
6
7
|
|
7
8
|
module Plurimath
|
8
9
|
module XmlEngine
|
9
|
-
class
|
10
|
+
class OxEngine
|
10
11
|
class << self
|
11
12
|
def new_element(name)
|
12
13
|
Element.new(name)
|
@@ -36,5 +37,3 @@ module Plurimath
|
|
36
37
|
end
|
37
38
|
end
|
38
39
|
end
|
39
|
-
|
40
|
-
require "plurimath/xml_engine/ox/element"
|
data/lib/plurimath.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plurimath
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
@@ -1771,7 +1771,7 @@ files:
|
|
1771
1771
|
- lib/plurimath/omml/transform.rb
|
1772
1772
|
- lib/plurimath/setup/oga.rb
|
1773
1773
|
- lib/plurimath/setup/opal.rb.erb
|
1774
|
-
- lib/plurimath/setup/
|
1774
|
+
- lib/plurimath/setup/ox_engine.rb
|
1775
1775
|
- lib/plurimath/unicode_math.rb
|
1776
1776
|
- lib/plurimath/unicode_math/constants.rb
|
1777
1777
|
- lib/plurimath/unicode_math/parse.rb
|
@@ -1794,8 +1794,8 @@ files:
|
|
1794
1794
|
- lib/plurimath/xml_engine/oga/element.rb
|
1795
1795
|
- lib/plurimath/xml_engine/oga/node.rb
|
1796
1796
|
- lib/plurimath/xml_engine/oga/wrapper.rb
|
1797
|
-
- lib/plurimath/xml_engine/
|
1798
|
-
- lib/plurimath/xml_engine/
|
1797
|
+
- lib/plurimath/xml_engine/ox_engine.rb
|
1798
|
+
- lib/plurimath/xml_engine/ox_engine/element.rb
|
1799
1799
|
- plurimath.gemspec
|
1800
1800
|
- supported_parens_list.adoc
|
1801
1801
|
- supported_symbols_list.adoc
|