csv-import-analyzer 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/CsvImportAnalyzer +5 -3
- data/lib/csv-import-analyzer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e72c155e34ea88e37a7f498eb178e6102abeb233
|
|
4
|
+
data.tar.gz: e3a8a2911d8558c9d10ec1219115d50ac0cb1f10
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fad9c7a67c566f097de61944a81d3c6a48ea557d5df4c7e4d1d07f3b0f342b45550bc656f7ab6811423f249e369373bdfaf7b395f915a3798dc7151c573a3474
|
|
7
|
+
data.tar.gz: e770e7465b7bf31cd2df45b1382f9644b4d0d031cdf5f01726737db18c9aef4f9a371c5148e5511942ea31e1328191860f4aacd2d398f5de1f142ee36b93bb79
|
data/bin/CsvImportAnalyzer
CHANGED
|
@@ -32,13 +32,15 @@ parser = OptionParser.new do |opts|
|
|
|
32
32
|
# options[:skip] = skip
|
|
33
33
|
# end
|
|
34
34
|
opts.on('-d', '--database type', 'MySQL or Postgres, Options: M or P, default: nil(print nothing)') do |database_type|
|
|
35
|
-
|
|
35
|
+
if database_type.nil?
|
|
36
|
+
options[:database] = nil
|
|
37
|
+
end
|
|
36
38
|
end
|
|
37
39
|
opts.on('-q', '--quotes conversion', 'Convert single quotes to double quotes, options: true or false, default: true') do |quote_convert|
|
|
38
|
-
options[:quote_convert] = quote_convert
|
|
40
|
+
options[:quote_convert] = quote_convert
|
|
39
41
|
end
|
|
40
42
|
opts.on('-r', '--replace nulls', 'replace empty, Null\'s, \N, NAN with NULL, options: true or false, default: true') do |replace_nulls|
|
|
41
|
-
options[:replace_nulls] = replace_nulls
|
|
43
|
+
options[:replace_nulls] = replace_nulls
|
|
42
44
|
end
|
|
43
45
|
opts.on('-h', '--help', 'Displays Help') do
|
|
44
46
|
puts opts
|