optify-config 1.4.3-aarch64-linux → 1.6.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: d9769e2e2f957147a0ad508b8baffc30df39a7aa91deff29db27951b11cf231a
4
- data.tar.gz: b0cd786054b8b563e6fe2036de93678721da64c786872936c1b96c44cee142f2
3
+ metadata.gz: b3a9da7a287bbf3fa695dca6df69b229cb98dc76fe132f62f8cfd61aa762bf18
4
+ data.tar.gz: 8a89ea9ef41b55d4e40579effce588ed59f4231c1f950096fcf18c98b4e71d6e
5
5
  SHA512:
6
- metadata.gz: cd1cd238050b3235c84d48615dc87a569ff821813e841f12391a479cab7cc591d7d55fcf1520c2cdfd8ce0f443e387f4470eb34cd7c84439c83ea59c36f2c63d
7
- data.tar.gz: 40fa0700d33c1e964f2e7052cfa69db1f8f7c9d0566cb8ef9bcfceb41d194541e00e0c77df7ea2b356232ffd0506b2d507fcc9c17121f935669b3658c32c83d7
6
+ metadata.gz: c45c80e507036687e6b899682fdc9469f4c6770b2a509f40281680b203a0eba87dc8ec756fe9fedb46335c779673ea9e42b1005664069c7a605dd807928d96c1
7
+ data.tar.gz: '088f74afbfe575abed9d0727ed3f65f1f2e98cf221645646467181ce1cfb02c2c8de5bc5b1e2cdad8037d61470e5e899218d375917001328a06a90a3f913a4ff'
Binary file
Binary file
@@ -95,5 +95,18 @@ module Optify
95
95
  end
96
96
 
97
97
  private_class_method :_convert_hash, :_convert_value
98
+
99
+ # Compare this object with another object for equality.
100
+ # @param other The object to compare.
101
+ # @return [Boolean] true if the objects are equal; otherwise, false.
102
+ #: (untyped other) -> bool
103
+ def ==(other)
104
+ return true if other.equal?(self)
105
+ return false unless other.is_a?(self.class)
106
+
107
+ instance_variables.all? do |var|
108
+ instance_variable_get(var) == other.instance_variable_get(var)
109
+ end
110
+ end
98
111
  end
99
112
  end
data/rbi/optify.rbi CHANGED
@@ -19,6 +19,12 @@ module Optify
19
19
  # @return The new instance.
20
20
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
21
21
  def self.from_hash(hash); end
22
+
23
+ # Compare this object with another object for equality.
24
+ # @param other The object to compare.
25
+ # @return [Boolean] true if the objects are equal; otherwise, false.
26
+ sig { params(other: T.untyped).returns(T::Boolean) }
27
+ def ==(other); end
22
28
  end
23
29
 
24
30
  # Options for caching.
@@ -70,6 +76,14 @@ module Optify
70
76
  class OptionsRegistry
71
77
  abstract!
72
78
 
79
+ # @return All of the aliases.
80
+ sig { returns(T::Array[String]) }
81
+ def aliases; end
82
+
83
+ # @return All of the aliases and features.
84
+ sig { returns(T::Array[String]) }
85
+ def features_and_aliases; end
86
+
73
87
  # @return All of the canonical feature names.
74
88
  sig { returns(T::Array[String]) }
75
89
  def features; end
data/sig/optify.rbs CHANGED
@@ -15,6 +15,11 @@ class Optify::BaseConfig
15
15
  # @param hash The hash to create the instance from.
16
16
  # @return The new instance.
17
17
  def self.from_hash: (::Hash[untyped, untyped] hash) -> instance
18
+
19
+ # Compare this object with another object for equality.
20
+ # @param other The object to compare.
21
+ # @return [Boolean] true if the objects are equal; otherwise, false.
22
+ def ==: (untyped other) -> bool
18
23
  end
19
24
 
20
25
  # Options for caching.
@@ -55,6 +60,12 @@ end
55
60
 
56
61
  # A registry of features that provides configurations.
57
62
  class Optify::OptionsRegistry
63
+ # @return All of the aliases.
64
+ def aliases: () -> ::Array[String]
65
+
66
+ # @return All of the aliases and features.
67
+ def features_and_aliases: () -> ::Array[String]
68
+
58
69
  # @return All of the canonical feature names.
59
70
  def features: () -> ::Array[String]
60
71
 
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.3
4
+ version: 1.6.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: 2025-05-16 00:00:00.000000000 Z
11
+ date: 2025-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime