oddb2tdat 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/bin/oddb2tdat +5 -0
- data/lib/oddb2tdat.rb +3 -3
- metadata +64 -40
data/History.txt
CHANGED
data/bin/oddb2tdat
CHANGED
data/lib/oddb2tdat.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
2
|
# encoding: utf-8
|
3
|
-
# Oddb2tdat --
|
3
|
+
# Oddb2tdat -- 23.04.2012 -- yasaka@ywesee.com
|
4
4
|
# Oddb2tdat -- 15.02.2012 -- mhatakeyama@ywesee.com
|
5
5
|
|
6
6
|
require 'date'
|
@@ -25,7 +25,7 @@ require 'date'
|
|
25
25
|
=end
|
26
26
|
|
27
27
|
class Oddb2tdat
|
28
|
-
VERSION = '1.1.
|
28
|
+
VERSION = '1.1.1'
|
29
29
|
COL = {
|
30
30
|
:ODDB => {
|
31
31
|
:CMUT => 30, # AE
|
@@ -184,7 +184,7 @@ class Oddb2tdat
|
|
184
184
|
row << "%#{LEN[:CKZL]}s" % 3
|
185
185
|
row << "%#{LEN[:CLAG]}s" % 0
|
186
186
|
row << "%#{LEN[:CBGG]}s" % 0
|
187
|
-
row << "%#{LEN[:CIKS]}s" %
|
187
|
+
row << "%#{LEN[:CIKS]}s" % ' ' # no category
|
188
188
|
row << "%0#{LEN[:ITHE]}d" % 0
|
189
189
|
row << "%0#{LEN[:CEAN]}d" % if (ean = cols[COL[:MIGEL][:CEAN]] and !ean.empty?)
|
190
190
|
ean.to_i
|
metadata
CHANGED
@@ -1,51 +1,66 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: oddb2tdat
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 1
|
9
|
+
- 1
|
10
|
+
version: 1.1.1
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Masaomi Hatakeyama, Zeno R.R. Davatz
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-04-23 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: rdoc
|
16
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
25
|
+
requirements:
|
19
26
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 19
|
29
|
+
segments:
|
30
|
+
- 3
|
31
|
+
- 10
|
32
|
+
version: "3.10"
|
22
33
|
type: :development
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
26
36
|
name: hoe
|
27
|
-
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
39
|
none: false
|
29
|
-
requirements:
|
40
|
+
requirements:
|
30
41
|
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 25
|
44
|
+
segments:
|
45
|
+
- 2
|
46
|
+
- 13
|
47
|
+
version: "2.13"
|
33
48
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
email:
|
49
|
+
version_requirements: *id002
|
50
|
+
description: |-
|
51
|
+
* oddb2tdat converts oddb.csv to oddb.dat
|
52
|
+
* http://dev.ywesee.com/wiki.php/ODDB/Oddb2tdat
|
53
|
+
email:
|
40
54
|
- mhatakeyama@ywesee.com, zdavatz@ywesee.com
|
41
|
-
executables:
|
55
|
+
executables:
|
42
56
|
- oddb2tdat
|
43
57
|
extensions: []
|
44
|
-
|
58
|
+
|
59
|
+
extra_rdoc_files:
|
45
60
|
- History.txt
|
46
61
|
- Manifest.txt
|
47
62
|
- README.txt
|
48
|
-
files:
|
63
|
+
files:
|
49
64
|
- History.txt
|
50
65
|
- Manifest.txt
|
51
66
|
- README.txt
|
@@ -54,28 +69,37 @@ files:
|
|
54
69
|
- lib/oddb2tdat.rb
|
55
70
|
homepage: http://scm.ywesee.com/?p=oddb2tdat/.git;a=summary
|
56
71
|
licenses: []
|
72
|
+
|
57
73
|
post_install_message:
|
58
|
-
rdoc_options:
|
74
|
+
rdoc_options:
|
59
75
|
- --main
|
60
76
|
- README.txt
|
61
|
-
require_paths:
|
77
|
+
require_paths:
|
62
78
|
- lib
|
63
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
79
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
64
80
|
none: false
|
65
|
-
requirements:
|
66
|
-
- -
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
|
69
|
-
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
hash: 3
|
85
|
+
segments:
|
86
|
+
- 0
|
87
|
+
version: "0"
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
89
|
none: false
|
71
|
-
requirements:
|
72
|
-
- -
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
hash: 3
|
94
|
+
segments:
|
95
|
+
- 0
|
96
|
+
version: "0"
|
75
97
|
requirements: []
|
98
|
+
|
76
99
|
rubyforge_project: oddb2tdat
|
77
100
|
rubygems_version: 1.8.15
|
78
101
|
signing_key:
|
79
102
|
specification_version: 3
|
80
|
-
summary:
|
103
|
+
summary: "* oddb2tdat converts oddb.csv to oddb.dat * http://dev.ywesee.com/wiki.php/ODDB/Oddb2tdat"
|
81
104
|
test_files: []
|
105
|
+
|