tone 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 69eeca909cd1a1744cd45d441d7003936cbd3ef7759002e67e6c70fb20800779
4
- data.tar.gz: 280790539dd73bb9d35eba90209653f318a71afb263451397014ab0844930fd6
3
+ metadata.gz: 57f50020b340ef4e0512888fec0c934ce3c1a8d32b8f183eb2132d9d3d8ab3f6
4
+ data.tar.gz: 6f3c7b64ca67632712c283ebeeb5899266843d75144a0abcdc576dc366af700e
5
5
  SHA512:
6
- metadata.gz: 0acea2632285ec54b656d10f1193ef01a1e16abb5807f60df36c94e85147e845439df228c526b2baaf9bbcebe9d8b438d4e4b68148de825ccdac108c0dccaaa4
7
- data.tar.gz: ea97ca37c24ce2555b7dcc50ba75f92270de70dc903f1d527ef1228f3f8d5d31133512f7c8bdaa53851b35aa0c32b2118abb7d5095b1626d52a5f9f5705de80f
6
+ metadata.gz: 2136ca57925e99680fc98ad61667e35c5c3fa41f01dd0303514319baa3c858d60877b488a7db2b71a0c37e375f7a6ea8d5c25b337cc8aa723a00243c13acf963
7
+ data.tar.gz: 473307980c132e2098a0b9917a2db5b22d1a64d670743c5bb6564f74d8b468153a6b0177e028456abe9b27b13b1c223238084b64c82be330364fdd936002fd69
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/tone.rb CHANGED
@@ -14,7 +14,9 @@ module Tone
14
14
  DEFAULTS = Configuration::Loader.new.call
15
15
  CONTAINER = {defaults: DEFAULTS, aliaser: Aliaser, encoder: Encoder, decoder: Decoder}.freeze
16
16
 
17
- def self.loader(registry = Zeitwerk::Registry) = registry.loader_for __FILE__
17
+ def self.loader registry = Zeitwerk::Registry
18
+ @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
19
+ end
18
20
 
19
21
  def self.new(...) = Client.new(...)
20
22
  end
data/tone.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "tone"
5
- spec.version = "0.4.1"
5
+ spec.version = "0.4.2"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/tone"
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.signing_key = Gem.default_key_path
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
- spec.required_ruby_version = "~> 3.2"
25
+ spec.required_ruby_version = [">= 3.2", "<= 3.3"]
26
26
  spec.add_dependency "refinements", "~> 11.0"
27
27
  spec.add_dependency "zeitwerk", "~> 2.6"
28
28
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -35,7 +35,7 @@ cert_chain:
35
35
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
36
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
37
  -----END CERTIFICATE-----
38
- date: 2023-10-24 00:00:00.000000000 Z
38
+ date: 2023-11-16 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: refinements
@@ -103,16 +103,19 @@ require_paths:
103
103
  - lib
104
104
  required_ruby_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
- - - "~>"
106
+ - - ">="
107
107
  - !ruby/object:Gem::Version
108
108
  version: '3.2'
109
+ - - "<="
110
+ - !ruby/object:Gem::Version
111
+ version: '3.3'
109
112
  required_rubygems_version: !ruby/object:Gem::Requirement
110
113
  requirements:
111
114
  - - ">="
112
115
  - !ruby/object:Gem::Version
113
116
  version: '0'
114
117
  requirements: []
115
- rubygems_version: 3.4.21
118
+ rubygems_version: 3.4.22
116
119
  signing_key:
117
120
  specification_version: 4
118
121
  summary: A customizable ANSI text terminal colorizer.
metadata.gz.sig CHANGED
Binary file