oddb2tdat 1.0.9 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/oddb2tdat.rb +3 -3
- metadata +5 -5
data/History.txt
CHANGED
data/lib/oddb2tdat.rb
CHANGED
@@ -25,7 +25,7 @@ require 'date'
|
|
25
25
|
=end
|
26
26
|
|
27
27
|
class Oddb2tdat
|
28
|
-
VERSION = '1.0
|
28
|
+
VERSION = '1.1.0'
|
29
29
|
COL = {
|
30
30
|
:ODDB => {
|
31
31
|
:CMUT => 30, # AE
|
@@ -151,8 +151,8 @@ class Oddb2tdat
|
|
151
151
|
end
|
152
152
|
row << "%#{LEN[:CLAG]}s" % 0
|
153
153
|
row << "%#{LEN[:CBGG]}s" % (cols[COL[:ODDB][:CBGG]] =~ /Ja/ ? 1:0)
|
154
|
-
row << "%#{LEN[:CIKS]}s" % if ciks = cols[COL[:ODDB][:CIKS]] and ciks != '""'
|
155
|
-
ciks
|
154
|
+
row << "%#{LEN[:CIKS]}s" % if ciks = cols[COL[:ODDB][:CIKS]] and (ciks != '""' and ciks != '')
|
155
|
+
ciks.gsub(/(\+|\s)/, '')
|
156
156
|
else
|
157
157
|
0
|
158
158
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oddb2tdat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-03-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|
16
|
-
requirement: &
|
16
|
+
requirement: &10947080 !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: *10947080
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: hoe
|
27
|
-
requirement: &
|
27
|
+
requirement: &10946620 !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: *10946620
|
36
36
|
description: ! '* oddb2tdat converts oddb.csv to oddb.dat
|
37
37
|
|
38
38
|
* http://dev.ywesee.com/wiki.php/ODDB/Oddb2tdat'
|