paru 1.2.0 → 1.2.1
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.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: 82a73c1942e0f0a18e4bbceea170fb4477c6ba2d4e11a5fe93cca710ef3f0bf8
|
4
|
+
data.tar.gz: 03b6e0a14d71a164ca1ab39e438267626345eb53a32e957236bfedbb182fd229
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 905d86d30bed93a3f6abeb2785d15b0d52064ddd33d87ae4e1154560f955ad5d971e3711c0e724142c09b06af2a424dc109533714be4de45282577c1d53a40a4
|
7
|
+
data.tar.gz: 529080f283e07984ec323f37ec2d6c6e256b40ba5b6675507b7d5406f12462e0a906b105108fe311b40d8ec1467b632d17dca6d350d937773d9c5850e008b052
|
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, 2,
|
21
|
+
VERSION = [1, 2, 1].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.2.
|
4
|
+
version: 1.2.1
|
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-02 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.
|
121
|
+
rubygems_version: 3.5.11
|
122
122
|
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: Paru is a ruby wrapper around pandoc
|