optify-config 0.4.4-aarch64-linux → 0.4.5-aarch64-linux
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6912ab794c08da0208bc8d5cb201009d160f50724eb8e3a58b9ab427d595a01
|
4
|
+
data.tar.gz: 9cbc78a5424b2b8bba216fb2eac1853e351852c81bee1f167061f8ba280c13e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b380050ece2327316f387e1b1e0ad069fd9540bc0296b13b2caf3705bf8588b194382c87f6c48675bebb2a0478676df33936a5950fa9eba69797c1c5b92a29db
|
7
|
+
data.tar.gz: a3bad1ed9e6e779a7dcc41e9c77d434e072afb3026cb68a23b0a606fe39859a0586da05de67eaa814f99a5fd6f7856ca4e58dcedd7700881acecf3be3be69f18
|
Binary file
|
Binary file
|
Binary file
|
@@ -18,17 +18,6 @@ module Optify
|
|
18
18
|
class OptionsProvider
|
19
19
|
extend T::Sig
|
20
20
|
|
21
|
-
# Fetches options in JSON format based on the provided key and feature names.
|
22
|
-
#
|
23
|
-
# @param key [String] the key to fetch options for.
|
24
|
-
# @param feature_names [Array<String>] The enabled feature names to use to build the options.
|
25
|
-
# @return [String] the options in JSON.
|
26
|
-
sig { params(key: String, feature_names: T::Array[String]).returns(String) }
|
27
|
-
def get_options_json(key, feature_names)
|
28
|
-
# Implemented in Rust.
|
29
|
-
raise NotImplementedError
|
30
|
-
end
|
31
|
-
|
32
21
|
# Fetches options based on the provided key and feature names.
|
33
22
|
#
|
34
23
|
# @param key [String] the key to fetch options for.
|
@@ -93,26 +82,4 @@ module Optify
|
|
93
82
|
@cache[cache_key] = result
|
94
83
|
end
|
95
84
|
end
|
96
|
-
|
97
|
-
# A builder for creating an `OptionsProvider` instance.
|
98
|
-
class OptionsProviderBuilder
|
99
|
-
extend T::Sig
|
100
|
-
|
101
|
-
# Adds a directory to the builder.
|
102
|
-
#
|
103
|
-
# @param path [String] The path of the directory to add.
|
104
|
-
# @return [OptionsProviderBuilder] `self`.
|
105
|
-
sig { params(path: String).returns(OptionsProviderBuilder) }
|
106
|
-
def add_directory(path)
|
107
|
-
# Implemented in Rust.
|
108
|
-
raise NotImplementedError
|
109
|
-
end
|
110
|
-
|
111
|
-
# @return [OptionsProvider] A newly built `OptionsProvider`.
|
112
|
-
sig { returns(OptionsProvider) }
|
113
|
-
def build
|
114
|
-
# Implemented in Rust.
|
115
|
-
raise NotImplementedError
|
116
|
-
end
|
117
|
-
end
|
118
85
|
end
|