graphql 1.13.7 → 1.13.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36daea28ec315c9949f4990d05993a15ea4568086f227d7dd7f151ce092747b6
4
- data.tar.gz: 94d9e0598ff0756be7d7a4fde4c2c395ef47926003ad9d2718e9025ef0f7396a
3
+ metadata.gz: 3cca9242fe9e123d9b0a24deb2858d99f41fc272f0460540cdeab88c170ab8a8
4
+ data.tar.gz: aac9c17e4885b3fec0526c5f5d3066e92fc96718af9b4cc40a9b37d14b5f1199
5
5
  SHA512:
6
- metadata.gz: 00c1ba65cb41e6cbc9e4297a90b071f3915e9c8cc550a995f73d357d51ca299c5c478c24678efae9413d6f25fa69ec70b081ec31c120d03c71b93ba82ba291a3
7
- data.tar.gz: 0b355f53d23bf5d2afeec35f0e33260a1565d79464a4d2dbc70f915c06964d116111211ba7eb070c3a7f3e86c5e9a31e318a30f5aa122f5ea1c608788f747e1e
6
+ metadata.gz: 54162adc563c09a4e68cb909e35e27c35e5e970eb47299c9b33e8b86d6182ba973b1fa88c34c391705cb96af77d660a958b475caac83a0698184e4dbd0aacc8d
7
+ data.tar.gz: 5ef725a63d61710f5ddc1f500485e3bd0f675c41d6b9406270af06d895570625ff86a10c2449817479c106db1af4c9d9c646cda551ba34c6c54acdff83ca8428
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
  module GraphQL
3
3
  module Introspection
4
- def self.query(include_deprecated_args: false)
4
+ def self.query(include_deprecated_args: false, include_schema_description: false, include_is_repeatable: false, include_specified_by_url: false)
5
5
  # The introspection query to end all introspection queries, copied from
6
6
  # https://github.com/graphql/graphql-js/blob/master/src/utilities/introspectionQuery.js
7
7
  <<-QUERY
8
8
  query IntrospectionQuery {
9
9
  __schema {
10
- description
10
+ #{include_schema_description ? "description" : ""}
11
11
  queryType { name }
12
12
  mutationType { name }
13
13
  subscriptionType { name }
@@ -18,7 +18,7 @@ query IntrospectionQuery {
18
18
  name
19
19
  description
20
20
  locations
21
- isRepeatable
21
+ #{include_is_repeatable ? "isRepeatable" : ""}
22
22
  args#{include_deprecated_args ? '(includeDeprecated: true)' : ''} {
23
23
  ...InputValue
24
24
  }
@@ -29,7 +29,7 @@ fragment FullType on __Type {
29
29
  kind
30
30
  name
31
31
  description
32
- specifiedByUrl
32
+ #{include_specified_by_url ? "specifiedByUrl" : ""}
33
33
  fields(includeDeprecated: true) {
34
34
  name
35
35
  description
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module GraphQL
3
- VERSION = "1.13.7"
3
+ VERSION = "1.13.8"
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.13.7
4
+ version: 1.13.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Mosolgo
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-28 00:00:00.000000000 Z
11
+ date: 2022-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: benchmark-ips
@@ -707,7 +707,7 @@ metadata:
707
707
  source_code_uri: https://github.com/rmosolgo/graphql-ruby
708
708
  bug_tracker_uri: https://github.com/rmosolgo/graphql-ruby/issues
709
709
  mailing_list_uri: https://tinyletter.com/graphql-ruby
710
- post_install_message:
710
+ post_install_message:
711
711
  rdoc_options: []
712
712
  require_paths:
713
713
  - lib
@@ -722,8 +722,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
722
722
  - !ruby/object:Gem::Version
723
723
  version: '0'
724
724
  requirements: []
725
- rubygems_version: 3.1.6
726
- signing_key:
725
+ rubygems_version: 3.3.3
726
+ signing_key:
727
727
  specification_version: 4
728
728
  summary: A GraphQL language and runtime for Ruby
729
729
  test_files: []