optify-config 1.15.0 → 1.15.1

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: 55a934db67cdad6fb502d0ba8fc7d6fac5eb9db2688901eed595a176f88869c7
4
- data.tar.gz: 28ca1c27d92034594efbaa3b1079734345ad6ac882c9a00e399f9e0326453ac8
3
+ metadata.gz: f1b53fc9e31411125d7992a3792c0996e5ecaa601c6bd358cac87edfb892d23a
4
+ data.tar.gz: 81d918c1e6c158151acf7ecf9f42921a9923bf65b0715e9d513ddbc0abb0450d
5
5
  SHA512:
6
- metadata.gz: a01213353f8a1913b1df2940739c76861f67881958d03ef9ece8b17055537225df11d0c2cf6e6538e0ed7b0c1ebbcc2a71288473833fed2b7ca9dd7336d1dc89
7
- data.tar.gz: b5fc790c785cdc689db5d181fdd5b483003b826a0e4b04c3591970356faa2879803aa677b3c07ef7070e656a2fe459855d9fbecae79a1ceac75ad6468ae58384
6
+ metadata.gz: 6612e0b70c30545f9203faea8b0b6ccf8a3850b3a0591026f23d34c9e829eb9f614dd2ecd7cd68db744764b938d06a954619339357205cd04a48e9a1f26aa654
7
+ data.tar.gz: 1cc9a9a16641134cdcf8ca18f47009e4e8077409392e7f2a0166059f67ad7b5e89ee9fe9d48124d6471433fd9d90fcbe1b42d56b00400ac0c79e4bbb58fffe0b
@@ -23,4 +23,4 @@ crate-type = ["cdylib"]
23
23
  magnus = "0.7.1"
24
24
  optify = { path = "../../../../rust/optify", version = "0.17.0" }
25
25
  rb-sys = { version = "*", default-features = false, features = ["ruby-static"] }
26
- serde_json = "1.0.140"
26
+ serde_json = "1.0.142"
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.
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.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optify-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin D. Harris
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-08-17 00:00:00.000000000 Z
10
+ date: 2025-08-25 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rb_sys