tone 0.4.2 → 1.1.0

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: 57f50020b340ef4e0512888fec0c934ce3c1a8d32b8f183eb2132d9d3d8ab3f6
4
- data.tar.gz: 6f3c7b64ca67632712c283ebeeb5899266843d75144a0abcdc576dc366af700e
3
+ metadata.gz: bf84fc4b1d4f1babd605885fdbb2f2b0522dc6effd63e169b2c5a3d114245543
4
+ data.tar.gz: a46ff70eac9d9f36ceb945b46107467313cfda0e97e2ef4ca970b2cf7f0e9a39
5
5
  SHA512:
6
- metadata.gz: 2136ca57925e99680fc98ad61667e35c5c3fa41f01dd0303514319baa3c858d60877b488a7db2b71a0c37e375f7a6ea8d5c25b337cc8aa723a00243c13acf963
7
- data.tar.gz: 473307980c132e2098a0b9917a2db5b22d1a64d670743c5bb6564f74d8b468153a6b0177e028456abe9b27b13b1c223238084b64c82be330364fdd936002fd69
6
+ metadata.gz: a893a20598cc77bf962c7c1b39420c15b689b10c97db047fcd181bc3300efddc51071c96115170aab6d5ef8ead0b8f4911c8ff5b51e066c3eac81fd2382c8f9c
7
+ data.tar.gz: 71cb03eb13de0b9cebd33458b4f95caba6e1b01e6f2cc102612d38089a6c1b276f2600d4f984457862b3c3463e41473d2bb65ce7f60d558ecfbc72b1cb48fcc6
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -475,11 +475,11 @@ You can use the IRB console for direct access to all objects:
475
475
  bin/console
476
476
  ----
477
477
 
478
- Lastly, there is a `bin/show` script which displays the default styles for quick visual reference. This is the same script used to generate the screenshots shown at the top of this document.
478
+ Lastly, there is a `bin/demo` script which displays the default styles for quick visual reference. This is the same script used to generate the screenshots shown at the top of this document.
479
479
 
480
480
  [source,bash]
481
481
  ----
482
- bin/show
482
+ bin/demo
483
483
  ----
484
484
 
485
485
  == Tests
data/lib/tone/aliaser.rb CHANGED
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/arrays"
3
+ require "refinements/array"
4
4
 
5
5
  module Tone
6
6
  # Allows storage of custom custom which can be referenced when colorizing text.
7
7
  class Aliaser
8
- using Refinements::Arrays
8
+ using Refinements::Array
9
9
 
10
10
  attr_reader :defaults
11
11
 
data/lib/tone/encoder.rb CHANGED
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/arrays"
3
+ require "refinements/array"
4
4
 
5
5
  module Tone
6
6
  # Encodes plain text as colorized text.
7
7
  class Encoder
8
- using Refinements::Arrays
8
+ using Refinements::Array
9
9
 
10
10
  def initialize aliaser: Aliaser.new, enabled: $stdout.tty?
11
11
  @aliaser = aliaser
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.2"
5
+ spec.version = "1.1.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/tone"
@@ -22,8 +22,8 @@ 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", "<= 3.3"]
26
- spec.add_dependency "refinements", "~> 11.0"
25
+ spec.required_ruby_version = "~> 3.3"
26
+ spec.add_dependency "refinements", "~> 12.0"
27
27
  spec.add_dependency "zeitwerk", "~> 2.6"
28
28
 
29
29
  spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
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.2
4
+ version: 1.1.0
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-11-16 00:00:00.000000000 Z
38
+ date: 2024-02-20 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: refinements
@@ -43,14 +43,14 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '11.0'
46
+ version: '12.0'
47
47
  type: :runtime
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '11.0'
53
+ version: '12.0'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: zeitwerk
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -103,10 +103,7 @@ require_paths:
103
103
  - lib
104
104
  required_ruby_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
- - - ">="
107
- - !ruby/object:Gem::Version
108
- version: '3.2'
109
- - - "<="
106
+ - - "~>"
110
107
  - !ruby/object:Gem::Version
111
108
  version: '3.3'
112
109
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -115,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
112
  - !ruby/object:Gem::Version
116
113
  version: '0'
117
114
  requirements: []
118
- rubygems_version: 3.4.22
115
+ rubygems_version: 3.5.6
119
116
  signing_key:
120
117
  specification_version: 4
121
118
  summary: A customizable ANSI text terminal colorizer.
metadata.gz.sig CHANGED
Binary file