idata 0.4.1 → 0.4.2

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/iload +5 -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: 4bd02de373c77ff2148e11be97b2c22ca598fe87
4
- data.tar.gz: 6b8a5f9d850a486298a0651c322f677e17d94d2e
3
+ metadata.gz: 74de0c5f853f908ec3d12fd348ef72f2f83ae4cb
4
+ data.tar.gz: 43555243995e3be9c862cef431f8c02adbb024e9
5
5
  SHA512:
6
- metadata.gz: d47bbde01c339508a35e31402a079cb697ed22af80bf3f4263e87d915631a0b3695c42dd4bd4f0a3e09082c4a934423409ccb9932978d86fcf170d6f993df25a
7
- data.tar.gz: b1baf194e70a0c6837b8afb91ed42eaf4eec26f14d1eb151a94d7f2a90d012104a186c47469513454c6efeec616dd12053839243aa466af674d545871f8b37b3
6
+ metadata.gz: a1b0c7e975b51e19346aebeab04a3a3b32f5d922a7109fb2e76b73eac720a70a7bd4701a9f060909e0bbcb8e94cbfaeb6dce2bde42f079bf8e62e701d4db8475
7
+ data.tar.gz: 5cab41e590b7567ea61abbb8a46c1cd28e678a68cf5676f9f5da6d4e5e7d72cac15908f7f89aabc30f55236d13200340c08fe16deaad1aa0173f97ee7158fe19
data/bin/iload CHANGED
@@ -357,7 +357,11 @@ class MyParser
357
357
 
358
358
  private
359
359
  def query(*query_str)
360
- Organization.connection.execute(query_str.join("; "))
360
+ if $options[:client]
361
+ Organization.connection.execute(query_str.join("; "))
362
+ else
363
+ ActiveRecord::Base.connection.execute(query_str.join("; "))
364
+ end
361
365
  end
362
366
  end
363
367
 
@@ -1,3 +1,3 @@
1
1
  module Idata
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
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.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nghi Pham