plurimath 0.8.22 → 0.8.24
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/mathml/parser.rb +3 -1
- data/lib/plurimath/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c205999703df727ab9f7a9cda7a4fddb7359b0b57e59413e52ecebc7e961de1
|
4
|
+
data.tar.gz: 158c063d2ae937a256a859cbbcb42826de6289874c592fccb55ef76dde97b7f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02e70b4a39ca41afbe43b2ba6099f07b7882e5908f140ab5d4a6bd0f600272d47912d548ac1d8794707affc57b9efe00e472e2c2a6e92e793d6b2b105b85d5f2
|
7
|
+
data.tar.gz: 7b6172ca6cd799cf8f4d81044eb7380ed9326f87cebf286d1bf25ccd81fa4674f6d9190df0f3555983b1b2a2e946725b1594e4eb72bc18e5d4da16d92d4119e2
|
@@ -7,7 +7,7 @@ module Plurimath
|
|
7
7
|
class Formula < Core
|
8
8
|
include Mathml::Utility
|
9
9
|
|
10
|
-
attr_accessor :value, :left_right_wrapper, :displaystyle, :input_string, :unitsml, :unitsml_xml
|
10
|
+
attr_accessor :value, :left_right_wrapper, :displaystyle, :input_string, :unitsml, :unitsml_xml, :display
|
11
11
|
|
12
12
|
MATH_ZONE_TYPES = %i[
|
13
13
|
omml
|
@@ -20,6 +20,8 @@ module Plurimath
|
|
20
20
|
private
|
21
21
|
|
22
22
|
def mml_config
|
23
|
+
return if ::Mml.respond_to?(:config)
|
24
|
+
|
23
25
|
::Mml::Configuration.config = {
|
24
26
|
mmultiscripts: Plurimath::Math::Function::Multiscript,
|
25
27
|
mlabeledtr: Plurimath::Math::Function::Mlabeledtr,
|
@@ -59,7 +61,7 @@ module Plurimath
|
|
59
61
|
ms: Plurimath::Math::Function::Ms,
|
60
62
|
mn: Plurimath::Math::Number,
|
61
63
|
}
|
62
|
-
require "mml"
|
64
|
+
require "mml"
|
63
65
|
end
|
64
66
|
end
|
65
67
|
end
|
data/lib/plurimath/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plurimath
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ox
|