elasticgraph-query_registry 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20d564c49a3ec64d178eb713fdbe4b06a14eaabd792b167273ae5ea7c5a71b19
4
- data.tar.gz: a820666f4d6bfc188d99f981ccf7d400905b6d9b7f041b65d6d50bc4a8df9a87
3
+ metadata.gz: 15936723cde48765d3beb730307317c8aeb23c01802db79d7492fe8939e2be30
4
+ data.tar.gz: bbd79c94f0af60f13d34149796c4643b4d01d539c65ba6475c4b213470dd4824
5
5
  SHA512:
6
- metadata.gz: 27a3247853cd9a2c37a8412138482502614122633a0b9234eacadf539356e4ea305ba220f2132c68220eaf6ee91f9fd8a413b96cd1f0fb16c2c900b48bc049b4
7
- data.tar.gz: c1717ec8065da26e4489d0bb64ebcd27e4bd5026a40ed895b8358667c244bb7008797d5b406e562629e48d7260a09bf47edd1d612c0f9c6305cf0fce07acd920
6
+ metadata.gz: 5bd4b017d58b2e5fe0f477373372bdf82c40e63ff8b4cc597f9000c1b09c5f463f4249b63974f8043916d7f33487f8c8a01b637dd2b689c9d72b2f2c12b17f7d
7
+ data.tar.gz: ef3d679b89173f45d424cce0354e09b03f110de8a65b01e48723af24d519aca11d87aa7f2c1061a91b95f147c231abaaa48eb5ee2162b6f2a7a14b153e8d102d
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2024 Block, Inc.
3
+ Copyright (c) 2024 - 2025 Block, Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -87,7 +87,7 @@ Next, configure this library in your ElasticGraph config YAML files:
87
87
  graphql:
88
88
  extension_modules:
89
89
  - require_path: elastic_graph/query_registry/graphql_extension
90
- extension_name: ElasticGraph::QueryRegistry::GraphQLExtension
90
+ name: ElasticGraph::QueryRegistry::GraphQLExtension
91
91
  query_registry:
92
92
  allow_unregistered_clients: false
93
93
  allow_any_query_for_clients:
@@ -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
@@ -24,6 +24,7 @@ module ElasticGraph
24
24
  logger: logger,
25
25
  slow_query_threshold_ms: config.slow_query_latency_warning_threshold_in_ms,
26
26
  datastore_search_router: datastore_search_router,
27
+ config: config,
27
28
  registry_directory: registry_config.path_to_registry,
28
29
  allow_unregistered_clients: registry_config.allow_unregistered_clients,
29
30
  allow_any_query_for_clients: registry_config.allow_any_query_for_clients
@@ -41,14 +42,16 @@ module ElasticGraph
41
42
  monotonic_clock:,
42
43
  logger:,
43
44
  slow_query_threshold_ms:,
44
- datastore_search_router:
45
+ datastore_search_router:,
46
+ config:
45
47
  )
46
48
  super(
47
49
  schema: schema,
48
50
  monotonic_clock: monotonic_clock,
49
51
  logger: logger,
50
52
  slow_query_threshold_ms: slow_query_threshold_ms,
51
- datastore_search_router: datastore_search_router
53
+ datastore_search_router: datastore_search_router,
54
+ config: config
52
55
  )
53
56
 
54
57
  @registry = Registry.build_from_directory(
@@ -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
@@ -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
metadata CHANGED
@@ -1,16 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticgraph-query_registry
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,42 +17,42 @@ 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-support
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: graphql
45
44
  requirement: !ruby/object:Gem::Requirement
46
45
  requirements:
47
46
  - - "~>"
48
47
  - !ruby/object:Gem::Version
49
- version: 2.4.8
48
+ version: 2.5.1
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: 2.4.8
55
+ version: 2.5.1
57
56
  - !ruby/object:Gem::Dependency
58
57
  name: rake
59
58
  requirement: !ruby/object:Gem::Requirement
@@ -61,6 +60,9 @@ dependencies:
61
60
  - - "~>"
62
61
  - !ruby/object:Gem::Version
63
62
  version: '13.2'
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: 13.2.1
64
66
  type: :runtime
65
67
  prerelease: false
66
68
  version_requirements: !ruby/object:Gem::Requirement
@@ -68,35 +70,37 @@ dependencies:
68
70
  - - "~>"
69
71
  - !ruby/object:Gem::Version
70
72
  version: '13.2'
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 13.2.1
71
76
  - !ruby/object:Gem::Dependency
72
77
  name: elasticgraph-elasticsearch
73
78
  requirement: !ruby/object:Gem::Requirement
74
79
  requirements:
75
80
  - - '='
76
81
  - !ruby/object:Gem::Version
77
- version: 0.19.1.0
82
+ version: 0.19.2.0
78
83
  type: :development
79
84
  prerelease: false
80
85
  version_requirements: !ruby/object:Gem::Requirement
81
86
  requirements:
82
87
  - - '='
83
88
  - !ruby/object:Gem::Version
84
- version: 0.19.1.0
89
+ version: 0.19.2.0
85
90
  - !ruby/object:Gem::Dependency
86
91
  name: elasticgraph-opensearch
87
92
  requirement: !ruby/object:Gem::Requirement
88
93
  requirements:
89
94
  - - '='
90
95
  - !ruby/object:Gem::Version
91
- version: 0.19.1.0
96
+ version: 0.19.2.0
92
97
  type: :development
93
98
  prerelease: false
94
99
  version_requirements: !ruby/object:Gem::Requirement
95
100
  requirements:
96
101
  - - '='
97
102
  - !ruby/object:Gem::Version
98
- version: 0.19.1.0
99
- description:
103
+ version: 0.19.2.0
100
104
  email:
101
105
  - myron@squareup.com
102
106
  executables: []
@@ -119,12 +123,11 @@ licenses:
119
123
  - MIT
120
124
  metadata:
121
125
  bug_tracker_uri: https://github.com/block/elasticgraph/issues
122
- changelog_uri: https://github.com/block/elasticgraph/releases/tag/v0.19.1.0
123
- documentation_uri: https://block.github.io/elasticgraph/docs/main/
126
+ changelog_uri: https://github.com/block/elasticgraph/releases/tag/v0.19.2.0
127
+ documentation_uri: https://block.github.io/elasticgraph/api-docs/v0.19.2.0/
124
128
  homepage_uri: https://block.github.io/elasticgraph/
125
- source_code_uri: https://github.com/block/elasticgraph/tree/v0.19.1.0/elasticgraph-query_registry
129
+ source_code_uri: https://github.com/block/elasticgraph/tree/v0.19.2.0/elasticgraph-query_registry
126
130
  gem_category: extension
127
- post_install_message:
128
131
  rdoc_options: []
129
132
  require_paths:
130
133
  - lib
@@ -142,8 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
145
  - !ruby/object:Gem::Version
143
146
  version: '0'
144
147
  requirements: []
145
- rubygems_version: 3.5.22
146
- signing_key:
148
+ rubygems_version: 3.6.2
147
149
  specification_version: 4
148
150
  summary: An ElasticGraph extension that supports safer schema evolution by limiting
149
151
  GraphQL queries based on a registry and validating registered queries against the