paru 1.2.0 → 1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/paru/filter/math.rb +2 -2
- data/lib/paru/pandoc_options.yaml +1 -0
- data/lib/paru.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45f1aafc0b92b9fd6c764eb7a6a46eddc1eb7a77ff72b37b7e10db8cd75bcaae
|
4
|
+
data.tar.gz: d1961528b1ef96af687102cf6c9d8d2d3d0b1c99406339c3ebc731a6d2ce3421
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92f964f70ca00631b29a0ca17998154b9153b959bb691011585501312c85341b9726ce67670c24d0630f6fbb9ae5781a0215b10b497db8797ed4e2c7c0438163
|
7
|
+
data.tar.gz: 90b0cf1a6e5ffcb79e157131133d30464e6d0898de9034b051606839946d97a0dbfd1a34ed1a15f954f474b968a8b442925bfb6dd2469653b276109b5eb5abac
|
data/lib/paru/filter/math.rb
CHANGED
@@ -44,7 +44,7 @@ module Paru
|
|
44
44
|
# @return [Boolean] true if math type is "InlineMath", false
|
45
45
|
# otherwise
|
46
46
|
def inline?()
|
47
|
-
"InlineMath" == @math_type[t]
|
47
|
+
"InlineMath" == @math_type["t"]
|
48
48
|
end
|
49
49
|
|
50
50
|
# Convert this Math node's content to Inline
|
@@ -58,7 +58,7 @@ module Paru
|
|
58
58
|
#
|
59
59
|
# @return [Boolean] true if type is "DisplayMath"
|
60
60
|
def display?()
|
61
|
-
"DisplayMath" == @math_type[t]
|
61
|
+
"DisplayMath" == @math_type["t"]
|
62
62
|
end
|
63
63
|
|
64
64
|
# Make this Math node's content display as a block
|
data/lib/paru.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright 2015--
|
2
|
+
# Copyright 2015--2024 Huub de Beer <Huub@heerdebeer.org>
|
3
3
|
#
|
4
4
|
# This file is part of Paru
|
5
5
|
#
|
@@ -18,5 +18,5 @@
|
|
18
18
|
#++
|
19
19
|
module Paru
|
20
20
|
# Paru's current version
|
21
|
-
VERSION = [1,
|
21
|
+
VERSION = [1, 3].freeze
|
22
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paru
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: '1.3'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Huub de Beer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Control pandoc with Ruby and write pandoc filters in Ruby
|
14
14
|
email: Huub@heerdebeer.org
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
|
-
rubygems_version: 3.4.
|
121
|
+
rubygems_version: 3.4.19
|
122
122
|
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: Paru is a ruby wrapper around pandoc
|