plurimath 0.9.0 → 0.9.2
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/.github/workflows/dependent-repos.json +5 -0
- data/.github/workflows/dependent-tests.yml +16 -0
- data/lib/plurimath/math/core.rb +2 -1
- data/lib/plurimath/math/formula.rb +1 -1
- data/lib/plurimath/math/function/fenced.rb +1 -1
- data/lib/plurimath/math/function/ms.rb +5 -2
- data/lib/plurimath/math/function/unitsml.rb +4 -0
- data/lib/plurimath/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e88ad9f1e0f653ba649b18558767f46e2aff74f317875248370f6df63d1f5939
|
4
|
+
data.tar.gz: 06d6b2d10f0874ff134ec1879d40cd507030d2115a4a5961c1259435db160493
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 606a945c8a2d9d30e242162f0bff29db50eed474f6b527b746f61d3ba7937e602e0033cfec81e92c604e49b0424c1ed0c7546ef9f77bd46d19d1c0ce59b09107
|
7
|
+
data.tar.gz: 434c78d3b2731056f5ed0d94342c18acda6b4c3f851a225978139ce91cf1fd53b2e091569e1c0c61f0aea865817bcd99126eeae6578e6a83c74ae120ed9b1b69
|
@@ -0,0 +1,16 @@
|
|
1
|
+
name: dependent-gems-test
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ main ]
|
6
|
+
tags: [ v* ]
|
7
|
+
pull_request:
|
8
|
+
workflow_dispatch:
|
9
|
+
repository_dispatch:
|
10
|
+
types: [ release-passed ]
|
11
|
+
|
12
|
+
jobs:
|
13
|
+
rake:
|
14
|
+
uses: metanorma/ci/.github/workflows/dependent-rake.yml@main
|
15
|
+
with:
|
16
|
+
command: bundle exec rspec
|
data/lib/plurimath/math/core.rb
CHANGED
@@ -213,7 +213,7 @@ module Plurimath
|
|
213
213
|
end
|
214
214
|
|
215
215
|
def cloned_objects
|
216
|
-
object = self.class.new
|
216
|
+
object = self.class.new(nil)
|
217
217
|
variables.each { |var| object.set(var, variable_value(get(var))) }
|
218
218
|
object
|
219
219
|
end
|
@@ -344,6 +344,7 @@ module Plurimath
|
|
344
344
|
:@temp_mathml_order,
|
345
345
|
:@using_default,
|
346
346
|
:@displaystyle,
|
347
|
+
:@__encoding,
|
347
348
|
:@__ordered,
|
348
349
|
:@unitsml,
|
349
350
|
:@__mixed,
|
@@ -36,8 +36,11 @@ module Plurimath
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def value=(content)
|
39
|
-
|
40
|
-
@parameter_one = [
|
39
|
+
temp_content = updated_temp_mathml_values.flatten.map(&:to_ms_value)
|
40
|
+
@parameter_one = [
|
41
|
+
temp_content,
|
42
|
+
content&.empty? ? nil : content,
|
43
|
+
].flatten.compact.join(" ")
|
41
44
|
end
|
42
45
|
|
43
46
|
def mi_value=(value)
|
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.9.
|
4
|
+
version: 0.9.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: 2025-03-
|
11
|
+
date: 2025-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ox
|
@@ -116,6 +116,8 @@ executables:
|
|
116
116
|
extensions: []
|
117
117
|
extra_rdoc_files: []
|
118
118
|
files:
|
119
|
+
- ".github/workflows/dependent-repos.json"
|
120
|
+
- ".github/workflows/dependent-tests.yml"
|
119
121
|
- ".github/workflows/gen_docs.yml"
|
120
122
|
- ".github/workflows/rake.yml"
|
121
123
|
- ".github/workflows/release.yml"
|