graphiti 1.0.beta.6 → 1.0.beta.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ebbb1dbc7d5e33d3fe8411ea7f184cb1c1a42b72
4
- data.tar.gz: 5d94a4b97e8aa526abcc342adfe12ae124df549c
3
+ metadata.gz: dddde0dd800c551176e88a386aa35c6935660f45
4
+ data.tar.gz: 900db0d21517ffc1236c6cf157db3d0a23e6b682
5
5
  SHA512:
6
- metadata.gz: 60cd65ff706feace9b10d691b13f55cf716c0fdef0563b75ce9ad8a34579d553824a3417eba67bfd6ac84ff02e70356537a5f63001e71bf1a54bcf16cba6d216
7
- data.tar.gz: 15055313e91f05705ef372721e720c34556c7a4b82e11e122b167d16fca063feac398513a5b89141e3a8c8618c8f9e056037d5101a49de29cbb5355a13ae7bf5
6
+ metadata.gz: 72f31910ca77a63a6da0f942d2ddfdd1bd1ae5047ecefa58aa1ee6de39ef40ced8039004852cf8c9cc79b9f470f5d2fffe258725629b8112e598f4f5c2f06b9b
7
+ data.tar.gz: 3c6eb6e1ee9da7a109983f173aed69874884272b5c3b8ad0f0bcc2efe35390fd966afbe2b51f17904d49c22d76fde257f882b6faba640b5f6d80327790d2664d
@@ -44,7 +44,9 @@ module Graphiti
44
44
  json[:query] = query
45
45
  end
46
46
  logs << "\n\n"
47
- payload[:exception_object].instance_variable_set(:@__graphiti_debug, json)
47
+ if payload[:exception_object]
48
+ payload[:exception_object].instance_variable_set(:@__graphiti_debug, json)
49
+ end
48
50
  end
49
51
  end
50
52
  end
@@ -73,6 +75,7 @@ module Graphiti
73
75
  end
74
76
 
75
77
  def on_primary_data(payload, params, took)
78
+ results = results(payload[:results])
76
79
  add_chunk(payload[:resource], payload[:parent]) do |logs, json|
77
80
  logs << [""]
78
81
  logs << ["=== Graphiti Debug", :green, true]
@@ -1,3 +1,3 @@
1
1
  module Graphiti
2
- VERSION = "1.0.beta.6"
2
+ VERSION = "1.0.beta.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiti
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.beta.6
4
+ version: 1.0.beta.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond