graphql 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphql/schema.rb +2 -3
- data/lib/graphql/version.rb +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b61b3465f091edb902adf9b7b1abe7e882e8c64235ad62f60984657b751eb4c
|
4
|
+
data.tar.gz: 9614fe43c3cf10bf16665cfe1179ca7faec9f3fbea566999220c03629143a07f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1aafd36c2d108a61f0275b6a7a439835401da9fda7ba743963a57130ce8e51a9730c1c243756af7ee87c1d52acdc851054daed27c93bbe970d7e9ae352452397
|
7
|
+
data.tar.gz: 5b4568baeb216f86857e6c2829de3440bc21af24407fa4cb9e164e179af9cfb83c01c7e828429b22546d9c836aab59515ae265f65993283ed1a0a0d6fc8579e1
|
data/lib/graphql/schema.rb
CHANGED
@@ -170,9 +170,9 @@ module GraphQL
|
|
170
170
|
end
|
171
171
|
|
172
172
|
# @return [Class] Return the trace class to use for this mode, looking one up on the superclass if this Schema doesn't have one defined.
|
173
|
-
def trace_class_for(mode
|
173
|
+
def trace_class_for(mode)
|
174
174
|
own_trace_modes[mode] ||
|
175
|
-
(superclass.respond_to?(:trace_class_for) ? superclass.trace_class_for(mode) :
|
175
|
+
(superclass.respond_to?(:trace_class_for) ? superclass.trace_class_for(mode) : (own_trace_modes[mode] = build_trace_mode(mode)))
|
176
176
|
end
|
177
177
|
|
178
178
|
# Configure `trace_class` to be used whenever `context: { trace_mode: mode_name }` is requested.
|
@@ -921,7 +921,6 @@ module GraphQL
|
|
921
921
|
|
922
922
|
def inherited(child_class)
|
923
923
|
if self == GraphQL::Schema
|
924
|
-
child_class.own_trace_modes[:default] = child_class.build_trace_mode(:default)
|
925
924
|
child_class.directives(default_directives.values)
|
926
925
|
end
|
927
926
|
# Make sure the child class has these built out, so that
|
data/lib/graphql/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Mosolgo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: racc
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.4'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.4'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: benchmark-ips
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,20 +108,6 @@ dependencies:
|
|
94
108
|
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '1.0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: racc
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '1.4'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '1.4'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rake
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|