xls2odat 1.1.5 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,9 @@
1
1
  Guide.txt
2
2
  History.txt
3
- InstalledFiles
4
3
  LICENSE
5
4
  Manifest.txt
6
5
  README.txt
7
6
  Rakefile
8
- SetupConfig
9
7
  bin/xls2odat
10
8
  lib/xls2odat.rb
11
9
  setup.rb
@@ -14,11 +12,3 @@ test/data/conf_noinformation.xls
14
12
  test/data/conf_wrongformat.xls
15
13
  test/data/data.xls
16
14
  test/test_xls2odat.rb
17
- xls2odat/.autotest
18
- xls2odat/History.txt
19
- xls2odat/Manifest.txt
20
- xls2odat/README.txt
21
- xls2odat/Rakefile
22
- xls2odat/bin/xls2odat
23
- xls2odat/lib/xls2odat.rb
24
- xls2odat/test/test_xls2odat.rb
data/README.txt CHANGED
@@ -35,9 +35,15 @@ See test directory for tests. Run
35
35
 
36
36
  for testing.
37
37
 
38
+ For Windows Users, use this oneclick installer to install Ruby.
39
+
40
+ * http://rubyforge.org/frs/download.php/71066/rubyinstaller-1.8.6-p398.exe
41
+
42
+ then install 'gem' and then install 'spreadsheet' and 'xls2odat'.
43
+
38
44
  == USAGE:
39
45
 
40
- * xls2odat <config file (.xls)> <data files (.xls)>...
46
+ * xls2odat config_file.xls data_file1.xls data_file2.xls
41
47
 
42
48
  == LICENSE:
43
49
 
@@ -17,8 +17,7 @@ require 'spreadsheet'
17
17
  #License:: GPLv2.0 Compliance
18
18
  #Source:: http://scm.ywesee.com/?p=xls2odat/.git;a=summary
19
19
  class Xls2odat
20
- VERSION = '1.1.5'
21
- VERSION = File.readlines(__FILE__).grep(/Version/)[0].match(/Version::\s+([0-9.]+)/)[1]
20
+ VERSION = '1.1.7'
22
21
  COLUMNS = [ :filenr, :seqnr, :field_name, :T, :L, :description, :bemerkung ]
23
22
  FIELDS = [0.0, 0.0, "Field name", "T", "L", "Description", "Bemerkung"]
24
23
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xls2odat
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 5
10
- version: 1.1.5
9
+ - 7
10
+ version: 1.1.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Masaomi Hatakeyama, Zeno R.R. Davatz
@@ -51,18 +51,13 @@ extra_rdoc_files:
51
51
  - History.txt
52
52
  - Manifest.txt
53
53
  - README.txt
54
- - xls2odat/History.txt
55
- - xls2odat/Manifest.txt
56
- - xls2odat/README.txt
57
54
  files:
58
55
  - Guide.txt
59
56
  - History.txt
60
- - InstalledFiles
61
57
  - LICENSE
62
58
  - Manifest.txt
63
59
  - README.txt
64
60
  - Rakefile
65
- - SetupConfig
66
61
  - bin/xls2odat
67
62
  - lib/xls2odat.rb
68
63
  - setup.rb
@@ -71,14 +66,6 @@ files:
71
66
  - test/data/conf_wrongformat.xls
72
67
  - test/data/data.xls
73
68
  - test/test_xls2odat.rb
74
- - xls2odat/.autotest
75
- - xls2odat/History.txt
76
- - xls2odat/Manifest.txt
77
- - xls2odat/README.txt
78
- - xls2odat/Rakefile
79
- - xls2odat/bin/xls2odat
80
- - xls2odat/lib/xls2odat.rb
81
- - xls2odat/test/test_xls2odat.rb
82
69
  has_rdoc: true
83
70
  homepage: http://scm.ywesee.com/?p=xls2odat/.git;a=summary
84
71
  licenses: []
@@ -1,2 +0,0 @@
1
- /usr/bin/xls2odat
2
- /usr/lib/ruby/site_ruby/1.8/xls2odat.rb
@@ -1,30 +0,0 @@
1
- ---
2
- install_prefix:
3
- localstatedir: /var/lib
4
- prefix: /usr
5
- rubyprog: /usr/bin/ruby18
6
- rubypath: /usr/bin/ruby18
7
- siterubyverarch: /usr/lib/ruby/site_ruby/1.8/i686-linux
8
- no_ext: false
9
- no_ri: true
10
- extconfopt: ""
11
- type: site
12
- no_doc: false
13
- librubyverarch: /usr/lib/ruby/1.8/i686-linux
14
- installdirs: site
15
- no_test: true
16
- siteruby: /usr/lib/ruby/site_ruby
17
- root:
18
- siterubyver: /usr/lib/ruby/site_ruby/1.8
19
- sysconfdir: /etc
20
- rbdir: /usr/lib/ruby/site_ruby/1.8
21
- datadir: /usr/share
22
- shebang: ruby
23
- makeprog: make
24
- librubyver: /usr/lib/ruby/1.8
25
- mandir: /usr/share/man
26
- libdir: /usr/lib
27
- libruby: /usr/lib/ruby
28
- sodir: /usr/lib/ruby/site_ruby/1.8/i686-linux
29
- docdir: /usr/share/doc
30
- bindir: /usr/bin
@@ -1,23 +0,0 @@
1
- # -*- ruby -*-
2
-
3
- require 'autotest/restart'
4
-
5
- # Autotest.add_hook :initialize do |at|
6
- # at.extra_files << "../some/external/dependency.rb"
7
- #
8
- # at.libs << ":../some/external"
9
- #
10
- # at.add_exception 'vendor'
11
- #
12
- # at.add_mapping(/dependency.rb/) do |f, _|
13
- # at.files_matching(/test_.*rb$/)
14
- # end
15
- #
16
- # %w(TestA TestB).each do |klass|
17
- # at.extra_class_map[klass] = "test/test_misc.rb"
18
- # end
19
- # end
20
-
21
- # Autotest.add_hook :run_command do |at|
22
- # system "rake build"
23
- # end
@@ -1,6 +0,0 @@
1
- === 1.0.0 / 2010-12-16
2
-
3
- * 1 major enhancement
4
-
5
- * Birthday!
6
-
@@ -1,8 +0,0 @@
1
- .autotest
2
- History.txt
3
- Manifest.txt
4
- README.txt
5
- Rakefile
6
- bin/xls2odat
7
- lib/xls2odat.rb
8
- test/test_xls2odat.rb
@@ -1,57 +0,0 @@
1
- = xls2odat
2
-
3
- * FIX (url)
4
-
5
- == DESCRIPTION:
6
-
7
- FIX (describe your package)
8
-
9
- == FEATURES/PROBLEMS:
10
-
11
- * FIX (list of features or problems)
12
-
13
- == SYNOPSIS:
14
-
15
- FIX (code sample of usage)
16
-
17
- == REQUIREMENTS:
18
-
19
- * FIX (list of requirements)
20
-
21
- == INSTALL:
22
-
23
- * FIX (sudo gem install, anything else)
24
-
25
- == DEVELOPERS:
26
-
27
- After checking out the source, run:
28
-
29
- $ rake newb
30
-
31
- This task will install any missing dependencies, run the tests/specs,
32
- and generate the RDoc.
33
-
34
- == LICENSE:
35
-
36
- (The MIT License)
37
-
38
- Copyright (c) 2010 FIX
39
-
40
- Permission is hereby granted, free of charge, to any person obtaining
41
- a copy of this software and associated documentation files (the
42
- 'Software'), to deal in the Software without restriction, including
43
- without limitation the rights to use, copy, modify, merge, publish,
44
- distribute, sublicense, and/or sell copies of the Software, and to
45
- permit persons to whom the Software is furnished to do so, subject to
46
- the following conditions:
47
-
48
- The above copyright notice and this permission notice shall be
49
- included in all copies or substantial portions of the Software.
50
-
51
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
52
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
53
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
54
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
55
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
56
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
57
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,28 +0,0 @@
1
- # -*- ruby -*-
2
-
3
- require 'rubygems'
4
- require 'hoe'
5
-
6
- # Hoe.plugin :compiler
7
- # Hoe.plugin :cucumberfeatures
8
- # Hoe.plugin :gem_prelude_sucks
9
- # Hoe.plugin :inline
10
- # Hoe.plugin :inline
11
- # Hoe.plugin :manifest
12
- # Hoe.plugin :newgem
13
- # Hoe.plugin :racc
14
- # Hoe.plugin :rubyforge
15
- # Hoe.plugin :rubyforge
16
- # Hoe.plugin :website
17
-
18
- Hoe.spec 'xls2odat' do
19
- # HEY! If you fill these out in ~/.hoe_template/Rakefile.erb then
20
- # you'll never have to touch them again!
21
- # (delete this comment too, of course)
22
-
23
- developer('Zeno R.R. Davatz', 'zdavatz@ywesee.com')
24
-
25
- # self.rubyforge_name = 'xls2odatx' # if different than 'xls2odat'
26
- end
27
-
28
- # vim: syntax=ruby
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- abort "you need to write me"
@@ -1,3 +0,0 @@
1
- class Xls2odat
2
- VERSION = '1.0.0'
3
- end
@@ -1,8 +0,0 @@
1
- require "test/unit"
2
- require "xls2odat"
3
-
4
- class TestXls2odat < Test::Unit::TestCase
5
- def test_sanity
6
- flunk "write tests or I will kneecap you"
7
- end
8
- end