idata 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/iload +3 -2
  3. data/lib/idata/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dbb01c16acb10e8f6adde04d527728e86647230b
4
- data.tar.gz: 9c2e6d7ae74cf5206ca07c63875c0fd9f77287d6
3
+ metadata.gz: ddd005af267d88b361fe2360d4dd4485fc1a15be
4
+ data.tar.gz: a21739b526bed44a687aedafd7bd1b0d4a5f17c7
5
5
  SHA512:
6
- metadata.gz: bcd6ceea7bd67f920e0e80840d825352ebd41a1a7cfbf86396ea5994da7d80ae93a96e890741b25f078c5cb1fc705284b92152969fad1dfc5c84f6b5a523f69f
7
- data.tar.gz: 05a04bf26e2057a577e2d6d5063ece3453f370c818823bc5443e310e05cd57c4b2b618b7f93d13a8cf8644e44eb179e73a2b9d3922fd9a4b447837fb8182b9ea
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
@@ -1,3 +1,3 @@
1
1
  module Idata
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idata
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nghi Pham