graphql 2.1.12 → 2.1.13

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: 9c57369275ccfc37cd8d5d3f1ca64056c53ab538e722c3746191e2099e800aca
4
- data.tar.gz: '0847f67f1da704877713c46624c88ec92b1351468fb9f96be9d6957867182ee3'
3
+ metadata.gz: 4266d452932b792f220bf55dd6a5a54516939c3b6ec59f84a5202382aa1b3489
4
+ data.tar.gz: 61e5c45e2b4206b646a72d8968152ef086c956aeaa97f4327a888dc5a91dbea0
5
5
  SHA512:
6
- metadata.gz: 4b915fddb5faf09e81fa47a2e1abf191e39ed0365bc7c82adf39d77caa9b86b278914253250566512d3bccb8d7e67d2f340b6a75863cb053fed56a469d7b8701
7
- data.tar.gz: 0311216000e22a4b70a04dc59c68fb5b0e10e1cec17c359c1638d31b667516ac78414988446d89bb9e5abb78e2007ef29148b557b2734090b3925138a2e06500
6
+ metadata.gz: 19b106f49cad299accab3831f302022b39f38cbaf527f32a33d4dc03a2fe666503d359dd5fb432fecbc2901f74c80b4fa053c3614ee2936404ce99ff7fcaca87
7
+ data.tar.gz: b414379bced7f488990405411ee2b7450ab4c7bf349624392901aa057cb46884b5b2fd5dea1f2716de5f7d4783db6644ad03a3c747162f0b87137b75a4f1bc90
@@ -186,7 +186,11 @@ ERR
186
186
  end
187
187
  result = @results[key]
188
188
 
189
- raise result if result.class <= StandardError
189
+ if result.is_a?(StandardError)
190
+ # Dup it because the rescuer may modify it.
191
+ # (This happens for GraphQL::ExecutionErrors, at least)
192
+ raise result.dup
193
+ end
190
194
 
191
195
  result
192
196
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module GraphQL
3
- VERSION = "2.1.12"
3
+ VERSION = "2.1.13"
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.1.12
4
+ version: 2.1.13
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-02-28 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: racc
@@ -629,7 +629,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
629
629
  - !ruby/object:Gem::Version
630
630
  version: '0'
631
631
  requirements: []
632
- rubygems_version: 3.5.3
632
+ rubygems_version: 3.5.12
633
633
  signing_key:
634
634
  specification_version: 4
635
635
  summary: A GraphQL language and runtime for Ruby