tone 0.4.0 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/tone.rb +4 -2
- data/tone.gemspec +2 -2
- data.tar.gz.sig +0 -0
- metadata +7 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57f50020b340ef4e0512888fec0c934ce3c1a8d32b8f183eb2132d9d3d8ab3f6
|
4
|
+
data.tar.gz: 6f3c7b64ca67632712c283ebeeb5899266843d75144a0abcdc576dc366af700e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2136ca57925e99680fc98ad61667e35c5c3fa41f01dd0303514319baa3c858d60877b488a7db2b71a0c37e375f7a6ea8d5c25b337cc8aa723a00243c13acf963
|
7
|
+
data.tar.gz: 473307980c132e2098a0b9917a2db5b22d1a64d670743c5bb6564f74d8b468153a6b0177e028456abe9b27b13b1c223238084b64c82be330364fdd936002fd69
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/tone.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
require "zeitwerk"
|
4
4
|
|
5
5
|
Zeitwerk::Loader.new.then do |loader|
|
6
|
-
loader.ignore "#{__dir__}/rspec
|
6
|
+
loader.ignore "#{__dir__}/tone/rspec"
|
7
7
|
loader.tag = File.basename __FILE__, ".rb"
|
8
8
|
loader.push_dir __dir__
|
9
9
|
loader.setup
|
@@ -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
|
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.
|
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 = "
|
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.
|
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-
|
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.
|
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
|