graphql 2.0.28 → 2.0.29

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: 44b42111ec0fc37bc4139cee1cbe87189248b9b8dc591ed316b617e6d2a845ce
4
- data.tar.gz: 4d7321243adbd6072f4bc15e06c5ecbfff845910e8beb3dd2d339bf0710141e2
3
+ metadata.gz: a4c389be668ea272506e675f6db8a10c8711453267a22ca32d9d169cddc63848
4
+ data.tar.gz: c830e1a36677ee91cf524fd70cd0bbbac359e54e9481e0491693e6f651e07938
5
5
  SHA512:
6
- metadata.gz: 3e49b6047f8ff405b0364339bd4445a4f0911188041165c9384c8cf53d34a4a70a32c1be77efe725a7727faddedb8cfedb154b7d202c0fc4e6b15a6688a2d335
7
- data.tar.gz: dcdff8dee011e849cc00acc6e601f9437d74e3087da9535c51a7993415398555aa0483d23cd5f9a5afa3e6ecd77c41d060ce220778bab5dfc4ceae834c82e56d
6
+ metadata.gz: e9f477d70fe094fe434cf6a798fe48b4ab879d8fde291145caa36af0e2bccd45563f96b01156331014d1f5c9ecddb33fdd691632ac9454d3f2e739ce8b1434a7
7
+ data.tar.gz: 6832577335c22d03b8627a0de7df6a4ade1691a73f5c1c353c1bee21ba66948ef1eb5c0a6e78eea200c8c1994a7d4df8ebc5706bb97a780a7b2fb698d4d9a2ec
@@ -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.0.28"
3
+ VERSION = "2.0.29"
4
4
  end
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.0.28
4
+ version: 2.0.29
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
+ - !ruby/object:Gem::Dependency
14
+ name: base64
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: benchmark-ips
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -53,61 +67,61 @@ dependencies:
53
67
  - !ruby/object:Gem::Version
54
68
  version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
- name: minitest
70
+ name: racc
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: 5.9.0
75
+ version: '1.4'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: 5.9.0
82
+ version: '1.4'
69
83
  - !ruby/object:Gem::Dependency
70
- name: minitest-focus
84
+ name: minitest
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
- - - "~>"
87
+ - - ">="
74
88
  - !ruby/object:Gem::Version
75
- version: '1.1'
89
+ version: '0'
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - "~>"
94
+ - - ">="
81
95
  - !ruby/object:Gem::Version
82
- version: '1.1'
96
+ version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
- name: minitest-reporters
98
+ name: minitest-focus
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
- - - "~>"
101
+ - - ">="
88
102
  - !ruby/object:Gem::Version
89
- version: '1.0'
103
+ version: '0'
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
- - - "~>"
108
+ - - ">="
95
109
  - !ruby/object:Gem::Version
96
- version: '1.0'
110
+ version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
- name: racc
112
+ name: minitest-reporters
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
- - - "~>"
115
+ - - ">="
102
116
  - !ruby/object:Gem::Version
103
- version: '1.4'
117
+ version: '0'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
- - - "~>"
122
+ - - ">="
109
123
  - !ruby/object:Gem::Version
110
- version: '1.4'
124
+ version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: rake
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -623,7 +637,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
623
637
  - !ruby/object:Gem::Version
624
638
  version: '0'
625
639
  requirements: []
626
- rubygems_version: 3.5.5
640
+ rubygems_version: 3.5.3
627
641
  signing_key:
628
642
  specification_version: 4
629
643
  summary: A GraphQL language and runtime for Ruby