optify-config 1.20.2-aarch64-linux → 1.21.0-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 +4 -4
- data/lib/optify_ruby/3.3/optify_ruby.so +0 -0
- data/lib/optify_ruby/3.4/optify_ruby.so +0 -0
- data/lib/optify_ruby/cache_init_options.rb +1 -1
- data/rbi/optify.rbi +22 -10
- data/sig/optify.rbs +9 -7
- metadata +3 -4
- data/lib/optify_ruby/3.2/optify_ruby.so +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6046f59c74e026c12df082952ca3936699dc5acdf097ab7ad7ca7c7b27339d7a
|
|
4
|
+
data.tar.gz: eacec59df7d18a0faa646299ac0a3ac6670d8c178ff2850310995a2fc4137a6b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a75a1d11bff487733c4736cadc75bcc50fa00e87836c9a1e0e3b3aa19f95f58565f1405e2317fd6e26fe2bd6d13e50e44d52e139da199845c6a6129bc687810
|
|
7
|
+
data.tar.gz: de8cc709bda3dc31a6c55d43fdb88a1bcfdc087999da3bc82c06f0db6cd91a99b98ce4cb485e29f605adb611eb7b0af75f361ac747ef3b0aa8281c96364a0f03
|
|
Binary file
|
|
Binary file
|
|
@@ -23,7 +23,7 @@ module Optify
|
|
|
23
23
|
|
|
24
24
|
# Initializes the cache options.
|
|
25
25
|
# Defaults to a non-thread-safe unlimited size cache for backwards compatibility
|
|
26
|
-
# with how this library was originally configured with an unbounded hash as the
|
|
26
|
+
# with how this library was originally configured with an unbounded hash as the base.
|
|
27
27
|
# @param mode A value from `CacheMode`.
|
|
28
28
|
#
|
|
29
29
|
#: (
|
data/rbi/optify.rbi
CHANGED
|
@@ -43,7 +43,7 @@ module Optify
|
|
|
43
43
|
|
|
44
44
|
# Initializes the cache options.
|
|
45
45
|
# Defaults to a non-thread-safe unlimited size cache for backwards compatibility
|
|
46
|
-
# with how this library was originally configured with an unbounded hash as the
|
|
46
|
+
# with how this library was originally configured with an unbounded hash as the base.
|
|
47
47
|
# @param mode A value from `CacheMode`.
|
|
48
48
|
sig do
|
|
49
49
|
params(
|
|
@@ -196,6 +196,15 @@ module Optify
|
|
|
196
196
|
# Some of the methods shown within this module are implemented in Rust
|
|
197
197
|
# and are declared in this common module to avoid duplicate declarations in different classes.
|
|
198
198
|
module ProviderModule
|
|
199
|
+
# @param canonical_feature_name [String] A canonical feature name
|
|
200
|
+
# @return Whether the feature has conditions.
|
|
201
|
+
sig { params(canonical_feature_name: String).returns(T::Boolean) }
|
|
202
|
+
def conditions?(canonical_feature_name); end
|
|
203
|
+
|
|
204
|
+
# @return All of the keys and values for the the features.
|
|
205
|
+
sig { returns(String) }
|
|
206
|
+
def features_with_metadata_json; end
|
|
207
|
+
|
|
199
208
|
# Map an alias or canonical feature name (perhaps derived from a file name) to a canonical feature name.
|
|
200
209
|
# Canonical feature names map to themselves.
|
|
201
210
|
#
|
|
@@ -292,11 +301,6 @@ module Optify
|
|
|
292
301
|
end
|
|
293
302
|
def get_options_json_with_preferences(key, feature_names, preferences); end
|
|
294
303
|
|
|
295
|
-
# @param canonical_feature_name [String] A canonical feature name
|
|
296
|
-
# @return Whether the feature has conditions.
|
|
297
|
-
sig { params(canonical_feature_name: String).returns(T::Boolean) }
|
|
298
|
-
def conditions?(canonical_feature_name); end
|
|
299
|
-
|
|
300
304
|
# (Optional) Eagerly initializes the cache.
|
|
301
305
|
# @return `self`.
|
|
302
306
|
sig do
|
|
@@ -305,6 +309,18 @@ module Optify
|
|
|
305
309
|
end
|
|
306
310
|
def init(cache_init_options = nil); end
|
|
307
311
|
|
|
312
|
+
# Filters `feature_names` based on the preferences,
|
|
313
|
+
# such as the `preferences`'s constraints.
|
|
314
|
+
# Returns an array matching the input order where each element is the canonical name if the feature was kept, or nil if it was filtered out.
|
|
315
|
+
sig do
|
|
316
|
+
params(
|
|
317
|
+
feature_names: T::Array[String],
|
|
318
|
+
preferences: GetOptionsPreferences,
|
|
319
|
+
)
|
|
320
|
+
.returns(T::Array[T.nilable(String)])
|
|
321
|
+
end
|
|
322
|
+
def map_feature_names(feature_names, preferences); end
|
|
323
|
+
|
|
308
324
|
private
|
|
309
325
|
|
|
310
326
|
# Map aliases or canonical feature names (perhaps derived from a file names) to the canonical feature names.
|
|
@@ -319,10 +335,6 @@ module Optify
|
|
|
319
335
|
# @return The metadata for the feature.
|
|
320
336
|
sig { params(canonical_feature_name: String).returns(T.nilable(String)) }
|
|
321
337
|
def get_feature_metadata_json(canonical_feature_name); end
|
|
322
|
-
|
|
323
|
-
# @return All of the keys and values for the the features.
|
|
324
|
-
sig { returns(String) }
|
|
325
|
-
def features_with_metadata_json; end
|
|
326
338
|
end
|
|
327
339
|
|
|
328
340
|
# Provides configurations based on keys and enabled feature names.
|
data/sig/optify.rbs
CHANGED
|
@@ -139,6 +139,13 @@ end
|
|
|
139
139
|
# Some of the methods shown within this module are implemented in Rust
|
|
140
140
|
# and are declared in this common module to avoid duplicate declarations in different classes.
|
|
141
141
|
module Optify::ProviderModule
|
|
142
|
+
# @param canonical_feature_name [String] A canonical feature name
|
|
143
|
+
# @return Whether the feature has conditions.
|
|
144
|
+
def conditions?: (String canonical_feature_name) -> bool
|
|
145
|
+
|
|
146
|
+
# @return All of the keys and values for the the features.
|
|
147
|
+
def features_with_metadata_json: () -> String
|
|
148
|
+
|
|
142
149
|
# Map an alias or canonical feature name (perhaps derived from a file name) to a canonical feature name.
|
|
143
150
|
# Canonical feature names map to themselves.
|
|
144
151
|
#
|
|
@@ -179,12 +186,10 @@ module Optify::ProviderModule
|
|
|
179
186
|
|
|
180
187
|
def get_options_json_with_preferences: (String key, ::Array[String] feature_names, GetOptionsPreferences preferences) -> String
|
|
181
188
|
|
|
182
|
-
# @param canonical_feature_name [String] A canonical feature name
|
|
183
|
-
# @return Whether the feature has conditions.
|
|
184
|
-
def conditions?: (String canonical_feature_name) -> bool
|
|
185
|
-
|
|
186
189
|
def init: (?CacheInitOptions? cache_init_options) -> self
|
|
187
190
|
|
|
191
|
+
def map_feature_names: (::Array[String] feature_names, GetOptionsPreferences preferences) -> ::Array[String?]
|
|
192
|
+
|
|
188
193
|
# Map aliases or canonical feature names (perhaps derived from a file names) to the canonical feature names.
|
|
189
194
|
# Canonical feature names map to themselves.
|
|
190
195
|
# This implementation calls the Rust implementation directly.
|
|
@@ -195,9 +200,6 @@ module Optify::ProviderModule
|
|
|
195
200
|
|
|
196
201
|
# @return The metadata for the feature.
|
|
197
202
|
def get_feature_metadata_json: (String canonical_feature_name) -> String?
|
|
198
|
-
|
|
199
|
-
# @return All of the keys and values for the the features.
|
|
200
|
-
def features_with_metadata_json: () -> String
|
|
201
203
|
end
|
|
202
204
|
|
|
203
205
|
# Provides configurations based on keys and enabled feature names.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: optify-config
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.21.0
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Justin D. Harris
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: optify-from_hash
|
|
@@ -171,7 +171,6 @@ extensions: []
|
|
|
171
171
|
extra_rdoc_files: []
|
|
172
172
|
files:
|
|
173
173
|
- lib/optify.rb
|
|
174
|
-
- lib/optify_ruby/3.2/optify_ruby.so
|
|
175
174
|
- lib/optify_ruby/3.3/optify_ruby.so
|
|
176
175
|
- lib/optify_ruby/3.4/optify_ruby.so
|
|
177
176
|
- lib/optify_ruby/base_config.rb
|
|
@@ -197,7 +196,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
197
196
|
requirements:
|
|
198
197
|
- - ">="
|
|
199
198
|
- !ruby/object:Gem::Version
|
|
200
|
-
version: '3.
|
|
199
|
+
version: '3.3'
|
|
201
200
|
- - "<"
|
|
202
201
|
- !ruby/object:Gem::Version
|
|
203
202
|
version: 3.5.dev
|
|
Binary file
|