idata 0.1.16 → 0.1.17

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/ivalidate +1 -1
  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: b58ce5d824d21f4dc3115e124d9a5ac73b210f85
4
- data.tar.gz: c4d3bb5a9ac964d6ea0a7ebb29457c21cf69ee20
3
+ metadata.gz: 1629a0e3b0dabec67d99083c7888ec750673a1d5
4
+ data.tar.gz: 96e2dda95a4e45d84b9d9a54e5988c206a177931
5
5
  SHA512:
6
- metadata.gz: 416431e13a897b6e4ff51d0f1545740c4cdecf1164db4bc8e881785124623fe2b351a1088759929565737a7de420f22df38a38f725ea53333a7da33f2fa0ccd9
7
- data.tar.gz: 5dff223e292ccc6fd9aa45973f9c203665a0825e53fea7a509ee8132d244651c67faa190ed441d7fada427ca732cbf1d2c3673e939f16255c0eb67976d9ab4c8
6
+ metadata.gz: 65d72f817830ee6f5a910c957b854b22dd43514ecc2587f2c13ea8f95be94f77cad6f1e23a678bffbd0229f914b633fa1d0dfd6273e727dac8911ecf129e8d96
7
+ data.tar.gz: 80f391b085ce91a66ab61e8dfcae7159c69bf90eb8bc56f669af5e4177d829ebd92dd283ff900114ce4d06a749a35fc92c1905bd3bd344370c1b7fd0685857ed
data/bin/ivalidate CHANGED
@@ -261,7 +261,7 @@ $options[:cross_reference].each do |value|
261
261
  ref_sql = <<-eos
262
262
  UPDATE #{$options[:table]} SET #{$options[:log_to]} = array_to_string(string_to_array(#{$options[:log_to]}, ' || ') || string_to_array('#{field} does not reference #{values[1]}.#{values[2]}', ' || '), ' || ')
263
263
  WHERE #{field} IN (
264
- SELECT #{field} from #{$options[:table]} origin LEFT JOIN #{ref_table} target
264
+ SELECT origin.#{field} from #{$options[:table]} origin LEFT JOIN #{ref_table} target
265
265
  on origin.#{field} = target.#{ref_field}
266
266
  where target.#{ref_field} is null
267
267
  ) AND #{field} IS NOT NULL AND length(trim(#{field})) <> 0;
data/lib/idata/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Idata
2
- VERSION = "0.1.16"
2
+ VERSION = "0.1.17"
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: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nghi Pham