optify-config 1.24.0 → 1.25.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: f295ac7d00dec19d6aac47bdd92452ec0768181e482a24fdcc5de2d85900df31
4
- data.tar.gz: 9429b9927048c2fb85c7343a839b78947212ba6192091852d9a30bcbd8078420
3
+ metadata.gz: be3b20f2b0eaa8b0085f8c08bdea8ab315b4a3595aeb1eee63789c5af64fe172
4
+ data.tar.gz: 347ba77cf5eed2051d6b4abebac8cc1d4934e9258eb46066767bcf026edd1893
5
5
  SHA512:
6
- metadata.gz: 3225dcc9006955335b31f0cfa934c97c9460fad48b2adfc5521a2a21597047f9057fc057c6f9699660d4bdee4346b0d827e73e7bd7a1af338cb9f974cde0d42c
7
- data.tar.gz: 80247e4b63f23e9625365c39e725dbfe4976135a08ec7ec8c497c0be3bbf197ea5437448971b181c1b6255c13198341790f0f4dc003bb0056423f76592cf7881
6
+ metadata.gz: e5862c01f659207a927473e90e83ce1e765b285741438eb5080c43d3b4365fec795287640b7da281cf8cfb1a6b57e04430f5dc7cc4b99ba80a7f51889edbae29
7
+ data.tar.gz: 33f8da84f7178bd22755207496a76733d29e2fff73f13de766af2881fe3c7d5791f92347bdee35ba881b4fc5f8524f6f9b85f1ea311ac84a5c7bcc2fd4b648ca
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "optify_ruby"
3
- version = "0.25.0"
3
+ version = "0.26.0"
4
4
  edition = "2021"
5
5
 
6
6
  description = "optify bindings for Ruby"
@@ -22,6 +22,6 @@ crate-type = ["cdylib"]
22
22
  [dependencies]
23
23
  magnus = "0.8.2"
24
24
  # Can't put a relative path here because then others can't install the source gem: https://github.com/juharris/optify/pull/176
25
- optify = "1.4.0"
25
+ optify = "1.5.0"
26
26
  rb-sys = { version = "0.9.124", default-features = false, features = ["ruby-static"] }
27
27
  serde_json = "1.0.149"
data/rbi/optify.rbi CHANGED
@@ -412,7 +412,8 @@ module Optify
412
412
  end
413
413
  def map_feature_names(feature_names, preferences); end
414
414
 
415
- # @return The policies for the feature, or `nil` if the feature has no policies.
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.
416
417
  sig { params(canonical_feature_name: String).returns(T.nilable(Optify::Policies)) }
417
418
  def get_policies(canonical_feature_name); end
418
419
 
data/sig/optify.rbs CHANGED
@@ -235,7 +235,8 @@ 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 for the feature, or `nil` if the feature has no policies.
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.
239
240
  def get_policies: (String canonical_feature_name) -> Optify::Policies?
240
241
 
241
242
  def _check_policies: (String requester, ::Array[String] feature_names) -> String?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optify-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.24.0
4
+ version: 1.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin D. Harris
@@ -27,30 +27,36 @@ dependencies:
27
27
  name: optify-from_hash
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
- - - "~>"
30
+ - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 0.3.2
32
+ version: 0.4.0
33
+ - - "<"
34
+ - !ruby/object:Gem::Version
35
+ version: '1'
33
36
  type: :runtime
34
37
  prerelease: false
35
38
  version_requirements: !ruby/object:Gem::Requirement
36
39
  requirements:
37
- - - "~>"
40
+ - - ">="
38
41
  - !ruby/object:Gem::Version
39
- version: 0.3.2
42
+ version: 0.4.0
43
+ - - "<"
44
+ - !ruby/object:Gem::Version
45
+ version: '1'
40
46
  - !ruby/object:Gem::Dependency
41
47
  name: sin_lru_redux
42
48
  requirement: !ruby/object:Gem::Requirement
43
49
  requirements:
44
50
  - - "~>"
45
51
  - !ruby/object:Gem::Version
46
- version: 2.5.2
52
+ version: 2.5.3
47
53
  type: :runtime
48
54
  prerelease: false
49
55
  version_requirements: !ruby/object:Gem::Requirement
50
56
  requirements:
51
57
  - - "~>"
52
58
  - !ruby/object:Gem::Version
53
- version: 2.5.2
59
+ version: 2.5.3
54
60
  - !ruby/object:Gem::Dependency
55
61
  name: sorbet-runtime
56
62
  requirement: !ruby/object:Gem::Requirement