elasticgraph-query_registry 0.19.0.0.rc1 → 0.19.0.0

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: 5ed179c09967935a4b6d54e3d3eb187b5b0f32d479eabaf29991585e459418ae
4
- data.tar.gz: e9de7b9efe3beeb7e9f04c5e13e80542527033612cbf5be0c142b6e7cbdd345a
3
+ metadata.gz: c17eb9b0da13362dd35c5ee14c0d56edcc8d437541df04256b93d0c83799846d
4
+ data.tar.gz: c67285791050e77d0a44df2da50a25b5dab664d95c951fe7cc7e40f529b8d52f
5
5
  SHA512:
6
- metadata.gz: 739e2daff45a781cf634ac91b789b843014ff398ae14e078245d35a213eaaceee40426d26d76d0d282131201605481b2908399a97468428255ec88faf99e2486
7
- data.tar.gz: 222316a3d489b5478c60cff36c9228ced315d6d9e8579d5b85ec3f34a9bcfcf77cdcb5761f0c10004608be55e86a7bf052a40136f0752fb293017f6d272ab4aa
6
+ metadata.gz: bf64c3b2216bde9333d36691f057c3f35e70de8ee6eec157f14c1d02f5acbb02e4ff104e9b071958c7765dd5bf38938c5cc6d32cd72ecea0da03345390a815b0
7
+ data.tar.gz: c2041ead32325baf6fe03fa61eb57ae874086d1553bb5d609f2c751d16bd58b565ba99b2be2264c861679a61f5f149c28224f76e57be4b283f4fde377d90cf43
@@ -14,7 +14,7 @@ ElasticGraphGemspecHelper.define_elasticgraph_gem(gemspec_file: __FILE__, catego
14
14
 
15
15
  spec.add_dependency "elasticgraph-graphql", eg_version
16
16
  spec.add_dependency "elasticgraph-support", eg_version
17
- spec.add_dependency "graphql", "~> 2.4.5"
17
+ spec.add_dependency "graphql", "~> 2.4.8"
18
18
  spec.add_dependency "rake", "~> 13.2"
19
19
 
20
20
  spec.add_development_dependency "elasticgraph-elasticsearch", eg_version
@@ -60,8 +60,8 @@ module ElasticGraph
60
60
  return [{"message" => "No dumped variables for this operation exist. Correct by running: `#{rake_task}`"}]
61
61
  end
62
62
 
63
- old_op_vars = old_dumped_variables[operation_name]
64
- new_op_vars = new_dumped_variables[operation_name]
63
+ old_op_vars = old_dumped_variables.fetch(operation_name)
64
+ new_op_vars = new_dumped_variables.fetch(operation_name)
65
65
 
66
66
  if old_op_vars == new_op_vars
67
67
  # The previously dumped variables are up-to-date. No errors in this case.
@@ -32,12 +32,12 @@ module ElasticGraph
32
32
  end
33
33
 
34
34
  incompatible_commonalities = commonalities.flat_map do |name|
35
- incompatibilities_for("#{path}#{name}", normalize_type_info(old[name]), normalize_type_info(new[name]))
35
+ incompatibilities_for("#{path}#{name}", normalize_type_info(old.fetch(name)), normalize_type_info(new.fetch(name)))
36
36
  end
37
37
 
38
38
  incompatible_additions = additions.filter_map do |name|
39
39
  # Additions are only incompatible if it's required (non-nullable).
40
- _ = if normalize_type_info(new[name]).fetch("type").end_with?("!")
40
+ _ = if normalize_type_info(new.fetch(name)).fetch("type").end_with?("!")
41
41
  Incompatibility.new("#{path}#{name}", "new required #{entry_type}")
42
42
  end
43
43
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticgraph-query_registry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0.0.rc1
4
+ version: 0.19.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myron Marston
8
8
  - Ben VandenBos
9
9
  - Block Engineering
10
- autorequire:
10
+ autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2024-12-03 00:00:00.000000000 Z
13
+ date: 2024-12-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubocop-factory_bot
@@ -74,14 +74,14 @@ dependencies:
74
74
  requirements:
75
75
  - - "~>"
76
76
  - !ruby/object:Gem::Version
77
- version: '1.8'
77
+ version: 1.9.0
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - "~>"
83
83
  - !ruby/object:Gem::Version
84
- version: '1.8'
84
+ version: 1.9.0
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: coderay
87
87
  requirement: !ruby/object:Gem::Requirement
@@ -178,42 +178,42 @@ dependencies:
178
178
  requirements:
179
179
  - - '='
180
180
  - !ruby/object:Gem::Version
181
- version: 0.19.0.0.rc1
181
+ version: 0.19.0.0
182
182
  type: :runtime
183
183
  prerelease: false
184
184
  version_requirements: !ruby/object:Gem::Requirement
185
185
  requirements:
186
186
  - - '='
187
187
  - !ruby/object:Gem::Version
188
- version: 0.19.0.0.rc1
188
+ version: 0.19.0.0
189
189
  - !ruby/object:Gem::Dependency
190
190
  name: elasticgraph-support
191
191
  requirement: !ruby/object:Gem::Requirement
192
192
  requirements:
193
193
  - - '='
194
194
  - !ruby/object:Gem::Version
195
- version: 0.19.0.0.rc1
195
+ version: 0.19.0.0
196
196
  type: :runtime
197
197
  prerelease: false
198
198
  version_requirements: !ruby/object:Gem::Requirement
199
199
  requirements:
200
200
  - - '='
201
201
  - !ruby/object:Gem::Version
202
- version: 0.19.0.0.rc1
202
+ version: 0.19.0.0
203
203
  - !ruby/object:Gem::Dependency
204
204
  name: graphql
205
205
  requirement: !ruby/object:Gem::Requirement
206
206
  requirements:
207
207
  - - "~>"
208
208
  - !ruby/object:Gem::Version
209
- version: 2.4.5
209
+ version: 2.4.8
210
210
  type: :runtime
211
211
  prerelease: false
212
212
  version_requirements: !ruby/object:Gem::Requirement
213
213
  requirements:
214
214
  - - "~>"
215
215
  - !ruby/object:Gem::Version
216
- version: 2.4.5
216
+ version: 2.4.8
217
217
  - !ruby/object:Gem::Dependency
218
218
  name: rake
219
219
  requirement: !ruby/object:Gem::Requirement
@@ -234,29 +234,29 @@ dependencies:
234
234
  requirements:
235
235
  - - '='
236
236
  - !ruby/object:Gem::Version
237
- version: 0.19.0.0.rc1
237
+ version: 0.19.0.0
238
238
  type: :development
239
239
  prerelease: false
240
240
  version_requirements: !ruby/object:Gem::Requirement
241
241
  requirements:
242
242
  - - '='
243
243
  - !ruby/object:Gem::Version
244
- version: 0.19.0.0.rc1
244
+ version: 0.19.0.0
245
245
  - !ruby/object:Gem::Dependency
246
246
  name: elasticgraph-opensearch
247
247
  requirement: !ruby/object:Gem::Requirement
248
248
  requirements:
249
249
  - - '='
250
250
  - !ruby/object:Gem::Version
251
- version: 0.19.0.0.rc1
251
+ version: 0.19.0.0
252
252
  type: :development
253
253
  prerelease: false
254
254
  version_requirements: !ruby/object:Gem::Requirement
255
255
  requirements:
256
256
  - - '='
257
257
  - !ruby/object:Gem::Version
258
- version: 0.19.0.0.rc1
259
- description:
258
+ version: 0.19.0.0
259
+ description:
260
260
  email:
261
261
  - myron@squareup.com
262
262
  executables: []
@@ -280,12 +280,12 @@ licenses:
280
280
  - MIT
281
281
  metadata:
282
282
  bug_tracker_uri: https://github.com/block/elasticgraph/issues
283
- changelog_uri: https://github.com/block/elasticgraph/releases/tag/v0.19.0.0.rc1
283
+ changelog_uri: https://github.com/block/elasticgraph/releases/tag/v0.19.0.0
284
284
  documentation_uri: https://block.github.io/elasticgraph/docs/main/
285
285
  homepage_uri: https://block.github.io/elasticgraph/
286
- source_code_uri: https://github.com/block/elasticgraph/tree/v0.19.0.0.rc1/elasticgraph-query_registry
286
+ source_code_uri: https://github.com/block/elasticgraph/tree/v0.19.0.0/elasticgraph-query_registry
287
287
  gem_category: extension
288
- post_install_message:
288
+ post_install_message:
289
289
  rdoc_options: []
290
290
  require_paths:
291
291
  - lib
@@ -300,8 +300,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
300
300
  - !ruby/object:Gem::Version
301
301
  version: '0'
302
302
  requirements: []
303
- rubygems_version: 3.5.9
304
- signing_key:
303
+ rubygems_version: 3.5.22
304
+ signing_key:
305
305
  specification_version: 4
306
306
  summary: An ElasticGraph extension that supports safer schema evolution by limiting
307
307
  GraphQL queries based on a registry and validating registered queries against the