graphql 2.1.11 → 2.1.12

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: a3658d78b5c940cc301a82b1bb4231a1c9800c40c0a5aafb57dd3ed7e7adcdfc
4
- data.tar.gz: 3873d3fae8741ff25d0c0d10d1ecf25b239832506c82532a21ca37dd08d796fa
3
+ metadata.gz: 9c57369275ccfc37cd8d5d3f1ca64056c53ab538e722c3746191e2099e800aca
4
+ data.tar.gz: '0847f67f1da704877713c46624c88ec92b1351468fb9f96be9d6957867182ee3'
5
5
  SHA512:
6
- metadata.gz: c64039dc32f92ffada444e5e46bcabfb187d23127c94a619c19fb656c608120c6ddd5613a97fee44f4a661b5e14a5547c10c2829e398e31118e08de4d4e7194e
7
- data.tar.gz: bbe4ced9ecb8acb236e88cc2297f9a568602517d7a444141c60ff92bbfe8e5e07965979658d7b3501dd13b0df2b92836ebb30f46f7dc9a91504633902434088d
6
+ metadata.gz: 4b915fddb5faf09e81fa47a2e1abf191e39ed0365bc7c82adf39d77caa9b86b278914253250566512d3bccb8d7e67d2f340b6a75863cb053fed56a469d7b8701
7
+ data.tar.gz: 0311216000e22a4b70a04dc59c68fb5b0e10e1cec17c359c1638d31b667516ac78414988446d89bb9e5abb78e2007ef29148b557b2734090b3925138a2e06500
@@ -69,7 +69,11 @@ module GraphQL
69
69
  end
70
70
  elsif child_class < GraphQL::Schema::Object
71
71
  # This is being included into an object type, make sure it's using `implements(...)`
72
- backtrace_line = caller(0, 10).find { |line| line.include?("schema/member/has_interfaces.rb") && line.include?("in `implements'")}
72
+ backtrace_line = caller_locations(0, 10).find do |location|
73
+ location.base_label == "implements" &&
74
+ location.path.end_with?("schema/member/has_interfaces.rb")
75
+ end
76
+
73
77
  if !backtrace_line
74
78
  raise "Attach interfaces using `implements(#{self})`, not `include(#{self})`"
75
79
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module GraphQL
3
- VERSION = "2.1.11"
3
+ VERSION = "2.1.12"
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.11
4
+ version: 2.1.12
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-01-25 00:00:00.000000000 Z
11
+ date: 2024-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: racc
@@ -70,44 +70,44 @@ dependencies:
70
70
  name: minitest
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 5.9.0
75
+ version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 5.9.0
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: minitest-focus
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '1.1'
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '1.1'
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: minitest-reporters
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '1.0'
103
+ version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: '1.0'
110
+ version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rake
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -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.5
632
+ rubygems_version: 3.5.3
633
633
  signing_key:
634
634
  specification_version: 4
635
635
  summary: A GraphQL language and runtime for Ruby