oddb2tdat 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/History.txt +4 -0
  2. data/lib/oddb2tdat.rb +2 -2
  3. metadata +5 -5
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.0.7 / 15.02.2012
2
+
3
+ * Removed double quataion mark from output file (Ringer Bichsel)
4
+
1
5
  === 1.0.6 / 15.02.2012
2
6
 
3
7
  * RECA becomes always 11, added CMWS with 2 at the end of line, and output
data/lib/oddb2tdat.rb CHANGED
@@ -23,7 +23,7 @@ require 'date'
23
23
  =end
24
24
 
25
25
  class Oddb2tdat
26
- VERSION = '1.0.6'
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.6
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: &20470800 !ruby/object:Gem::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: *20470800
24
+ version_requirements: *14016100
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: hoe
27
- requirement: &20468840 !ruby/object:Gem::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: *20468840
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'