plurimath 0.7.0 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f58b20082cd94488f247f22399522d777ea751a4eba4f21e45a7a792fc6d30f3
4
- data.tar.gz: f6e55fa7493ac10ac6e8ded470ea547640b3b5b53f00ac36c8cf941d56d5cc87
3
+ metadata.gz: 68c5bd436055069db4d68d88fcf13f5bf6b06a60392b0846eec79e1b6cf50103
4
+ data.tar.gz: 454baf1fab16e319ade3c52cd4be5104d1d6e61bd817944b119b38e723b6cb89
5
5
  SHA512:
6
- metadata.gz: 133860ffcca6250cb3bef1e9eb186536685b3697a7d26bcda1d287170d74b9ac98083d352143cc6a9fc3649832229c0e1c3c1963c3e787db4d8b6f992b3f5802
7
- data.tar.gz: 3a2044197aa65f0820961c14a602ca6df69c316e48203b2d448263032837336053715d95c52290b5241486426d000588d632cd820563ddf6466b0f4ab5d46569
6
+ metadata.gz: 13b1df4e1875a76fea760fafd455cef19cf0ba808077420aff2f538ac90f427a97bc23319c649ff48227bb14a42cce7b9e09ae918282d822fb8ca18821dce08b
7
+ data.tar.gz: 42c8370e6610c6fb6a59b80913e6e8886b6489257427133c932640e9a2d13e4b75c56e03951a775eef960fcb61fd686cd8518b54cac809eccb5254bfae5714b3
@@ -127,7 +127,7 @@ module Plurimath
127
127
  end
128
128
 
129
129
  def validate_mathml_fields(field)
130
- field.nil? ? ox_element("mi") : field.to_mathml_without_math_tag
130
+ field&.to_mathml_without_math_tag
131
131
  end
132
132
 
133
133
  def common_math_zone_conversion(field, options = {})
@@ -206,7 +206,7 @@ module Plurimath
206
206
  count = { "m:val": value&.first&.parameter_one&.count }
207
207
  mcjc = { "m:val": "center" }
208
208
  mm = Utility.ox_element("m", namespace: "m")
209
- mpr = Utility.ox_element("mpr", namespace: "m")
209
+ mpr = Utility.ox_element("mPr", namespace: "m")
210
210
  mcs = Utility.ox_element("mcs", namespace: "m")
211
211
  mc = Utility.ox_element("mc", namespace: "m")
212
212
  mcpr = Utility.ox_element("mcPr", namespace: "m")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Plurimath
4
- VERSION = "0.7.0"
4
+ VERSION = "0.7.2"
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.7.0
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-18 00:00:00.000000000 Z
11
+ date: 2023-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parslet