anystyle-cli 1.3.0 → 1.3.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/cli/commands/train.rb +1 -1
- data/lib/anystyle/cli/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: 25fa9822dfe3ab9862a84f5c31ae70df159643a3ecc40c4958ef0ed77b17da54
|
4
|
+
data.tar.gz: cf7587eec67a7372df802f4a7ee63e4ef1bc915070137c56d424cb2fcb1e813d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1a0b7ec3479c88d429fc1b58855473fefc0cdfac9171a72c2124e3fb2e75b3503caf9963d072c74da5a55673af69ca1db9cc751dcf1ece6ae58d997a5837700
|
7
|
+
data.tar.gz: c8c410d03fe9dc43a1667d77f0931fd96d4f004ab9a1d45b21bf4eacad68054f3a301ea0241a42a42affd77dda7fbef24f042e1d3a4e4dc702da4b261a306dd5
|
@@ -21,7 +21,7 @@ module AnyStyle
|
|
21
21
|
AnyStyle.parser.train path.to_s.untaint
|
22
22
|
AnyStyle.parser.model
|
23
23
|
when File.directory?(path)
|
24
|
-
AnyStyle.finder.train path.
|
24
|
+
AnyStyle.finder.train Dir[File.join(path, '*.ttx')].map(&:untaint)
|
25
25
|
AnyStyle.finder.model
|
26
26
|
else
|
27
27
|
raise ArgumentError, "cannot train input: #{path}"
|
data/lib/anystyle/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anystyle-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.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: 2020-
|
11
|
+
date: 2020-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: anystyle
|