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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7d5642b2c453c00a91748d6e447504c825b0097095cda159d92f2c6d82a11c5
4
- data.tar.gz: c29fa4ee58a017404b205418bcf1d45f7111d3005e881f5d869d73572d0cd5e6
3
+ metadata.gz: fe02cd03a8c3aeb0d22eff351153c44215db1430e432075de48784666640472a
4
+ data.tar.gz: f463c7817ce3d5eafb0c15bce18704dc097b12ddccff152caa26e57e20e82c78
5
5
  SHA512:
6
- metadata.gz: 44f8226f33b22aa53b743ce56db3203a1c1bb3e4dd749ca746a0c46563656f36a4da585eebb32f0b8062701f6719e5c0aed9ee5f9fa533a1f49aacdef2d79504
7
- data.tar.gz: dcaf21ed636bc50a7fa982e220942b0d752f13714e1a8cda038d1d7b324b7da9c78569903460c10454c5740d191e1abc19254c24222cd2a411880c78fe3933ea
6
+ metadata.gz: 6b3a05d98dce47bbe89359702f48585251dc34eff829d1c836892dbe2e3b6cc006254d1974efeb106ad38e50a24be67529e435af7ef89466b5468ec8699646e6
7
+ data.tar.gz: e6621f6e646c23e671bf57c3d38501dc087757e34c3c7a51117bdbe074cb8125b17da1b8cac6cda95477951d3bf070f3253f3123a2e08f12dec228097cd2b7c8
@@ -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
@@ -1,3 +1,3 @@
1
1
  module AnyStyle
2
- VERSION = '1.4.0'.freeze
2
+ VERSION = '1.4.1'.freeze
3
3
  end
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.0
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-01-06 00:00:00.000000000 Z
11
+ date: 2023-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bibtex-ruby