oddb2tdat 1.0.6 → 1.0.7
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 +2 -2
- metadata +5 -5
data/History.txt
CHANGED
data/lib/oddb2tdat.rb
CHANGED
@@ -23,7 +23,7 @@ require 'date'
|
|
23
23
|
=end
|
24
24
|
|
25
25
|
class Oddb2tdat
|
26
|
-
VERSION = '1.0.
|
26
|
+
VERSION = '1.0.7'
|
27
27
|
COL = {
|
28
28
|
:CMUT => 30, # AE
|
29
29
|
:PHAR => 6, # G
|
@@ -119,7 +119,7 @@ class Oddb2tdat
|
|
119
119
|
'3'
|
120
120
|
end
|
121
121
|
row << "%0#{LEN[:PHAR]}d" % cols[COL[:PHAR]].to_i
|
122
|
-
row << "%-#{LEN[:ABEZ]}s" % (cols[COL[:ABEZ]].to_s + " " + cols[COL[:PACK]]).to_s[0,LEN[:ABEZ]]
|
122
|
+
row << "%-#{LEN[:ABEZ]}s" % (cols[COL[:ABEZ]].to_s.gsub(/"/,'') + " " + cols[COL[:PACK]]).to_s[0,LEN[:ABEZ]].gsub(/"/,'')
|
123
123
|
row << "%#{LEN[:PRMO]}s" % format_price(cols[COL[:PRMO]])
|
124
124
|
row << "%#{LEN[:PRPU]}s" % format_price(cols[COL[:PRPU]])
|
125
125
|
row << "%#{LEN[:CKZL]}s" % if cols[COL[:CKZL1]] =~ /Ja/
|
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.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-15 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|
16
|
-
requirement: &
|
16
|
+
requirement: &14016100 !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: *14016100
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: hoe
|
27
|
-
requirement: &
|
27
|
+
requirement: &14014160 !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: *14014160
|
36
36
|
description: ! '* oddb2tdat converts oddb.csv to oddb.dat
|
37
37
|
|
38
38
|
* http://dev.ywesee.com/wiki.php/ODDB/Oddb2tdat'
|