anystyle 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/anystyle/document.rb +1 -1
- data/lib/anystyle/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe02cd03a8c3aeb0d22eff351153c44215db1430e432075de48784666640472a
|
4
|
+
data.tar.gz: f463c7817ce3d5eafb0c15bce18704dc097b12ddccff152caa26e57e20e82c78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b3a05d98dce47bbe89359702f48585251dc34eff829d1c836892dbe2e3b6cc006254d1974efeb106ad38e50a24be67529e435af7ef89466b5468ec8699646e6
|
7
|
+
data.tar.gz: e6621f6e646c23e671bf57c3d38501dc087757e34c3c7a51117bdbe074cb8125b17da1b8cac6cda95477951d3bf070f3253f3123a2e08f12dec228097cd2b7c8
|
data/lib/anystyle/document.rb
CHANGED
@@ -10,7 +10,7 @@ module AnyStyle
|
|
10
10
|
current_label = ''
|
11
11
|
new(string.split(delimiter).map { |line|
|
12
12
|
if tagged
|
13
|
-
label, line = line.split(/\s*\| /, 2)
|
13
|
+
label, line = line.split(/\s*\|( |$)/, 2)
|
14
14
|
current_label = label unless label.empty?
|
15
15
|
end
|
16
16
|
Wapiti::Token.new line, label: current_label.to_s
|
data/lib/anystyle/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anystyle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvester Keil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bibtex-ruby
|