asciimath 1.0.1 → 1.0.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/lib/asciimath/parser.rb +2 -1
- data/lib/asciimath/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 74ac3713271b5ebfc1878d30dc820458ad9e6cc1
|
|
4
|
+
data.tar.gz: 99b1031e60e3681265cb98d8a74f7470341787cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d315370a018cacd96a53a2abd8026d596b8dd4f0e7449ed9f5affa6e222b534c2ba2508e7de4df5235ab3a6291272f40c6529deac709e0a6ff6be70d68bd97e8
|
|
7
|
+
data.tar.gz: 6c652b60fe2a67c1fca6322d668488d9570c9b78114d54013f970d3d6a4d5a2ad10fa49506c1222031ab2c2c1bbd158ac481931aa5742d472d0e8ac4cc1155d1
|
data/lib/asciimath/parser.rb
CHANGED
|
@@ -66,6 +66,7 @@ module AsciiMath
|
|
|
66
66
|
@symbols = symbols
|
|
67
67
|
lookahead = @symbols.keys.map { |k| k.length }.max
|
|
68
68
|
@symbol_regexp = /([^\s0-9]{1,#{lookahead}})/
|
|
69
|
+
@push_back = nil
|
|
69
70
|
end
|
|
70
71
|
|
|
71
72
|
# Public: Read the next token from the ASCIIMath expression and move the tokenizer
|
|
@@ -526,4 +527,4 @@ module AsciiMath
|
|
|
526
527
|
def self.parse(asciimath)
|
|
527
528
|
Parser.new.parse(asciimath)
|
|
528
529
|
end
|
|
529
|
-
end
|
|
530
|
+
end
|
data/lib/asciimath/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: asciimath
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pepijn Van Eeckhoudt
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-12-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|