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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d953877116a1cde6c6fb11fb6d0d48da2450510d3fe0747318296ae6e8f5018
4
- data.tar.gz: 310d30cfcab0601cae76b669e516801552036e9438c3f2a45df1d3a0d88dede5
3
+ metadata.gz: 4c205999703df727ab9f7a9cda7a4fddb7359b0b57e59413e52ecebc7e961de1
4
+ data.tar.gz: 158c063d2ae937a256a859cbbcb42826de6289874c592fccb55ef76dde97b7f9
5
5
  SHA512:
6
- metadata.gz: 22db9733cd7c65cde67cc87d461614be443ba0e2b049198807a706c27f21fbfcd0367a0bdaf975b097dd2b0a6c75d448f86b2b5ad796d70282a13e1bc8955382
7
- data.tar.gz: f439f1cbb88d778b17c36b2730ee93994e44ecdad9b8c910e299f1e9cbdace2d01f92c4ea214ba8c578e30a8bb66168a5a081a1896512ec9ef2e94a451f3228b
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" unless ::Mml.respond_to?(:config)
64
+ require "mml"
63
65
  end
64
66
  end
65
67
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Plurimath
4
- VERSION = "0.8.22"
4
+ VERSION = "0.8.24"
5
5
  end
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.22
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-01-27 00:00:00.000000000 Z
11
+ date: 2025-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ox