asciimath 2.0.5 → 2.0.6
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/ci.yml +11 -3
- data/asciimath.gemspec +8 -1
- data/lib/asciimath/html.rb +1 -1
- data/lib/asciimath/latex.rb +1 -1
- data/lib/asciimath/mathml.rb +1 -1
- data/lib/asciimath/parser.rb +1 -1
- data/lib/asciimath/version.rb +1 -1
- metadata +12 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4da40c3a56b887d58b43530f970f23ade2ec058019c3e5c4d7e656ac87cebf7
|
4
|
+
data.tar.gz: ac10cfdfbb9c82993407155dc0f7c8725d79b83a788638c21a1d31084f8edf63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27b8428ddbd14cf6463b72bd4549d4f507a23d626a8a5920297f2b83d1318d7360684b482b9f82ba5ae8107554d7dfe2c16e04b4804c46793f5f0581747900bf
|
7
|
+
data.tar.gz: e075905541d6e76f84a92bcb03f567ecd927b2ef9ef3365aa548b601e6e383a37aa6e66e73490753ea9dfab1245d19916d9880279070846933541ff754e0cd9f
|
data/.github/workflows/ci.yml
CHANGED
@@ -4,12 +4,18 @@ jobs:
|
|
4
4
|
test:
|
5
5
|
strategy:
|
6
6
|
matrix:
|
7
|
-
ruby: [jruby, 2.3, 2.4, 2.5, 2.6, 2.7]
|
8
|
-
os: [ubuntu-latest
|
7
|
+
ruby: [jruby, 2.3, 2.4, 2.5, 2.6, 2.7, 3.2]
|
8
|
+
os: [ubuntu-latest]
|
9
|
+
rubyopt: [""]
|
10
|
+
include:
|
11
|
+
- ruby: 2.7
|
12
|
+
os: ubuntu-latest
|
13
|
+
rubyopt: "--enable-frozen-string-literal --debug-frozen-string-literal"
|
14
|
+
|
9
15
|
runs-on: ${{ matrix.os }}
|
10
16
|
steps:
|
11
17
|
- name: Checkout
|
12
|
-
uses: actions/checkout@
|
18
|
+
uses: actions/checkout@v4
|
13
19
|
- name: Set up Ruby
|
14
20
|
uses: ruby/setup-ruby@v1
|
15
21
|
with:
|
@@ -17,4 +23,6 @@ jobs:
|
|
17
23
|
- name: Build
|
18
24
|
run: bundle install --jobs 4 --retry 3
|
19
25
|
- name: Test
|
26
|
+
env:
|
27
|
+
RUBYOPT: ${{ matrix.rubyopt }}
|
20
28
|
run: bundle exec rake test
|
data/asciimath.gemspec
CHANGED
@@ -11,9 +11,16 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.email = ["pepijn@vaneeckhoudt.net", "pablo-ecobar@riseup.net"]
|
12
12
|
spec.summary = %q{AsciiMath parser and converter}
|
13
13
|
spec.description = %q{A pure Ruby AsciiMath parsing and conversion library.}
|
14
|
-
spec.homepage = ""
|
14
|
+
spec.homepage = "https://asciidoctor.org/"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
|
+
spec.metadata = {
|
18
|
+
"bug_tracker_uri" => "https://github.com/asciidoctor/asciimath/issues",
|
19
|
+
"changelog_uri" => "https://github.com/asciidoctor/asciimath/blob/HEAD/CHANGELOG.adoc",
|
20
|
+
"mailing_list_uri" => "https://chat.asciidoctor.org",
|
21
|
+
"source_code_uri" => "https://github.com/asciidoctor/asciimath"
|
22
|
+
}
|
23
|
+
|
17
24
|
spec.files = `git ls-files -z`.split("\x0")
|
18
25
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
26
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
data/lib/asciimath/html.rb
CHANGED
data/lib/asciimath/latex.rb
CHANGED
data/lib/asciimath/mathml.rb
CHANGED
@@ -7,7 +7,7 @@ module AsciiMath
|
|
7
7
|
def initialize(opts = {})
|
8
8
|
super(opts[:symbol_table] || ::AsciiMath::MarkupBuilder.default_display_symbol_table(fix_phi: opts.fetch(:fix_phi, true)))
|
9
9
|
@prefix = opts[:prefix] || ''
|
10
|
-
@mathml = ''
|
10
|
+
@mathml = ''.dup
|
11
11
|
if opts[:msword]
|
12
12
|
@row_mode = :force
|
13
13
|
@fence_mode = :fenced
|
data/lib/asciimath/parser.rb
CHANGED
data/lib/asciimath/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciimath
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pepijn Van Eeckhoudt
|
8
8
|
- Gark Garcia
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2025-03-11 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A pure Ruby AsciiMath parsing and conversion library.
|
15
15
|
email:
|
@@ -81,11 +81,15 @@ files:
|
|
81
81
|
- spec/schema/mathml3/mathml3-strict-content.xsd
|
82
82
|
- spec/schema/mathml3/mathml3.xsd
|
83
83
|
- style/math.css
|
84
|
-
homepage:
|
84
|
+
homepage: https://asciidoctor.org/
|
85
85
|
licenses:
|
86
86
|
- MIT
|
87
|
-
metadata:
|
88
|
-
|
87
|
+
metadata:
|
88
|
+
bug_tracker_uri: https://github.com/asciidoctor/asciimath/issues
|
89
|
+
changelog_uri: https://github.com/asciidoctor/asciimath/blob/HEAD/CHANGELOG.adoc
|
90
|
+
mailing_list_uri: https://chat.asciidoctor.org
|
91
|
+
source_code_uri: https://github.com/asciidoctor/asciimath
|
92
|
+
post_install_message:
|
89
93
|
rdoc_options: []
|
90
94
|
require_paths:
|
91
95
|
- lib
|
@@ -100,8 +104,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
104
|
- !ruby/object:Gem::Version
|
101
105
|
version: '0'
|
102
106
|
requirements: []
|
103
|
-
rubygems_version: 3.
|
104
|
-
signing_key:
|
107
|
+
rubygems_version: 3.2.22
|
108
|
+
signing_key:
|
105
109
|
specification_version: 4
|
106
110
|
summary: AsciiMath parser and converter
|
107
111
|
test_files:
|