optify-config 1.14.0-x86_64-linux → 1.15.1-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 +4 -4
- data/lib/optify_ruby/3.2/optify_ruby.so +0 -0
- data/lib/optify_ruby/3.4/optify_ruby.so +0 -0
- data/lib/optify_ruby/options_metadata.rb +4 -0
- data/rbi/optify.rbi +26 -0
- data/sig/optify.rbs +22 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a0c740cc04795c50b95014ced937fad335b9f5fe03b2cf243a10e366a94c732
|
4
|
+
data.tar.gz: 14a3daedd04282e6a39d2d8cb8c02e3aba61660e2a931b9fbc85cd6b4ef98d2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c4713f80f9ff083573bfb13a38601455d5d3e96f16a5fb22f360e6539ab8e327856e54e9209b7bd9bda282806141c3420d6d7bcf9dea69901f753d2ffd7d692
|
7
|
+
data.tar.gz: 2285db8bc994a189e0fe47888b5e2b56f61af77630d2e002ee769e914437c4d6677f64e8bd25c2d3edfa801f81f8f4e4060eb6865e23880366a15324da0bfd9c
|
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
|
|
data/rbi/optify.rbi
CHANGED
@@ -20,6 +20,14 @@ module Optify
|
|
20
20
|
sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
|
21
21
|
def self.from_hash(hash); end
|
22
22
|
|
23
|
+
# Convert this object to a Hash recursively.
|
24
|
+
# This is mostly the reverse operation of `from_hash`,
|
25
|
+
# as keys will be symbols
|
26
|
+
# and `from_hash` will convert strings to symbols if that's how the attribute is declared.
|
27
|
+
# @return The hash representation of this object.
|
28
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
29
|
+
def to_h; end
|
30
|
+
|
23
31
|
# Compare this object with another object for equality.
|
24
32
|
# @param other The object to compare.
|
25
33
|
# @return [Boolean] true if the objects are equal; otherwise, false.
|
@@ -37,6 +45,10 @@ module Optify
|
|
37
45
|
sig { returns(T.nilable(T::Array[String])) }
|
38
46
|
def aliases; end
|
39
47
|
|
48
|
+
# The canonical names of features that depend on this one.
|
49
|
+
sig { returns(T.nilable(T::Array[String])) }
|
50
|
+
def dependents; end
|
51
|
+
|
40
52
|
sig { returns(T.untyped) }
|
41
53
|
def details; end
|
42
54
|
|
@@ -101,11 +113,25 @@ module Optify
|
|
101
113
|
sig { params(directory: String).returns(T.attached_class) }
|
102
114
|
def build(directory); end
|
103
115
|
|
116
|
+
# Build using just one directory and enforce a schema for all feature files.
|
117
|
+
# @param directory The directory to build the provider from.
|
118
|
+
# @param schema_path The path to the file of the schema to enforce.
|
119
|
+
# @return The instance.
|
120
|
+
sig { params(directory: String, schema_path: String).returns(T.attached_class) }
|
121
|
+
def build_with_schema(directory, schema_path); end
|
122
|
+
|
104
123
|
# Build from multiple directories.
|
105
124
|
# @param directories The directories to build the provider from.
|
106
125
|
# @return The instance.
|
107
126
|
sig { params(directories: T::Array[String]).returns(T.attached_class) }
|
108
127
|
def build_from_directories(directories); end
|
128
|
+
|
129
|
+
# Build from multiple directories and enforce a schema for all feature files.
|
130
|
+
# @param directories The directories to build the provider from.
|
131
|
+
# @param schema The schema to enforce.
|
132
|
+
# @return The instance.
|
133
|
+
sig { params(directories: T::Array[String], schema_path: String).returns(T.attached_class) }
|
134
|
+
def build_from_directories_with_schema(directories, schema_path); end
|
109
135
|
end
|
110
136
|
|
111
137
|
# @return All of the aliases.
|
data/sig/optify.rbs
CHANGED
@@ -16,6 +16,13 @@ class Optify::BaseConfig
|
|
16
16
|
# @return The new instance.
|
17
17
|
def self.from_hash: (::Hash[untyped, untyped] hash) -> instance
|
18
18
|
|
19
|
+
# Convert this object to a Hash recursively.
|
20
|
+
# This is mostly the reverse operation of `from_hash`,
|
21
|
+
# as keys will be symbols
|
22
|
+
# and `from_hash` will convert strings to symbols if that's how the attribute is declared.
|
23
|
+
# @return The hash representation of this object.
|
24
|
+
def to_h: () -> ::Hash[Symbol, untyped]
|
25
|
+
|
19
26
|
# Compare this object with another object for equality.
|
20
27
|
# @param other The object to compare.
|
21
28
|
# @return [Boolean] true if the objects are equal; otherwise, false.
|
@@ -31,6 +38,9 @@ end
|
|
31
38
|
class Optify::OptionsMetadata < BaseConfig
|
32
39
|
def aliases: () -> ::Array[String]?
|
33
40
|
|
41
|
+
# The canonical names of features that depend on this one.
|
42
|
+
def dependents: () -> ::Array[String]?
|
43
|
+
|
34
44
|
def details: () -> untyped
|
35
45
|
|
36
46
|
def name: () -> String
|
@@ -78,11 +88,23 @@ class Optify::OptionsRegistry
|
|
78
88
|
# @return The instance.
|
79
89
|
def build: (String directory) -> instance
|
80
90
|
|
91
|
+
# Build using just one directory and enforce a schema for all feature files.
|
92
|
+
# @param directory The directory to build the provider from.
|
93
|
+
# @param schema_path The path to the file of the schema to enforce.
|
94
|
+
# @return The instance.
|
95
|
+
def build_with_schema: (String directory, String schema_path) -> instance
|
96
|
+
|
81
97
|
# Build from multiple directories.
|
82
98
|
# @param directories The directories to build the provider from.
|
83
99
|
# @return The instance.
|
84
100
|
def build_from_directories: (::Array[String] directories) -> instance
|
85
101
|
|
102
|
+
# Build from multiple directories and enforce a schema for all feature files.
|
103
|
+
# @param directories The directories to build the provider from.
|
104
|
+
# @param schema The schema to enforce.
|
105
|
+
# @return The instance.
|
106
|
+
def build_from_directories_with_schema: (::Array[String] directories, String schema_path) -> instance
|
107
|
+
|
86
108
|
# @return All of the aliases.
|
87
109
|
def aliases: () -> ::Array[String]
|
88
110
|
|
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.15.1
|
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-08-
|
11
|
+
date: 2025-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sorbet-runtime
|