elasticgraph-schema_definition 0.19.1.0 → 0.19.2.0

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.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +1 -1
  3. data/lib/elastic_graph/schema_definition/api.rb +111 -6
  4. data/lib/elastic_graph/schema_definition/factory.rb +25 -23
  5. data/lib/elastic_graph/schema_definition/indexing/derived_fields/append_only_set.rb +1 -1
  6. data/lib/elastic_graph/schema_definition/indexing/derived_fields/field_initializer_support.rb +1 -1
  7. data/lib/elastic_graph/schema_definition/indexing/derived_fields/immutable_value.rb +1 -1
  8. data/lib/elastic_graph/schema_definition/indexing/derived_fields/min_or_max_value.rb +1 -1
  9. data/lib/elastic_graph/schema_definition/indexing/derived_indexed_type.rb +1 -1
  10. data/lib/elastic_graph/schema_definition/indexing/event_envelope.rb +12 -3
  11. data/lib/elastic_graph/schema_definition/indexing/field.rb +1 -1
  12. data/lib/elastic_graph/schema_definition/indexing/field_reference.rb +1 -1
  13. data/lib/elastic_graph/schema_definition/indexing/field_type/enum.rb +1 -1
  14. data/lib/elastic_graph/schema_definition/indexing/field_type/object.rb +1 -1
  15. data/lib/elastic_graph/schema_definition/indexing/field_type/scalar.rb +1 -1
  16. data/lib/elastic_graph/schema_definition/indexing/field_type/union.rb +1 -1
  17. data/lib/elastic_graph/schema_definition/indexing/index.rb +4 -2
  18. data/lib/elastic_graph/schema_definition/indexing/json_schema_field_metadata.rb +1 -1
  19. data/lib/elastic_graph/schema_definition/indexing/json_schema_with_metadata.rb +1 -1
  20. data/lib/elastic_graph/schema_definition/indexing/list_counts_mapping.rb +1 -1
  21. data/lib/elastic_graph/schema_definition/indexing/relationship_resolver.rb +1 -1
  22. data/lib/elastic_graph/schema_definition/indexing/rollover_config.rb +1 -1
  23. data/lib/elastic_graph/schema_definition/indexing/update_target_factory.rb +1 -1
  24. data/lib/elastic_graph/schema_definition/indexing/update_target_resolver.rb +1 -1
  25. data/lib/elastic_graph/schema_definition/json_schema_pruner.rb +4 -2
  26. data/lib/elastic_graph/schema_definition/mixins/can_be_graphql_only.rb +1 -1
  27. data/lib/elastic_graph/schema_definition/mixins/has_derived_graphql_type_customizations.rb +1 -1
  28. data/lib/elastic_graph/schema_definition/mixins/has_directives.rb +1 -1
  29. data/lib/elastic_graph/schema_definition/mixins/has_documentation.rb +1 -1
  30. data/lib/elastic_graph/schema_definition/mixins/has_indices.rb +40 -4
  31. data/lib/elastic_graph/schema_definition/mixins/has_readable_to_s_and_inspect.rb +2 -1
  32. data/lib/elastic_graph/schema_definition/mixins/has_subtypes.rb +1 -1
  33. data/lib/elastic_graph/schema_definition/mixins/has_type_info.rb +1 -1
  34. data/lib/elastic_graph/schema_definition/mixins/implements_interfaces.rb +1 -1
  35. data/lib/elastic_graph/schema_definition/mixins/supports_default_value.rb +1 -1
  36. data/lib/elastic_graph/schema_definition/mixins/supports_filtering_and_aggregation.rb +9 -3
  37. data/lib/elastic_graph/schema_definition/mixins/verifies_graphql_name.rb +1 -1
  38. data/lib/elastic_graph/schema_definition/rake_tasks.rb +1 -1
  39. data/lib/elastic_graph/schema_definition/results.rb +133 -13
  40. data/lib/elastic_graph/schema_definition/schema_artifact_manager.rb +4 -4
  41. data/lib/elastic_graph/schema_definition/schema_elements/argument.rb +1 -1
  42. data/lib/elastic_graph/schema_definition/schema_elements/built_in_types.rb +47 -15
  43. data/lib/elastic_graph/schema_definition/schema_elements/deprecated_element.rb +1 -1
  44. data/lib/elastic_graph/schema_definition/schema_elements/directive.rb +1 -1
  45. data/lib/elastic_graph/schema_definition/schema_elements/enum_type.rb +1 -1
  46. data/lib/elastic_graph/schema_definition/schema_elements/enum_value.rb +1 -1
  47. data/lib/elastic_graph/schema_definition/schema_elements/enum_value_namer.rb +1 -1
  48. data/lib/elastic_graph/schema_definition/schema_elements/enums_for_indexed_types.rb +1 -1
  49. data/lib/elastic_graph/schema_definition/schema_elements/field.rb +15 -10
  50. data/lib/elastic_graph/schema_definition/schema_elements/field_path.rb +1 -1
  51. data/lib/elastic_graph/schema_definition/schema_elements/field_source.rb +1 -1
  52. data/lib/elastic_graph/schema_definition/schema_elements/graphql_sdl_enumerator.rb +4 -78
  53. data/lib/elastic_graph/schema_definition/schema_elements/input_field.rb +1 -1
  54. data/lib/elastic_graph/schema_definition/schema_elements/input_type.rb +6 -2
  55. data/lib/elastic_graph/schema_definition/schema_elements/interface_type.rb +1 -1
  56. data/lib/elastic_graph/schema_definition/schema_elements/list_counts_state.rb +1 -1
  57. data/lib/elastic_graph/schema_definition/schema_elements/object_type.rb +1 -1
  58. data/lib/elastic_graph/schema_definition/schema_elements/relationship.rb +8 -2
  59. data/lib/elastic_graph/schema_definition/schema_elements/scalar_type.rb +3 -3
  60. data/lib/elastic_graph/schema_definition/schema_elements/sort_order_enum_value.rb +1 -1
  61. data/lib/elastic_graph/schema_definition/schema_elements/sub_aggregation_path.rb +1 -1
  62. data/lib/elastic_graph/schema_definition/schema_elements/type_namer.rb +1 -1
  63. data/lib/elastic_graph/schema_definition/schema_elements/type_reference.rb +1 -1
  64. data/lib/elastic_graph/schema_definition/schema_elements/type_with_subfields.rb +4 -5
  65. data/lib/elastic_graph/schema_definition/schema_elements/union_type.rb +1 -1
  66. data/lib/elastic_graph/schema_definition/scripting/file_system_repository.rb +1 -1
  67. data/lib/elastic_graph/schema_definition/scripting/script.rb +1 -1
  68. data/lib/elastic_graph/schema_definition/scripting/scripts/update/index_data.painless +0 -1
  69. data/lib/elastic_graph/schema_definition/state.rb +4 -1
  70. data/lib/elastic_graph/schema_definition/test_support.rb +23 -3
  71. metadata +32 -30
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -17,15 +17,15 @@ module ElasticGraph
17
17
  # @dynamic schema_def_state
18
18
  attr_reader :schema_def_state
19
19
 
20
- def initialize(schema_def_state, all_types_except_root_query_type)
20
+ def initialize(schema_def_state, all_types)
21
21
  @schema_def_state = schema_def_state
22
- @all_types_except_root_query_type = all_types_except_root_query_type
22
+ @all_types = all_types
23
23
  end
24
24
 
25
25
  # Yields the SDL for each GraphQL type, including both explicitly defined
26
26
  # GraphQL types and derived GraphqL types.
27
27
  def each(&block)
28
- all_types = enumerate_all_types.sort_by(&:name)
28
+ all_types = @all_types.sort_by(&:name)
29
29
  all_type_names = all_types.map(&:name).to_set
30
30
 
31
31
  all_types.each do |type|
@@ -33,80 +33,6 @@ module ElasticGraph
33
33
  yield type.to_sdl { |arg| all_type_names.include?(arg.value_type.fully_unwrapped.name) }
34
34
  end
35
35
  end
36
-
37
- private
38
-
39
- def enumerate_all_types
40
- [root_query_type].compact + @all_types_except_root_query_type
41
- end
42
-
43
- def aggregation_efficiency_hints_for(derived_indexed_types)
44
- return nil if derived_indexed_types.empty?
45
-
46
- hints = derived_indexed_types.map do |type|
47
- derived_indexing_type = @schema_def_state.types_by_name.fetch(type.destination_type_ref.name)
48
- alternate_field_name = (_ = derived_indexing_type).plural_root_query_field_name
49
- grouping_field = type.id_source
50
-
51
- " - The root `#{alternate_field_name}` field groups by `#{grouping_field}`"
52
- end
53
-
54
- <<~EOS
55
- Note: aggregation queries are relatively expensive, and some fields have been pre-aggregated to allow
56
- more efficient queries for some common aggregation cases:
57
-
58
- #{hints.join("\n")}
59
- EOS
60
- end
61
-
62
- def root_query_type
63
- # Some of our tests need to define their own root `Query` type, so here we avoid
64
- # generating `Query` if an sdl part exists that already defines it.
65
- return nil if @schema_def_state.sdl_parts.flat_map { |sdl| sdl.lines }.any? { |line| line.start_with?("type Query") }
66
-
67
- new_built_in_object_type "Query" do |t|
68
- t.documentation "The query entry point for the entire schema."
69
-
70
- @schema_def_state.types_by_name.values.select(&:indexed?).sort_by(&:name).each do |type|
71
- # @type var indexed_type: Mixins::HasIndices & _Type
72
- indexed_type = _ = type
73
-
74
- t.relates_to_many(
75
- indexed_type.plural_root_query_field_name,
76
- indexed_type.name,
77
- via: "ignore",
78
- dir: :in,
79
- singular: indexed_type.singular_root_query_field_name
80
- ) do |f|
81
- f.documentation "Fetches `#{indexed_type.name}`s based on the provided arguments."
82
- indexed_type.root_query_fields_customizations&.call(f)
83
- end
84
-
85
- # Add additional efficiency hints to the aggregation field documentation if we have any such hints.
86
- # This needs to be outside the `relates_to_many` block because `relates_to_many` adds its own "suffix" to
87
- # the field documentation, and here we add another one.
88
- if (agg_efficiency_hint = aggregation_efficiency_hints_for(indexed_type.derived_indexed_types))
89
- agg_name = @schema_def_state.schema_elements.normalize_case("#{indexed_type.singular_root_query_field_name}_aggregations")
90
- agg_field = t.graphql_fields_by_name.fetch(agg_name)
91
- agg_field.documentation "#{agg_field.doc_comment}\n\n#{agg_efficiency_hint}"
92
- end
93
- end
94
- end
95
- end
96
-
97
- def new_built_in_object_type(name, &block)
98
- new_object_type name do |type|
99
- @schema_def_state.built_in_types_customization_blocks.each do |customization_block|
100
- customization_block.call(type)
101
- end
102
-
103
- block.call(type)
104
- end
105
- end
106
-
107
- def new_object_type(name, &block)
108
- @schema_def_state.factory.new_object_type(name, &block)
109
- end
110
36
  end
111
37
  end
112
38
  end
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -41,10 +41,14 @@ module ElasticGraph
41
41
  end
42
42
 
43
43
  def runtime_metadata(extra_update_targets)
44
+ graphql_input_fields_by_name = graphql_fields_by_name.transform_values do |field|
45
+ field.runtime_metadata_graphql_field.with(resolver: nil)
46
+ end
47
+
44
48
  SchemaArtifacts::RuntimeMetadata::ObjectType.new(
45
49
  update_targets: extra_update_targets,
46
50
  index_definition_names: [],
47
- graphql_fields_by_name: graphql_fields_by_name.transform_values(&:runtime_metadata_graphql_field),
51
+ graphql_fields_by_name: graphql_input_fields_by_name,
48
52
  elasticgraph_category: nil,
49
53
  source_type: nil,
50
54
  graphql_only_return_type: false
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -37,14 +37,18 @@ module ElasticGraph
37
37
  # end
38
38
  # end
39
39
  class Relationship < DelegateClass(Field)
40
- # @dynamic related_type
40
+ # @dynamic related_type, hide_relationship_runtime_metadata, hide_relationship_runtime_metadata=
41
41
 
42
42
  # @return [ObjectType, InterfaceType, UnionType] the type this relationship relates to
43
43
  attr_reader :related_type
44
44
 
45
+ # @private
46
+ attr_accessor :hide_relationship_runtime_metadata
47
+
45
48
  # @private
46
49
  def initialize(field, cardinality:, related_type:, foreign_key:, direction:)
47
50
  super(field)
51
+ self.hide_relationship_runtime_metadata = false
48
52
  @cardinality = cardinality
49
53
  @related_type = related_type
50
54
  @foreign_key = foreign_key
@@ -192,6 +196,8 @@ module ElasticGraph
192
196
 
193
197
  # @private
194
198
  def runtime_metadata
199
+ return nil if hide_relationship_runtime_metadata
200
+
195
201
  resolved_related_type = (_ = related_type.unwrap_list.as_object_type) # : indexableType
196
202
  foreign_key_nested_paths = schema_def_state.field_path_resolver.determine_nested_paths(resolved_related_type, @foreign_key)
197
203
  foreign_key_nested_paths ||= [] # : ::Array[::String]
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -112,7 +112,7 @@ module ElasticGraph
112
112
  # end
113
113
  def coerce_with(adapter_name, defined_at:)
114
114
  self.runtime_metadata = runtime_metadata.with(coercion_adapter_ref: {
115
- "extension_name" => adapter_name,
115
+ "name" => adapter_name,
116
116
  "require_path" => defined_at
117
117
  }).tap(&:load_coercion_adapter) # verify the adapter is valid.
118
118
  end
@@ -140,7 +140,7 @@ module ElasticGraph
140
140
  # end
141
141
  def prepare_for_indexing_with(preparer_name, defined_at:)
142
142
  self.runtime_metadata = runtime_metadata.with(indexing_preparer_ref: {
143
- "extension_name" => preparer_name,
143
+ "name" => preparer_name,
144
144
  "require_path" => defined_at
145
145
  }).tap(&:load_indexing_preparer) # verify the preparer is valid.
146
146
  end
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -197,8 +197,6 @@ module ElasticGraph
197
197
  "configure an alternate name for the `#{name}` operator."
198
198
  end
199
199
 
200
- options = {name_in_index: nil}.merge(options) if graphql_only
201
-
202
200
  field_factory.call(
203
201
  name: name,
204
202
  type: type,
@@ -537,9 +535,10 @@ module ElasticGraph
537
535
  direction: dir
538
536
  )
539
537
 
540
- yield relationship if block_given?
541
-
542
538
  field.relationship = relationship
539
+ field.resolver = :nested_relationships
540
+
541
+ yield relationship if block_given?
543
542
 
544
543
  if dir == :out
545
544
  register_inferred_foreign_key_fields(from_type: [via, foreign_key_type], to_other: ["id", "ID!"], related_type: relationship.related_type)
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -38,7 +38,6 @@ if (previousSourceIdsForRelationship.size() > 0) {
38
38
  // clusters, we need to keep using it.
39
39
  //
40
40
  // Later, after the old script is no longer used by any clusters, we'll stop using `__sourceVersions`.
41
- // TODO: switch to `__versions` when we no longer need to maintain compatibility with the old version of the script.
42
41
  Number _versionForSourceType = source.get("__sourceVersions")?.get(params.sourceType)?.get(sourceId);
43
42
  Number _versionForRelationship = relationshipVersionsMap.get(sourceId);
44
43
 
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -42,6 +42,8 @@ module ElasticGraph
42
42
  :json_schema_version,
43
43
  :json_schema_version_setter_location,
44
44
  :graphql_extension_modules,
45
+ :graphql_resolvers_by_name,
46
+ :resolvers_by_name,
45
47
  :initially_registered_built_in_types,
46
48
  :built_in_types_customization_blocks,
47
49
  :user_definition_complete,
@@ -85,6 +87,7 @@ module ElasticGraph
85
87
  json_schema_version_setter_location: nil,
86
88
  json_schema_version: nil,
87
89
  graphql_extension_modules: [],
90
+ graphql_resolvers_by_name: {},
88
91
  initially_registered_built_in_types: ::Set.new,
89
92
  built_in_types_customization_blocks: [],
90
93
  user_definition_complete: false,
@@ -1,4 +1,4 @@
1
- # Copyright 2024 Block, Inc.
1
+ # Copyright 2024 - 2025 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -7,8 +7,9 @@
7
7
  # frozen_string_literal: true
8
8
 
9
9
  require "elastic_graph/errors"
10
- require "elastic_graph/schema_definition/api"
11
10
  require "elastic_graph/schema_artifacts/runtime_metadata/schema_element_names"
11
+ require "elastic_graph/schema_definition/api"
12
+ require "elastic_graph/schema_definition/schema_artifact_manager"
12
13
 
13
14
  module ElasticGraph
14
15
  module SchemaDefinition
@@ -27,6 +28,7 @@ module ElasticGraph
27
28
  derived_type_name_formats: {},
28
29
  type_name_overrides: {},
29
30
  enum_value_overrides_by_type: {},
31
+ reload_schema_artifacts: false,
30
32
  output: nil,
31
33
  &block
32
34
  )
@@ -43,6 +45,7 @@ module ElasticGraph
43
45
  derived_type_name_formats: derived_type_name_formats,
44
46
  type_name_overrides: type_name_overrides,
45
47
  enum_value_overrides_by_type: enum_value_overrides_by_type,
48
+ reload_schema_artifacts: reload_schema_artifacts,
46
49
  output: output,
47
50
  &block
48
51
  )
@@ -56,6 +59,7 @@ module ElasticGraph
56
59
  derived_type_name_formats: {},
57
60
  type_name_overrides: {},
58
61
  enum_value_overrides_by_type: {},
62
+ reload_schema_artifacts: false,
59
63
  output: nil
60
64
  )
61
65
  api = API.new(
@@ -75,7 +79,23 @@ module ElasticGraph
75
79
  api.json_schema_version json_schema_version
76
80
  end
77
81
 
78
- api.results
82
+ # :nocov: -- the else branch and code past this aren't used by tests in elasticgraph-schema_definition.
83
+ return api.results unless reload_schema_artifacts
84
+
85
+ # Reloading the schema artifacts takes extra time that we don't usually want to spend (so it's opt-in)
86
+ # but it can be useful in some cases because there is a bit of extra pruning/validation that it applies.
87
+ tmp_dir = ::Dir.mktmpdir
88
+ artifacts_manager = SchemaDefinition::SchemaArtifactManager.new(
89
+ schema_definition_results: api.results,
90
+ schema_artifacts_directory: tmp_dir,
91
+ enforce_json_schema_version: false,
92
+ output: ::StringIO.new
93
+ )
94
+
95
+ artifacts_manager.dump_artifacts
96
+
97
+ SchemaArtifacts::FromDisk.new(tmp_dir, :graphql)
98
+ # :nocov:
79
99
  end
80
100
 
81
101
  DOC_COMMENTS = (
metadata CHANGED
@@ -1,16 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticgraph-schema_definition
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.1.0
4
+ version: 0.19.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myron Marston
8
8
  - Ben VandenBos
9
9
  - Block Engineering
10
- autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2025-02-06 00:00:00.000000000 Z
12
+ date: 2025-04-09 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: elasticgraph-graphql
@@ -18,84 +17,84 @@ dependencies:
18
17
  requirements:
19
18
  - - '='
20
19
  - !ruby/object:Gem::Version
21
- version: 0.19.1.0
20
+ version: 0.19.2.0
22
21
  type: :runtime
23
22
  prerelease: false
24
23
  version_requirements: !ruby/object:Gem::Requirement
25
24
  requirements:
26
25
  - - '='
27
26
  - !ruby/object:Gem::Version
28
- version: 0.19.1.0
27
+ version: 0.19.2.0
29
28
  - !ruby/object:Gem::Dependency
30
29
  name: elasticgraph-indexer
31
30
  requirement: !ruby/object:Gem::Requirement
32
31
  requirements:
33
32
  - - '='
34
33
  - !ruby/object:Gem::Version
35
- version: 0.19.1.0
34
+ version: 0.19.2.0
36
35
  type: :runtime
37
36
  prerelease: false
38
37
  version_requirements: !ruby/object:Gem::Requirement
39
38
  requirements:
40
39
  - - '='
41
40
  - !ruby/object:Gem::Version
42
- version: 0.19.1.0
41
+ version: 0.19.2.0
43
42
  - !ruby/object:Gem::Dependency
44
43
  name: elasticgraph-json_schema
45
44
  requirement: !ruby/object:Gem::Requirement
46
45
  requirements:
47
46
  - - '='
48
47
  - !ruby/object:Gem::Version
49
- version: 0.19.1.0
48
+ version: 0.19.2.0
50
49
  type: :runtime
51
50
  prerelease: false
52
51
  version_requirements: !ruby/object:Gem::Requirement
53
52
  requirements:
54
53
  - - '='
55
54
  - !ruby/object:Gem::Version
56
- version: 0.19.1.0
55
+ version: 0.19.2.0
57
56
  - !ruby/object:Gem::Dependency
58
57
  name: elasticgraph-schema_artifacts
59
58
  requirement: !ruby/object:Gem::Requirement
60
59
  requirements:
61
60
  - - '='
62
61
  - !ruby/object:Gem::Version
63
- version: 0.19.1.0
62
+ version: 0.19.2.0
64
63
  type: :runtime
65
64
  prerelease: false
66
65
  version_requirements: !ruby/object:Gem::Requirement
67
66
  requirements:
68
67
  - - '='
69
68
  - !ruby/object:Gem::Version
70
- version: 0.19.1.0
69
+ version: 0.19.2.0
71
70
  - !ruby/object:Gem::Dependency
72
71
  name: elasticgraph-support
73
72
  requirement: !ruby/object:Gem::Requirement
74
73
  requirements:
75
74
  - - '='
76
75
  - !ruby/object:Gem::Version
77
- version: 0.19.1.0
76
+ version: 0.19.2.0
78
77
  type: :runtime
79
78
  prerelease: false
80
79
  version_requirements: !ruby/object:Gem::Requirement
81
80
  requirements:
82
81
  - - '='
83
82
  - !ruby/object:Gem::Version
84
- version: 0.19.1.0
83
+ version: 0.19.2.0
85
84
  - !ruby/object:Gem::Dependency
86
85
  name: graphql
87
86
  requirement: !ruby/object:Gem::Requirement
88
87
  requirements:
89
88
  - - "~>"
90
89
  - !ruby/object:Gem::Version
91
- version: 2.4.8
90
+ version: 2.5.1
92
91
  type: :runtime
93
92
  prerelease: false
94
93
  version_requirements: !ruby/object:Gem::Requirement
95
94
  requirements:
96
95
  - - "~>"
97
96
  - !ruby/object:Gem::Version
98
- version: 2.4.8
97
+ version: 2.5.1
99
98
  - !ruby/object:Gem::Dependency
100
99
  name: rake
101
100
  requirement: !ruby/object:Gem::Requirement
@@ -103,6 +102,9 @@ dependencies:
103
102
  - - "~>"
104
103
  - !ruby/object:Gem::Version
105
104
  version: '13.2'
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: 13.2.1
106
108
  type: :runtime
107
109
  prerelease: false
108
110
  version_requirements: !ruby/object:Gem::Requirement
@@ -110,63 +112,65 @@ dependencies:
110
112
  - - "~>"
111
113
  - !ruby/object:Gem::Version
112
114
  version: '13.2'
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 13.2.1
113
118
  - !ruby/object:Gem::Dependency
114
119
  name: elasticgraph-admin
115
120
  requirement: !ruby/object:Gem::Requirement
116
121
  requirements:
117
122
  - - '='
118
123
  - !ruby/object:Gem::Version
119
- version: 0.19.1.0
124
+ version: 0.19.2.0
120
125
  type: :development
121
126
  prerelease: false
122
127
  version_requirements: !ruby/object:Gem::Requirement
123
128
  requirements:
124
129
  - - '='
125
130
  - !ruby/object:Gem::Version
126
- version: 0.19.1.0
131
+ version: 0.19.2.0
127
132
  - !ruby/object:Gem::Dependency
128
133
  name: elasticgraph-datastore_core
129
134
  requirement: !ruby/object:Gem::Requirement
130
135
  requirements:
131
136
  - - '='
132
137
  - !ruby/object:Gem::Version
133
- version: 0.19.1.0
138
+ version: 0.19.2.0
134
139
  type: :development
135
140
  prerelease: false
136
141
  version_requirements: !ruby/object:Gem::Requirement
137
142
  requirements:
138
143
  - - '='
139
144
  - !ruby/object:Gem::Version
140
- version: 0.19.1.0
145
+ version: 0.19.2.0
141
146
  - !ruby/object:Gem::Dependency
142
147
  name: elasticgraph-elasticsearch
143
148
  requirement: !ruby/object:Gem::Requirement
144
149
  requirements:
145
150
  - - '='
146
151
  - !ruby/object:Gem::Version
147
- version: 0.19.1.0
152
+ version: 0.19.2.0
148
153
  type: :development
149
154
  prerelease: false
150
155
  version_requirements: !ruby/object:Gem::Requirement
151
156
  requirements:
152
157
  - - '='
153
158
  - !ruby/object:Gem::Version
154
- version: 0.19.1.0
159
+ version: 0.19.2.0
155
160
  - !ruby/object:Gem::Dependency
156
161
  name: elasticgraph-opensearch
157
162
  requirement: !ruby/object:Gem::Requirement
158
163
  requirements:
159
164
  - - '='
160
165
  - !ruby/object:Gem::Version
161
- version: 0.19.1.0
166
+ version: 0.19.2.0
162
167
  type: :development
163
168
  prerelease: false
164
169
  version_requirements: !ruby/object:Gem::Requirement
165
170
  requirements:
166
171
  - - '='
167
172
  - !ruby/object:Gem::Version
168
- version: 0.19.1.0
169
- description:
173
+ version: 0.19.2.0
170
174
  email:
171
175
  - myron@squareup.com
172
176
  executables: []
@@ -251,12 +255,11 @@ licenses:
251
255
  - MIT
252
256
  metadata:
253
257
  bug_tracker_uri: https://github.com/block/elasticgraph/issues
254
- changelog_uri: https://github.com/block/elasticgraph/releases/tag/v0.19.1.0
255
- documentation_uri: https://block.github.io/elasticgraph/docs/main/
258
+ changelog_uri: https://github.com/block/elasticgraph/releases/tag/v0.19.2.0
259
+ documentation_uri: https://block.github.io/elasticgraph/api-docs/v0.19.2.0/
256
260
  homepage_uri: https://block.github.io/elasticgraph/
257
- source_code_uri: https://github.com/block/elasticgraph/tree/v0.19.1.0/elasticgraph-schema_definition
261
+ source_code_uri: https://github.com/block/elasticgraph/tree/v0.19.2.0/elasticgraph-schema_definition
258
262
  gem_category: local
259
- post_install_message:
260
263
  rdoc_options: []
261
264
  require_paths:
262
265
  - lib
@@ -274,8 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
277
  - !ruby/object:Gem::Version
275
278
  version: '0'
276
279
  requirements: []
277
- rubygems_version: 3.5.22
278
- signing_key:
280
+ rubygems_version: 3.6.2
279
281
  specification_version: 4
280
282
  summary: ElasticGraph gem that provides the schema definition API and generates schema
281
283
  artifacts.