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.
- checksums.yaml +4 -4
- data/bin/iload +5 -1
- 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: 74de0c5f853f908ec3d12fd348ef72f2f83ae4cb
|
|
4
|
+
data.tar.gz: 43555243995e3be9c862cef431f8c02adbb024e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
|
data/lib/idata/version.rb
CHANGED