forest_admin_datasource_rpc 1.24.3 → 1.24.5

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: a10f68a285fc62f7076708aa148a158b060fdc9a39f4fce0b4303ae4ed8169e0
4
- data.tar.gz: bf77f90265a7746fac1302a76942503134b179ecfe65779631580b69049ed1ab
3
+ metadata.gz: 1dd1054458956e40b19ec0ba9e85988b9c054725da611973815c8ff05329fa55
4
+ data.tar.gz: a3b88a125fb5c5d6531464628fbed3941e1436b9a7923a5f9783b7c49f8a0b91
5
5
  SHA512:
6
- metadata.gz: 79353cee6ceefa123f0d4ebb66b9fe3ee45e49ccbb6ec549a3e894829134c8ae3c4913735257989d849effb466197e5e3de4b483569a4055b3613c7029a20fb8
7
- data.tar.gz: fea6d9b17f3f46d58223afd2a18b3062f3f693dafb578ef5a44cdb51d83337608d3e096a791b6197d7c85ca67fb1f5b0c7687149cbc7d1ffe04b3073cdf0729e
6
+ metadata.gz: 7fa6e005cb0005b6ec778d482daf2bd5ae7d7cdba38bd24e15036d4e3a78e92edee37c03e6b4f2eb224808c22f649c67fcf528cef4edad26838b7e3e88b7b821
7
+ data.tar.gz: 3641e1d075abbc94b1efab191ea06b3a37c29b204d2c5323365d2075b8cf2c289534ce7aec4380fb44c6fe403bb81a408fee0c74f7d0b6e4a076e19e36c81057
@@ -1,3 +1,3 @@
1
1
  module ForestAdminDatasourceRpc
2
- VERSION = "1.24.3"
2
+ VERSION = "1.24.5"
3
3
  end
@@ -12,7 +12,18 @@ module ForestAdminDatasourceRpc
12
12
  Utils::SchemaPollingPool.instance.configure(max_threads: max_threads)
13
13
  end
14
14
 
15
+ KNOWN_BUILD_OPTIONS = %i[uri auth_secret introspection introspection_etag schema_polling_interval_sec].freeze
16
+
15
17
  def self.build(options)
18
+ unknown_keys = options.keys - KNOWN_BUILD_OPTIONS
19
+ if unknown_keys.any?
20
+ ForestAdminAgent::Facades::Container.logger.log(
21
+ 'Warn',
22
+ "[RPCDatasource] Unknown option(s) passed to build: #{unknown_keys.join(", ")}. " \
23
+ "Known options are: #{KNOWN_BUILD_OPTIONS.join(", ")}"
24
+ )
25
+ end
26
+
16
27
  uri = options[:uri]
17
28
  auth_secret = options[:auth_secret] || ForestAdminAgent::Facades::Container.cache(:auth_secret)
18
29
  provided_introspection = options[:introspection]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_admin_datasource_rpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.24.3
4
+ version: 1.24.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthieu
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2026-02-13 00:00:00.000000000 Z
12
+ date: 2026-02-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: base64