graphql 0.17.0 → 0.17.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a357ade4151d40e569c04a9385a6099f2d8d269
|
4
|
+
data.tar.gz: be1830adfe4470c474c8aa73ce608b8848f4a15c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 049e8a243a2c2aa8c40a090699ab7338560f2cf02abc294fd27bc11a8045a5abd8b650449a0349bfdfbcbead31266a59f325087fd0200677d30397b19447eca1
|
7
|
+
data.tar.gz: d89e78fcf016747bda82b6b64655de27cfa7d0dddf49a65b543b7df6cb775f594b586334bef0cbd2941febbb50cbc56ae60eb0e02d0e009daa58becddb55b536
|
@@ -59,9 +59,9 @@ module GraphQL
|
|
59
59
|
|
60
60
|
def inspect(indent = 0)
|
61
61
|
own_indent = " " * indent
|
62
|
-
self_inspect = "#{own_indent}<Node #{name} (#{
|
62
|
+
self_inspect = "#{own_indent}<Node #{name} (#{definition_name}: {#{definitions.keys.join("|")}} -> #{return_type})>"
|
63
63
|
if children.any?
|
64
|
-
self_inspect << " {\n#{children.values.map { |n| n.inspect(indent + 2
|
64
|
+
self_inspect << " {\n#{children.values.map { |n| n.inspect(indent + 2)}.join("\n")}\n#{own_indent}}"
|
65
65
|
end
|
66
66
|
self_inspect
|
67
67
|
end
|
data/lib/graphql/version.rb
CHANGED
@@ -33,6 +33,7 @@ describe GraphQL::InternalRepresentation::Rewrite do
|
|
33
33
|
assert_equal 1, second_field.children.length
|
34
34
|
assert_equal [QueryType], second_field.definitions.keys
|
35
35
|
assert_equal CheeseType, second_field.return_type
|
36
|
+
assert second_field.inspect.is_a?(String)
|
36
37
|
end
|
37
38
|
end
|
38
39
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Mosolgo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: codeclimate-test-reporter
|