graphql 1.9.19 → 1.9.20

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
  SHA256:
3
- metadata.gz: bcb1523bfd45560dc2f14d6eaff84f8f3be278098ce485fa88a8192edd208896
4
- data.tar.gz: 37a2d6765bf93658e4dff5c4224985da45fa0ecf74df96a118a0c36860ad662c
3
+ metadata.gz: c687cdfd590c11aff6db72f580b8ad526acb51eb64a4e90fb36356ba28ae1352
4
+ data.tar.gz: 17eb097cea9f2cd6c0616b2cce86a8c0bfed688b60f8fb1a0bce282f628f9fb7
5
5
  SHA512:
6
- metadata.gz: 986ec9132416635997ac8920271913186d0d24e440f2c59984a05e0dc5fc67a49b5ed5f41732e7bac2de812266dca64c93586f3a22ee6a153a4dddbb16162d81
7
- data.tar.gz: bd0455191aa492cf212d4a9ea12513703f318873d6f06c9c1dd2bce75808366ea14c352d2422c079231c8a5cf287a77aa29154c790f648eb4c7314e708fcde52
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)
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module GraphQL
3
- VERSION = "1.9.19"
3
+ VERSION = "1.9.20"
4
4
  end
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.19
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-01-28 00:00:00.000000000 Z
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.0.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