graphql 1.9.19 → 1.9.20
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 +4 -4
- data/lib/graphql/define/instance_definable.rb +1 -1
- data/lib/graphql/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c687cdfd590c11aff6db72f580b8ad526acb51eb64a4e90fb36356ba28ae1352
|
|
4
|
+
data.tar.gz: 17eb097cea9f2cd6c0616b2cce86a8c0bfed688b60f8fb1a0bce282f628f9fb7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3fc375d04b51347743ccd37bf9053741ea14546f63ebda82c221dc48c4976caf109b52b520e05bb914c736465bafdb783a77446916193bdd82efd7af62f08cd6
|
|
7
|
+
data.tar.gz: 6b656c3c91cbf04e2a370fe1956e55d771e9225db1e7c7b7eaf3f6482fbcfbd12993f97a0e61e7cb47d9c1e02c567b6a6f45a3c7cbe9af8de151d83a47a43318
|
|
@@ -155,7 +155,7 @@ module GraphQL
|
|
|
155
155
|
# Apply definition from `define(...)` kwargs
|
|
156
156
|
defn.define_keywords.each do |keyword, value|
|
|
157
157
|
# Don't splat string hashes, which blows up on Rubies before 2.7
|
|
158
|
-
if value.is_a?(Hash) && value.each_key.all? { |k| k.is_a?(Symbol) }
|
|
158
|
+
if value.is_a?(Hash) && !value.empty? && value.each_key.all? { |k| k.is_a?(Symbol) }
|
|
159
159
|
defn_proxy.public_send(keyword, **value)
|
|
160
160
|
else
|
|
161
161
|
defn_proxy.public_send(keyword, value)
|
data/lib/graphql/version.rb
CHANGED
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: 1.9.
|
|
4
|
+
version: 1.9.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Robert Mosolgo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: benchmark-ips
|
|
@@ -731,7 +731,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
731
731
|
- !ruby/object:Gem::Version
|
|
732
732
|
version: '0'
|
|
733
733
|
requirements: []
|
|
734
|
-
rubygems_version: 3.
|
|
734
|
+
rubygems_version: 3.1.2
|
|
735
735
|
signing_key:
|
|
736
736
|
specification_version: 4
|
|
737
737
|
summary: A GraphQL language and runtime for Ruby
|