patinfo2csv 1.1.0 → 1.1.1
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.
- data/History.txt +4 -0
- data/lib/patinfo2csv/cli.rb +5 -1
- data/lib/version.rb +1 -1
- metadata +6 -6
data/History.txt
CHANGED
data/lib/patinfo2csv/cli.rb
CHANGED
@@ -41,7 +41,11 @@ module Patinfo2csv
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
def report(rows, nomatches, lang)
|
44
|
-
|
44
|
+
count = 0
|
45
|
+
if rows
|
46
|
+
count = rows.length - 1
|
47
|
+
end
|
48
|
+
puts "patinfo[#{lang}] converted: #{count.to_s} rows"
|
45
49
|
unless nomatches.empty?
|
46
50
|
puts "-----"
|
47
51
|
puts "There is no chapters of Patinfo of the following " \
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: patinfo2csv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-06-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|
16
|
-
requirement: &
|
16
|
+
requirement: &16553220 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3.10'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *16553220
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: hoe
|
27
|
-
requirement: &
|
27
|
+
requirement: &16552760 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '2.13'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *16552760
|
36
36
|
description: ! 'Patinfo2csv extracts and converts patinfo.yaml to patinfo.csv;
|
37
37
|
|
38
38
|
only 4 chapters(de, text) in patinfo.yaml are extracted.
|