tone 0.2.0 → 0.3.1

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: 9545daf90651afc61d7c2746db9b12e99cdebf768f1930d5d7933b01573dc301
4
- data.tar.gz: 124e32e3aa2201636dc3a6a269c10145dfa5e8c41b7c0b6597ef8254cf631082
3
+ metadata.gz: b4fb38653783e602825e8b6de93ea5f12ef46b30be55ad015143992c1f79eae1
4
+ data.tar.gz: 357a7c1e618bf8d20690fa0579e8a068452d66dc2e434818419f52fcbe2cd3fe
5
5
  SHA512:
6
- metadata.gz: 9894a60b8dc02cf1624904dd802f3f824b9ef326b1632beca7c763ca131ea686032296d6d33aa49b3e5a1cfb2d1c72c4d889464d95bf46150bf8dcada2e47ee1
7
- data.tar.gz: e81e5dfa92d3e42b789759fa0ea481abd9a3e785b3a0eb72d2de9d4be685e348bc6e5b5363f982c24435f68cf2f6cbe63748ccce86e5bee4d4ad395f75c40da4
6
+ metadata.gz: 8ce1593d49bfd1cab3ef2944b5e8a49cb5aaf79583c60fbb214e23a798cc9c847b19f8df1f0382625477cb672996bfd527e51e4cf908f6d2e6bd2657c554658c
7
+ data.tar.gz: '0845593ef26023977c6c387f80b3218cd254c9c79eb6f7b709a8f4647d7157a31ec9e10737a400677228f5e2977ec58b6bddae64ac4b953013a63ce006c9efc0'
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/tone/aliaser.rb CHANGED
@@ -20,7 +20,7 @@ module Tone
20
20
  custom.fetch symbol do
21
21
  return key if defaults.key? symbol
22
22
 
23
- usage = defaults.keys.append(*custom.keys).map(&:inspect).to_sentence conjunction: "and/or"
23
+ usage = defaults.keys.append(*custom.keys).to_usage "and/or"
24
24
 
25
25
  fail Error, "Invalid alias or default: #{key.inspect}. Use: #{usage}."
26
26
  end
@@ -51,7 +51,7 @@ module Tone
51
51
 
52
52
  def check_style key, style
53
53
  defaults.fetch style do
54
- usage = defaults.keys.map(&:inspect).to_sentence conjunction: "and/or"
54
+ usage = defaults.keys.to_usage "and/or"
55
55
 
56
56
  fail Error, "Invalid style (#{style.inspect}) for key (#{key.inspect}). Use: #{usage}."
57
57
  end
data/tone.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "tone"
5
- spec.version = "0.2.0"
5
+ spec.version = "0.3.1"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/tone"
9
- spec.summary = "A customizable ANSI text colorizer for your terminal."
9
+ spec.summary = "A customizable ANSI text terminal colorizer."
10
10
  spec.license = "Hippocratic-2.1"
11
11
 
12
12
  spec.metadata = {
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
25
  spec.required_ruby_version = "~> 3.2"
26
- spec.add_dependency "refinements", "~> 10.0"
26
+ spec.add_dependency "refinements", "~> 11.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.2.0
4
+ version: 0.3.1
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-04-22 00:00:00.000000000 Z
38
+ date: 2023-06-19 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: '10.0'
46
+ version: '11.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: '10.0'
53
+ version: '11.0'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: zeitwerk
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -112,8 +112,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
114
  requirements: []
115
- rubygems_version: 3.4.12
115
+ rubygems_version: 3.4.14
116
116
  signing_key:
117
117
  specification_version: 4
118
- summary: A customizable ANSI text colorizer for your terminal.
118
+ summary: A customizable ANSI text terminal colorizer.
119
119
  test_files: []
metadata.gz.sig CHANGED
Binary file