optify-config 1.25.1-aarch64-linux → 1.26.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89f3dd6418fad3d8f3708dc8856704c0fff3e6d34022906642731cbe68216d6f
4
- data.tar.gz: f3cb133d125249460bfbd5f7bcec52732f3d2288ad1b0f1f7fe9a31bb30b7d32
3
+ metadata.gz: 3b5472c54df09980b636d917404c69447e8d22b739ab8763765fad5e0b3d14bb
4
+ data.tar.gz: 3eb4e0dd911803c1f034f4a11b84957f6f8cd99f1eec461d98fff5c5761083c9
5
5
  SHA512:
6
- metadata.gz: 7bf70dc925ad6b7c8ecab623f7aaa65c1a63796862c0f2366969d9124798860c60bbf2d658f0291a2d816dbd9697b783e19569bb7cad2c8186de0c231a780ae5
7
- data.tar.gz: 5dac12c0faff232567f526a8eb42e05f48f4596176b48d2ddca2dffe7308f3418235deb98abbc0138d4214a58f2c8cf6f949ee6d84772f1e82f2085429814498
6
+ metadata.gz: 9795e3e8ef9294703ac117963c263593246578b0ccd35f3784e5458ee57a096caeacb64e693e880896366b12b1740544d47ff83e73d5086cea6e16941645d5ca
7
+ data.tar.gz: 2d4767d176a471b992736dcbb0014096dae4eadd879272d350e71a1bddae6a6d1e8ee7df7f0b68cb3596371794cfa44b567a3f6ba318e38f7b325e0c5789e591
Binary file
Binary file
Binary file
data/rbi/optify.rbi CHANGED
@@ -412,8 +412,11 @@ module Optify
412
412
  end
413
413
  def map_feature_names(feature_names, preferences); end
414
414
 
415
- # @return The policies directly declared for the feature, or `nil` if the feature has no policies.
416
- # This may not consider all policies defined per requester outside of the feature configuration.
415
+ # @return The effective policies for the feature, combining the feature's own policies with the requester policies from `.optify/policies.json`.
416
+ # Either `requester.allow` (only those requesters may use the feature)
417
+ # or `requester.block` (all requesters except those may use the feature) is set.
418
+ # Returns `nil` if nothing restricts the feature (every requester is permitted).
419
+ # Assumes a valid canonical feature name; it isn't checked.
417
420
  sig { params(canonical_feature_name: String).returns(T.nilable(Optify::Policies)) }
418
421
  def get_policies(canonical_feature_name); end
419
422
 
@@ -442,7 +445,7 @@ module Optify
442
445
  sig { params(canonical_feature_name: String).returns(T.nilable(String)) }
443
446
  def get_feature_metadata_json(canonical_feature_name); end
444
447
 
445
- # @return The policies for the feature as JSON, or `nil` if the feature has no policies.
448
+ # @return The effective policies for the feature as JSON, or `nil` if nothing restricts the feature.
446
449
  sig { params(canonical_feature_name: String).returns(T.nilable(String)) }
447
450
  def get_policies_json(canonical_feature_name); end
448
451
  end
data/sig/optify.rbs CHANGED
@@ -235,8 +235,11 @@ module Optify::ProviderModule
235
235
 
236
236
  def map_feature_names: (::Array[String] feature_names, GetOptionsPreferences preferences) -> ::Array[String?]
237
237
 
238
- # @return The policies directly declared for the feature, or `nil` if the feature has no policies.
239
- # This may not consider all policies defined per requester outside of the feature configuration.
238
+ # @return The effective policies for the feature, combining the feature's own policies with the requester policies from `.optify/policies.json`.
239
+ # Either `requester.allow` (only those requesters may use the feature)
240
+ # or `requester.block` (all requesters except those may use the feature) is set.
241
+ # Returns `nil` if nothing restricts the feature (every requester is permitted).
242
+ # Assumes a valid canonical feature name; it isn't checked.
240
243
  def get_policies: (String canonical_feature_name) -> Optify::Policies?
241
244
 
242
245
  def _check_policies: (String requester, ::Array[String] feature_names) -> String?
@@ -252,7 +255,7 @@ module Optify::ProviderModule
252
255
  # @return The metadata for the feature.
253
256
  def get_feature_metadata_json: (String canonical_feature_name) -> String?
254
257
 
255
- # @return The policies for the feature as JSON, or `nil` if the feature has no policies.
258
+ # @return The effective policies for the feature as JSON, or `nil` if nothing restricts the feature.
256
259
  def get_policies_json: (String canonical_feature_name) -> String?
257
260
  end
258
261
 
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.25.1
4
+ version: 1.26.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-09-23 00:00:00.000000000 Z
11
+ date: 2026-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: optify-from_hash