graphql-extras 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphql/extras/rspec.rb +2 -2
- data/lib/graphql/extras/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 798b3acf2885ab4505348ce82a903491dcf69f9bb938f6d14f6123f7e15e7828
|
4
|
+
data.tar.gz: f09ba6716261367885bb2d59a3cfc5d8795d37ad815f8f97b6531bbd4b9c650a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f10d3c82db22907b693d047e64f3e635eb178aa3397ff2ff3a905f19a16fa3e9ea4994497ecd33f113a814aacbbac1145c621096d8e3cc8dd682bf662b4ccdd
|
7
|
+
data.tar.gz: c6d548c8fcc787c40b1825bfdaa270d7e41a0d5c9077c29be9ce4720b715175a4a048e227874f5f9a4b3fcc27ef57f8a57d5ce59d8a47037e0f730b64a6412cb
|
data/lib/graphql/extras/rspec.rb
CHANGED
@@ -50,9 +50,9 @@ module GraphQL
|
|
50
50
|
def deep_transform_values(data, &block)
|
51
51
|
case data
|
52
52
|
when Array
|
53
|
-
data.map { |v|
|
53
|
+
data.map { |v| deep_transform_values(v, &block) }
|
54
54
|
when Hash
|
55
|
-
data.transform_values { |v|
|
55
|
+
data.transform_values { |v| deep_transform_values(v, &block) }
|
56
56
|
else
|
57
57
|
yield data
|
58
58
|
end
|