idata 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/iload +3 -2
- data/lib/idata/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: ddd005af267d88b361fe2360d4dd4485fc1a15be
|
4
|
+
data.tar.gz: a21739b526bed44a687aedafd7bd1b0d4a5f17c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 695f45edf7a7e614a944c652b113aeab62de984ff088aaa8ce4e0005fd8b0f4bc373f44b80e151c047fab33cd4b091b0ab27d29c75c78544a4ef6bfe6bcc97be
|
7
|
+
data.tar.gz: 693b255f4cabca11b3b484f19e667df29c12ac7c2a18a88292df28adc98b7c65572673330056067279909382a217364c99e1e7b71919f2df3a4c38350802b4f4
|
data/bin/iload
CHANGED
@@ -382,9 +382,10 @@ class MyParser
|
|
382
382
|
# Execute
|
383
383
|
`#{insert_data_sql} > /dev/null`
|
384
384
|
|
385
|
+
# Clean up
|
386
|
+
File.delete(csv_path) if File.exists?(csv_path)
|
387
|
+
|
385
388
|
if $?.exitstatus == 0
|
386
|
-
# Clean up
|
387
|
-
File.delete(csv_path) if File.exists?(csv_path)
|
388
389
|
puts "Table `#{$options[:table]}` loaded\n"
|
389
390
|
else
|
390
391
|
puts "Something went wrong!"
|
data/lib/idata/version.rb
CHANGED