optify-config 1.15.0 → 1.15.2

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: 65334ccc886cf5a479eb7734f81d234bd088c85ed1e06a01d6693197076536d9
4
+ data.tar.gz: daf480e5bfb9174c58ffcfaf07023a1f1f3fbf0370410e35271d7ee0e90987a9
5
5
  SHA512:
6
- metadata.gz: a01213353f8a1913b1df2940739c76861f67881958d03ef9ece8b17055537225df11d0c2cf6e6538e0ed7b0c1ebbcc2a71288473833fed2b7ca9dd7336d1dc89
7
- data.tar.gz: b5fc790c785cdc689db5d181fdd5b483003b826a0e4b04c3591970356faa2879803aa677b3c07ef7070e656a2fe459855d9fbecae79a1ceac75ad6468ae58384
6
+ metadata.gz: 4fd19ad0474abdf115c39b24c595468b532cbb5fb97d85fc04da27612f070fe28daf5a367705319c81599ed22841e67cc94a35a416b2c31c387ab97134b3a3a1
7
+ data.tar.gz: c72936edfbc178ac88427a529104a17f5466e37d4ce8fcf26f2ce3927f2d3c8e6fac3c22049a622b0d167b5b47ae6d898d5021303641296a0846cba62ed0258a
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "optify_ruby"
3
- version = "0.16.0"
3
+ version = "0.17.0"
4
4
  edition = "2021"
5
5
 
6
6
  description = "optify bindings for Ruby"
@@ -20,7 +20,7 @@ exclude = [
20
20
  crate-type = ["cdylib"]
21
21
 
22
22
  [dependencies]
23
- magnus = "0.7.1"
24
- optify = { path = "../../../../rust/optify", version = "0.17.0" }
23
+ magnus = "0.8.0"
24
+ optify = { path = "../../../../rust/optify", version = "0.18.0" }
25
25
  rb-sys = { version = "*", default-features = false, features = ["ruby-static"] }
26
- serde_json = "1.0.140"
26
+ serde_json = "1.0.143"
@@ -11,7 +11,7 @@ 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.
14
+ # The canonical names of features that import this one.
15
15
  sig { returns(T.nilable(T::Array[String])) }
16
16
  attr_reader :dependents
17
17
 
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,7 +45,7 @@ module Optify
37
45
  sig { returns(T.nilable(T::Array[String])) }
38
46
  def aliases; end
39
47
 
40
- # The canonical names of features that depend on this one.
48
+ # The canonical names of features that import this one.
41
49
  sig { returns(T.nilable(T::Array[String])) }
42
50
  def dependents; end
43
51
 
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,7 +38,7 @@ end
31
38
  class Optify::OptionsMetadata < BaseConfig
32
39
  def aliases: () -> ::Array[String]?
33
40
 
34
- # The canonical names of features that depend on this one.
41
+ # The canonical names of features that import this one.
35
42
  def dependents: () -> ::Array[String]?
36
43
 
37
44
  def details: () -> untyped
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.2
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-09-03 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rb_sys
@@ -15,28 +15,28 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: 0.9.114
18
+ version: 0.9.117
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: 0.9.114
25
+ version: 0.9.117
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: sorbet-runtime
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: 0.5.12167
32
+ version: 0.6.12477
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: 0.5.12167
39
+ version: 0.6.12477
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rake-compiler
42
42
  requirement: !ruby/object:Gem::Requirement
@@ -71,28 +71,28 @@ dependencies:
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 0.5.12167
74
+ version: 0.6.12477
75
75
  type: :development
76
76
  prerelease: false
77
77
  version_requirements: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: 0.5.12167
81
+ version: 0.6.12477
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: tapioca
84
84
  requirement: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: 0.17.2
88
+ version: 0.17.7
89
89
  type: :development
90
90
  prerelease: false
91
91
  version_requirements: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: 0.17.2
95
+ version: 0.17.7
96
96
  - !ruby/object:Gem::Dependency
97
97
  name: test-unit
98
98
  requirement: !ruby/object:Gem::Requirement