istox 0.1.42.7 → 0.1.42.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88e1f06c9f7e664e9ac724157fa79d1d074af6d31e9c9794a64d8aa1fa18fc24
4
- data.tar.gz: 8903b3536feb3d49fcad449f291412d7df9a3065eef58092ec1be02a91265040
3
+ metadata.gz: 18ca724388c0bd3ea97b5e315aa7d195ef5b7ae2c6e64ba1fd0d8c4e25e3b4fe
4
+ data.tar.gz: ac25e7d1b79f2b0e1916efc68fa139e88ce5a238216f12d46c359ee6862bcfce
5
5
  SHA512:
6
- metadata.gz: 5eee1943d2297ab8873ba11a66dc92496a474ee6b9ec294a9c90572c3acba2ddf78228c8636592f09319ad3e7ff67cd58c21921197c845b0c22a0409d6750c1a
7
- data.tar.gz: 0b770570f08b66370c9859bde1f2e690189e781fd99f0b4fbe32480fbdbbc273097232ad05cd90435723d9270e05a127ce2d312c3f18075d27585d413ba38607
6
+ metadata.gz: 1fc9e9e017d7208e6ae439a768328f547f7e5b16ca47dcdc529c170785760a521a549280cf33b696b609d31292d68731530c7b14b23e7825c23ad460d54a26f3
7
+ data.tar.gz: c9aa370e9c3bbbffd7caef4cac3b78e6b91e18318428b1501de46b4805c00a4f89ed5bb54d258d341b82e79c1b188ded3eab5c943a16a7799c9ea718eabd8ec5
@@ -15,7 +15,12 @@ module Istox
15
15
  client = @@hosts[host_type]
16
16
 
17
17
  raise "Please make sure you have initialised graphql cient for host #{host_type}" if !client
18
- result = client.query(query)
18
+
19
+ parsed_query = client.parse <<-'GRAPHQL'
20
+ #{query}
21
+ GRAPHQL
22
+
23
+ result = client.query(parsed_query)
19
24
  end
20
25
 
21
26
  private
data/lib/istox/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = "0.1.42.7"
2
+ VERSION = "0.1.42.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: istox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.42.7
4
+ version: 0.1.42.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siong Leng
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-21 00:00:00.000000000 Z
11
+ date: 2019-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny