flattendb 0.0.3.240 → 0.0.3.242

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/flattendb +2 -2
  2. data/bin/flattendb.mdb +3 -2
  3. metadata +4 -4
data/bin/flattendb CHANGED
@@ -116,8 +116,8 @@ OptionParser.new { |opts|
116
116
 
117
117
  opts.separator ''
118
118
 
119
- opts.on('-i', '--input-files FILES...', "Input file(s); depending on the database type, multiple files may be given [REQUIRED]") { |f|
120
- $global_options[:infiles] = f
119
+ opts.on('-i', '--input-file FILE', "Input file; depending on the database type, this option", "may be given multiple times [REQUIRED]") { |f|
120
+ $global_options[:infiles] << f
121
121
  }
122
122
 
123
123
  opts.on('-o', '--output-file FILE', "Output file (flat XML) [REQUIRED]") { |f|
data/bin/flattendb.mdb CHANGED
@@ -37,8 +37,9 @@ else
37
37
  case $options[:intype]
38
38
  when :xml
39
39
  $infiles.each { |infile|
40
- abort "Input file doesn't seem to be a valid XML file, XML declaration missing: #{infile}" \
41
- unless IO.read(infile, 6) == '<?xml '
40
+ unless IO.read(infile, 6) == '<?xml '
41
+ abort "Input file doesn't seem to be a valid XML file, XML declaration missing: #{infile}"
42
+ end
42
43
  }
43
44
  when :mdb
44
45
  tables_cmd = 'mdb-tables'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flattendb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.240
4
+ version: 0.0.3.242
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Wille
@@ -82,13 +82,13 @@ has_rdoc: true
82
82
  homepage: http://prometheus.rubyforge.org/flattendb
83
83
  post_install_message:
84
84
  rdoc_options:
85
- - --line-numbers
86
85
  - --all
86
+ - --line-numbers
87
+ - --main
88
+ - README
87
89
  - --inline-source
88
90
  - --title
89
91
  - flattendb Application documentation
90
- - --main
91
- - README
92
92
  - --charset
93
93
  - UTF-8
94
94
  require_paths: