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 +4 -4
- data/lib/graphiti/debugger.rb +4 -1
- data/lib/graphiti/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: dddde0dd800c551176e88a386aa35c6935660f45
|
4
|
+
data.tar.gz: 900db0d21517ffc1236c6cf157db3d0a23e6b682
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72f31910ca77a63a6da0f942d2ddfdd1bd1ae5047ecefa58aa1ee6de39ef40ced8039004852cf8c9cc79b9f470f5d2fffe258725629b8112e598f4f5c2f06b9b
|
7
|
+
data.tar.gz: 3c6eb6e1ee9da7a109983f173aed69874884272b5c3b8ad0f0bcc2efe35390fd966afbe2b51f17904d49c22d76fde257f882b6faba640b5f6d80327790d2664d
|
data/lib/graphiti/debugger.rb
CHANGED
@@ -44,7 +44,9 @@ module Graphiti
|
|
44
44
|
json[:query] = query
|
45
45
|
end
|
46
46
|
logs << "\n\n"
|
47
|
-
payload[:exception_object]
|
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]
|
data/lib/graphiti/version.rb
CHANGED