optify-config 1.10.0 → 1.11.0

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/rbi/optify.rbi +2 -3
  3. data/sig/optify.rbs +2 -3
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 559b39c3065c5ad83c855ab89bffd29a29d6cba4c00b21d1d7d9f7968ce19abe
4
- data.tar.gz: 99c6f828ed5047fd6770ff4604f63dd5df1e54be6eabce75bb7217cbe33a98b2
3
+ metadata.gz: 5c469a50d682d32a3452f845f8aff3d94ff3211d633f8cc3801ff5e6ed20bb24
4
+ data.tar.gz: 9a25f828047becf5aebfccac21065828785b66c3af5549e68b408a7215294836
5
5
  SHA512:
6
- metadata.gz: 13ce6b73ad7b00e93694aab6500b6a792baa6015f509dfd72d086dd40fbaadfad81df3e80c49e0b27950d705453b30a6a1f933ce8ef6629220b17a82e2ddcb70
7
- data.tar.gz: 031bcd4471157b40b4589a177fa0b697a3e07e72890238c1a1714f4516c213daeb5566976723f6db3f354dbd1ce2bc6032ece6867776c35cda3a5a035ed09ec3
6
+ metadata.gz: edc4a41fed55115e3f2ef51a1c67c4012a764c8880dc51d900043d7a699ecbdcafdd95f91a560815721467f2aee73d18040e9ab8e9790ec3da2c423626c586e6
7
+ data.tar.gz: 8c2c4845aea3cdeb8b7a345a41e1a9605d6262b0b3631f838ae703e6bc98103348f2bf52f9d847437dfe040fda9f97a7715962b876c32c80bcd3c76ed30c93a1
data/rbi/optify.rbi CHANGED
@@ -74,6 +74,8 @@ module Optify
74
74
 
75
75
  # A registry of features that provides configurations.
76
76
  class OptionsRegistry
77
+ include ProviderModule
78
+
77
79
  abstract!
78
80
 
79
81
  class << self
@@ -209,7 +211,6 @@ module Optify
209
211
 
210
212
  # Provides configurations based on keys and enabled feature names.
211
213
  class OptionsProvider < OptionsRegistry
212
- include ProviderModule
213
214
  end
214
215
 
215
216
  # A builder for creating an `OptionsProvider` instance.
@@ -228,8 +229,6 @@ module Optify
228
229
 
229
230
  # Like `OptionsProvider` but also watches for changes to the files and reloads the options.
230
231
  class OptionsWatcher < OptionsRegistry
231
- include ProviderModule
232
-
233
232
  # @return [Time] Returns the time when the provider was finished building.
234
233
  sig { returns(Time) }
235
234
  def last_modified; end
data/sig/optify.rbs CHANGED
@@ -60,6 +60,8 @@ end
60
60
 
61
61
  # A registry of features that provides configurations.
62
62
  class Optify::OptionsRegistry
63
+ include ProviderModule
64
+
63
65
  # Build using just one directory.
64
66
  # @param directory The directory to build the provider from.
65
67
  # @return The instance.
@@ -139,7 +141,6 @@ end
139
141
 
140
142
  # Provides configurations based on keys and enabled feature names.
141
143
  class Optify::OptionsProvider < OptionsRegistry
142
- include ProviderModule
143
144
  end
144
145
 
145
146
  # A builder for creating an `OptionsProvider` instance.
@@ -156,8 +157,6 @@ end
156
157
 
157
158
  # Like `OptionsProvider` but also watches for changes to the files and reloads the options.
158
159
  class Optify::OptionsWatcher < OptionsRegistry
159
- include ProviderModule
160
-
161
160
  # @return [Time] Returns the time when the provider was finished building.
162
161
  def last_modified: () -> Time
163
162
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optify-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin D. Harris