graphql 2.2.15 → 2.2.16

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: 97a3329554b8a2a453ae6181344fd806401a9766850036ed43524c34d9926e8a
4
- data.tar.gz: 6f09c75f883f6191a0ef98904bb3e4be722097dde6370813947e1cffdbc254ae
3
+ metadata.gz: 444884ff51b3699ea4b1b34cd89d3e686900ec53e59b502bd062ef295494271f
4
+ data.tar.gz: d4bbddeb926a6106a38d029f7fbd23b63c2020ee371978aef8b0cf20313f47a1
5
5
  SHA512:
6
- metadata.gz: e0e2e30fe49a44858f5c57ca7ea923c1aa8b87471f1448f5f2e3a94fbf43660d205e22ebf47a0527ed8d495cb5f4273231d678c7604cb096391a023d59b6e3e3
7
- data.tar.gz: 77fe89ed92e533fe2e8a900cddaf2c245f78304d8129d1e154bbdf3f0d8057011de21a21129cf96195be2ec1f6c626faca9689f7cedca2cf10ba5cbc3e4f7e52
6
+ metadata.gz: c67c98945049adf941c6c9ed1819a9c8e85d3df9992d1186f1d6165a2b599ad8f51973bd34060e425c44edb58e542568810e7fa48acb1f726a1e837de423717b
7
+ data.tar.gz: 78d57fe6de8cf176671088913d123d5d8986e98e37cc67b280d4ae9a3d98070cde2bd29cf2a4be777acd62653f2d0ce8204e303d6ee24b6d423fa538f23b6308
@@ -187,7 +187,11 @@ ERR
187
187
  end
188
188
  result = @results[key]
189
189
 
190
- raise result if result.class <= StandardError
190
+ if result.is_a?(StandardError)
191
+ # Dup it because the rescuer may modify it.
192
+ # (This happens for GraphQL::ExecutionErrors, at least)
193
+ raise result.dup
194
+ end
191
195
 
192
196
  result
193
197
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module GraphQL
3
- VERSION = "2.2.15"
3
+ VERSION = "2.2.16"
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: 2.2.15
4
+ version: 2.2.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Mosolgo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-20 00:00:00.000000000 Z
11
+ date: 2024-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -645,7 +645,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
645
645
  - !ruby/object:Gem::Version
646
646
  version: '0'
647
647
  requirements: []
648
- rubygems_version: 3.5.3
648
+ rubygems_version: 3.5.12
649
649
  signing_key:
650
650
  specification_version: 4
651
651
  summary: A GraphQL language and runtime for Ruby