anystyle 1.3.9 → 1.3.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -1
- data/lib/anystyle/dictionary/marshal.rb +3 -1
- data/lib/anystyle/feature/position.rb +1 -1
- data/lib/anystyle/parser.rb +4 -4
- data/lib/anystyle/version.rb +1 -1
- 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: 343cf64d257daef49fc22589107aa0840861c5b97598578e493eef3b13fbbe7f
|
4
|
+
data.tar.gz: 479618ea4b41d8e63e54a6978cb1287e86b47933e749883437a11d779306591b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fec1d2fb9ec504aadc7900fb717b1b90e9e23519a241e1c47c187ca963fb69a9b57f054ec1ab73d6f5b43d89a4816d66a3b39302a105e2d51b069914aede1646
|
7
|
+
data.tar.gz: e2b9733a74bdd8a09543ab9e847b996571d724e4f0ac8e983faf651c711e3c13e7b9fa8b50684a6afa5af626f29d55820db9f868322bc44166c36806cddeb2e7
|
data/README.md
CHANGED
@@ -151,10 +151,20 @@ You can check out a copy of the latest code using Git:
|
|
151
151
|
$ git clone https://github.com/inukshuk/anystyle.git
|
152
152
|
|
153
153
|
If you've found a bug or have a question, please open an issue on the
|
154
|
-
[AnyStyle issue tracker](
|
154
|
+
[AnyStyle issue tracker](https://github.com/inukshuk/anystyle/issues).
|
155
155
|
Or, for extra credit, clone the AnyStyle repository, write a failing
|
156
156
|
example, fix the bug and submit a pull request.
|
157
157
|
|
158
|
+
Credits
|
159
|
+
-------
|
160
|
+
AnyStyle is a volunteer effort and we encourage you
|
161
|
+
to join us! Over the years our main contributors have been:
|
162
|
+
|
163
|
+
* [Alex Fenton](https://github.com/a-fent)
|
164
|
+
* [Sylvester Keil](https://github.com/inukshuk)
|
165
|
+
* [Johannes Krtek](https://github.com/flachware)
|
166
|
+
* [Ilja Srna](https://github.com/namyra)
|
167
|
+
|
158
168
|
License
|
159
169
|
-------
|
160
170
|
Copyright 2011-2020 Sylvester Keil. All rights reserved.
|
data/lib/anystyle/parser.rb
CHANGED
@@ -87,12 +87,12 @@ module AnyStyle
|
|
87
87
|
expand Wapiti::Dataset.new([input])
|
88
88
|
when String
|
89
89
|
if !input.tainted? && input.length < 1024 && File.exists?(input)
|
90
|
-
expand Wapiti::Dataset.open(input, opts)
|
90
|
+
expand Wapiti::Dataset.open(input, **opts)
|
91
91
|
else
|
92
|
-
expand Wapiti::Dataset.parse(input, opts)
|
92
|
+
expand Wapiti::Dataset.parse(input, **opts)
|
93
93
|
end
|
94
94
|
else
|
95
|
-
expand Wapiti::Dataset.parse(input, opts)
|
95
|
+
expand Wapiti::Dataset.parse(input, **opts)
|
96
96
|
end
|
97
97
|
end
|
98
98
|
end
|
@@ -207,7 +207,7 @@ module AnyStyle
|
|
207
207
|
opts[:separator] ||= options[:separator]
|
208
208
|
opts[:delimiter] ||= options[:delimiter]
|
209
209
|
input = input.join("\n") if input.is_a?(Array) && input[0].is_a?(String)
|
210
|
-
super(input, opts)
|
210
|
+
super(input, **opts)
|
211
211
|
end
|
212
212
|
end
|
213
213
|
end
|
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.3.
|
4
|
+
version: 1.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvester Keil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bibtex-ruby
|
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
- !ruby/object:Gem::Version
|
189
189
|
version: '0'
|
190
190
|
requirements: []
|
191
|
-
rubygems_version: 3.
|
191
|
+
rubygems_version: 3.1.2
|
192
192
|
signing_key:
|
193
193
|
specification_version: 4
|
194
194
|
summary: Smart and fast bibliography parser.
|