optify-config 1.13.0-x86_64-linux → 1.15.0-x86_64-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: e9ebe8b0dea5ea3a6b56780fb1d29fe95e8fadfa7f49330aaefc9cded76070f0
4
- data.tar.gz: 8363c9c77b20f16be79250d0772413a052067bee2c78ff3fcb50121b2372a1dc
3
+ metadata.gz: 3c1144b1d48c53b9787228845a1c2ced3b587b13f98dea3427fd86eecf987bdc
4
+ data.tar.gz: a8183a77278c90d4812cd1066e931fe5e2a20e3a6593646bd104bf7d8112a9ce
5
5
  SHA512:
6
- metadata.gz: 5250ff99da0e301ffb8559f0e15acfdce3365e51da3eaab47f39710f2de27da9a551ee6df3d39b2161f3db2234c728413b92051af10c6d769f7d9ab449c18f77
7
- data.tar.gz: 1608e1f6dca653e0c852d39b9586f6f561400faa745009134232242930c1e7d493a9b81d0ff97a0c9b8b21f7ec51bea30b91905172186ad20c9b6f33df2cef3a
6
+ metadata.gz: 84f8f3eddc06778a681107581d69c5f42190a939fbcadaef07204084131e896ab65b4a2f6154866515ed6fb38753bbfda9565b7e8f9ba0cabf78c65acf19b4cd
7
+ data.tar.gz: 1e7cbf6eb35c2f36fe09d48ec36f0d9cefe133f6fe1dd52cd624062596157abe52c7814d100337573f7b6d7c70e6db8362be9c3b5053fb21b6d0456a699059ad
Binary file
Binary file
@@ -11,6 +11,10 @@ module Optify
11
11
  sig { returns(T.nilable(T::Array[String])) }
12
12
  attr_reader :aliases
13
13
 
14
+ # The canonical names of features that depend on this one.
15
+ sig { returns(T.nilable(T::Array[String])) }
16
+ attr_reader :dependents
17
+
14
18
  sig { returns(T.untyped) }
15
19
  attr_reader :details
16
20
 
@@ -19,5 +23,8 @@ module Optify
19
23
 
20
24
  sig { returns(T.nilable(String)) }
21
25
  attr_reader :owners
26
+
27
+ sig { returns(T.nilable(String)) }
28
+ attr_reader :path
22
29
  end
23
30
  end
data/rbi/optify.rbi CHANGED
@@ -37,6 +37,10 @@ module Optify
37
37
  sig { returns(T.nilable(T::Array[String])) }
38
38
  def aliases; end
39
39
 
40
+ # The canonical names of features that depend on this one.
41
+ sig { returns(T.nilable(T::Array[String])) }
42
+ def dependents; end
43
+
40
44
  sig { returns(T.untyped) }
41
45
  def details; end
42
46
 
@@ -45,6 +49,9 @@ module Optify
45
49
 
46
50
  sig { returns(T.nilable(String)) }
47
51
  def owners; end
52
+
53
+ sig { returns(T.nilable(String)) }
54
+ def path; end
48
55
  end
49
56
 
50
57
  # Preferences when getting options.
@@ -98,11 +105,25 @@ module Optify
98
105
  sig { params(directory: String).returns(T.attached_class) }
99
106
  def build(directory); end
100
107
 
108
+ # Build using just one directory and enforce a schema for all feature files.
109
+ # @param directory The directory to build the provider from.
110
+ # @param schema_path The path to the file of the schema to enforce.
111
+ # @return The instance.
112
+ sig { params(directory: String, schema_path: String).returns(T.attached_class) }
113
+ def build_with_schema(directory, schema_path); end
114
+
101
115
  # Build from multiple directories.
102
116
  # @param directories The directories to build the provider from.
103
117
  # @return The instance.
104
118
  sig { params(directories: T::Array[String]).returns(T.attached_class) }
105
119
  def build_from_directories(directories); end
120
+
121
+ # Build from multiple directories and enforce a schema for all feature files.
122
+ # @param directories The directories to build the provider from.
123
+ # @param schema The schema to enforce.
124
+ # @return The instance.
125
+ sig { params(directories: T::Array[String], schema_path: String).returns(T.attached_class) }
126
+ def build_from_directories_with_schema(directories, schema_path); end
106
127
  end
107
128
 
108
129
  # @return All of the aliases.
data/sig/optify.rbs CHANGED
@@ -31,11 +31,16 @@ end
31
31
  class Optify::OptionsMetadata < BaseConfig
32
32
  def aliases: () -> ::Array[String]?
33
33
 
34
+ # The canonical names of features that depend on this one.
35
+ def dependents: () -> ::Array[String]?
36
+
34
37
  def details: () -> untyped
35
38
 
36
39
  def name: () -> String
37
40
 
38
41
  def owners: () -> String?
42
+
43
+ def path: () -> String?
39
44
  end
40
45
 
41
46
  # Preferences when getting options.
@@ -76,11 +81,23 @@ class Optify::OptionsRegistry
76
81
  # @return The instance.
77
82
  def build: (String directory) -> instance
78
83
 
84
+ # Build using just one directory and enforce a schema for all feature files.
85
+ # @param directory The directory to build the provider from.
86
+ # @param schema_path The path to the file of the schema to enforce.
87
+ # @return The instance.
88
+ def build_with_schema: (String directory, String schema_path) -> instance
89
+
79
90
  # Build from multiple directories.
80
91
  # @param directories The directories to build the provider from.
81
92
  # @return The instance.
82
93
  def build_from_directories: (::Array[String] directories) -> instance
83
94
 
95
+ # Build from multiple directories and enforce a schema for all feature files.
96
+ # @param directories The directories to build the provider from.
97
+ # @param schema The schema to enforce.
98
+ # @return The instance.
99
+ def build_from_directories_with_schema: (::Array[String] directories, String schema_path) -> instance
100
+
84
101
  # @return All of the aliases.
85
102
  def aliases: () -> ::Array[String]
86
103
 
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.13.0
4
+ version: 1.15.0
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Justin D. Harris
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-07-09 00:00:00.000000000 Z
11
+ date: 2025-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime