term-ansicolor 1.7.0 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.all_images.yml +16 -0
- data/.tool-versions +1 -0
- data/CHANGES +1 -0
- data/Rakefile +2 -3
- data/VERSION +1 -1
- data/bin/term_display +11 -11
- data/lib/term/ansicolor/version.rb +1 -1
- data/term-ansicolor.gemspec +13 -27
- metadata +30 -16
- data/.travis.yml +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45d5c44dfe80380872b30c025fbbdb6da398482fce8adf8cbdb6353d81b6ca61
|
4
|
+
data.tar.gz: eed4f4cb1203e4ced32f053125e668ce6e9ffcca589b177cabcb40a675cc6e14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85098f326b4e01c3d3e0ae17dfcf00d3b76897625d5db09de1ca7c172b140b1250b05f98578a8534caf21032f24949a8a9ab81912d2d819a85aad4024c91b097
|
7
|
+
data.tar.gz: 23af07f3f3652f7867adab58eb360ed8f5d2adae614508ac92877d8aa6fbfd7e5a31501eb4dcb29f3ce0971f80e22b18a8667759d6d5dc78a30ef25abfcc3e53
|
data/.all_images.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
dockerfile: |-
|
2
|
+
RUN apk add --no-cache build-base git
|
3
|
+
RUN gem update --system
|
4
|
+
RUN gem install gem_hadar bundler
|
5
|
+
|
6
|
+
script: &script |-
|
7
|
+
echo -e "\e[1m"
|
8
|
+
ruby -v
|
9
|
+
echo -e "\e[0m"
|
10
|
+
bundle
|
11
|
+
rake test
|
12
|
+
|
13
|
+
images:
|
14
|
+
ruby:3.2-alpine: *script
|
15
|
+
ruby:3.1-alpine: *script
|
16
|
+
ruby:3.0-alpine: *script
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 3.2.3
|
data/CHANGES
CHANGED
data/Rakefile
CHANGED
@@ -8,7 +8,7 @@ GemHadar do
|
|
8
8
|
path_module 'Term::ANSIColor'
|
9
9
|
author 'Florian Frank'
|
10
10
|
email 'flori@ping.de'
|
11
|
-
homepage "
|
11
|
+
homepage "https://github.com/flori/#{name}"
|
12
12
|
summary 'Ruby library that colors strings using ANSI escape sequences'
|
13
13
|
description 'This library uses ANSI escape sequences to control the attributes of terminal output'
|
14
14
|
licenses << 'Apache-2.0'
|
@@ -23,6 +23,5 @@ GemHadar do
|
|
23
23
|
dependency 'tins', '~>1.0'
|
24
24
|
development_dependency 'simplecov'
|
25
25
|
development_dependency 'test-unit'
|
26
|
-
|
27
|
-
required_ruby_version '>= 2.0'
|
26
|
+
development_dependency 'utils'
|
28
27
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.7.
|
1
|
+
1.7.2
|
data/bin/term_display
CHANGED
@@ -54,20 +54,20 @@ def provide_ppm_file(filename, opts)
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def usage(rc = 0)
|
57
|
-
puts
|
58
|
-
|
57
|
+
puts <<EOT
|
58
|
+
Usage: #$0 [OPTIONS] FILENAME"
|
59
59
|
|
60
|
-
|
60
|
+
Options are
|
61
61
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
62
|
+
-m METRIC for distance (METRIC = #{Term::ANSIColor::RGBColorMetrics.metrics * '|'})
|
63
|
+
-g yes|no use/don't use gray values, defaults to yes
|
64
|
+
-s xyfit|xyfill scaling strategy, defaults to xyfit
|
65
|
+
-a ASPECT x:y aspect, defaults to 2.2
|
66
|
+
-C COLS number of columns for rendering with aspect, defaults to max
|
67
|
+
-R ROWS number of rows for rendering with aspect, defaults to max - 1
|
68
|
+
-h this help
|
69
69
|
|
70
|
-
|
70
|
+
EOT
|
71
71
|
exit rc
|
72
72
|
end
|
73
73
|
|
data/term-ansicolor.gemspec
CHANGED
@@ -1,45 +1,31 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: term-ansicolor 1.7.
|
2
|
+
# stub: term-ansicolor 1.7.2 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "term-ansicolor".freeze
|
6
|
-
s.version = "1.7.
|
6
|
+
s.version = "1.7.2"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|
10
10
|
s.authors = ["Florian Frank".freeze]
|
11
|
-
s.date = "
|
11
|
+
s.date = "2024-03-15"
|
12
12
|
s.description = "This library uses ANSI escape sequences to control the attributes of terminal output".freeze
|
13
13
|
s.email = "flori@ping.de".freeze
|
14
|
-
s.executables = ["
|
14
|
+
s.executables = ["term_cdiff".freeze, "term_colortab".freeze, "term_decolor".freeze, "term_display".freeze, "term_mandel".freeze, "term_snow".freeze]
|
15
15
|
s.extra_rdoc_files = ["README.md".freeze, "lib/term/ansicolor.rb".freeze, "lib/term/ansicolor/attribute.rb".freeze, "lib/term/ansicolor/attribute/color256.rb".freeze, "lib/term/ansicolor/attribute/color8.rb".freeze, "lib/term/ansicolor/attribute/intense_color8.rb".freeze, "lib/term/ansicolor/attribute/text.rb".freeze, "lib/term/ansicolor/hsl_triple.rb".freeze, "lib/term/ansicolor/movement.rb".freeze, "lib/term/ansicolor/ppm_reader.rb".freeze, "lib/term/ansicolor/rgb_color_metrics.rb".freeze, "lib/term/ansicolor/rgb_triple.rb".freeze, "lib/term/ansicolor/version.rb".freeze]
|
16
|
-
s.files = [".
|
17
|
-
s.homepage = "
|
16
|
+
s.files = [".all_images.yml".freeze, ".gitignore".freeze, ".tool-versions".freeze, "CHANGES".freeze, "COPYING".freeze, "Gemfile".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "bin/term_cdiff".freeze, "bin/term_colortab".freeze, "bin/term_decolor".freeze, "bin/term_display".freeze, "bin/term_mandel".freeze, "bin/term_snow".freeze, "examples/example.rb".freeze, "examples/lambda-red-plain.ppm".freeze, "examples/lambda-red.png".freeze, "examples/lambda-red.ppm".freeze, "lib/term/ansicolor.rb".freeze, "lib/term/ansicolor/.keep".freeze, "lib/term/ansicolor/attribute.rb".freeze, "lib/term/ansicolor/attribute/color256.rb".freeze, "lib/term/ansicolor/attribute/color8.rb".freeze, "lib/term/ansicolor/attribute/intense_color8.rb".freeze, "lib/term/ansicolor/attribute/text.rb".freeze, "lib/term/ansicolor/hsl_triple.rb".freeze, "lib/term/ansicolor/movement.rb".freeze, "lib/term/ansicolor/ppm_reader.rb".freeze, "lib/term/ansicolor/rgb_color_metrics.rb".freeze, "lib/term/ansicolor/rgb_triple.rb".freeze, "lib/term/ansicolor/version.rb".freeze, "term-ansicolor.gemspec".freeze, "tests/ansicolor_test.rb".freeze, "tests/attribute_test.rb".freeze, "tests/hsl_triple_test.rb".freeze, "tests/ppm_reader_test.rb".freeze, "tests/rgb_color_metrics_test.rb".freeze, "tests/rgb_triple_test.rb".freeze, "tests/test_helper.rb".freeze]
|
17
|
+
s.homepage = "https://github.com/flori/term-ansicolor".freeze
|
18
18
|
s.licenses = ["Apache-2.0".freeze]
|
19
19
|
s.rdoc_options = ["--title".freeze, "Term-ansicolor - Ruby library that colors strings using ANSI escape sequences".freeze, "--main".freeze, "README.md".freeze]
|
20
|
-
s.
|
21
|
-
s.rubygems_version = "2.7.7".freeze
|
20
|
+
s.rubygems_version = "3.4.19".freeze
|
22
21
|
s.summary = "Ruby library that colors strings using ANSI escape sequences".freeze
|
23
22
|
s.test_files = ["tests/ansicolor_test.rb".freeze, "tests/attribute_test.rb".freeze, "tests/hsl_triple_test.rb".freeze, "tests/ppm_reader_test.rb".freeze, "tests/rgb_color_metrics_test.rb".freeze, "tests/rgb_triple_test.rb".freeze, "tests/test_helper.rb".freeze]
|
24
23
|
|
25
|
-
|
26
|
-
s.specification_version = 4
|
24
|
+
s.specification_version = 4
|
27
25
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
else
|
34
|
-
s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
|
35
|
-
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
36
|
-
s.add_dependency(%q<test-unit>.freeze, [">= 0"])
|
37
|
-
s.add_dependency(%q<tins>.freeze, ["~> 1.0"])
|
38
|
-
end
|
39
|
-
else
|
40
|
-
s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
|
41
|
-
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
42
|
-
s.add_dependency(%q<test-unit>.freeze, [">= 0"])
|
43
|
-
s.add_dependency(%q<tins>.freeze, ["~> 1.0"])
|
44
|
-
end
|
26
|
+
s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.14.0"])
|
27
|
+
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
28
|
+
s.add_development_dependency(%q<test-unit>.freeze, [">= 0"])
|
29
|
+
s.add_development_dependency(%q<utils>.freeze, [">= 0"])
|
30
|
+
s.add_runtime_dependency(%q<tins>.freeze, ["~> 1.0"])
|
45
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: term-ansicolor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Frank
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.14.0
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.14.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: simplecov
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: utils
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: tins
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,12 +84,12 @@ description: This library uses ANSI escape sequences to control the attributes o
|
|
70
84
|
terminal output
|
71
85
|
email: flori@ping.de
|
72
86
|
executables:
|
73
|
-
- term_snow
|
74
|
-
- term_display
|
75
|
-
- term_decolor
|
76
87
|
- term_cdiff
|
77
|
-
- term_mandel
|
78
88
|
- term_colortab
|
89
|
+
- term_decolor
|
90
|
+
- term_display
|
91
|
+
- term_mandel
|
92
|
+
- term_snow
|
79
93
|
extensions: []
|
80
94
|
extra_rdoc_files:
|
81
95
|
- README.md
|
@@ -92,8 +106,9 @@ extra_rdoc_files:
|
|
92
106
|
- lib/term/ansicolor/rgb_triple.rb
|
93
107
|
- lib/term/ansicolor/version.rb
|
94
108
|
files:
|
109
|
+
- ".all_images.yml"
|
95
110
|
- ".gitignore"
|
96
|
-
- ".
|
111
|
+
- ".tool-versions"
|
97
112
|
- CHANGES
|
98
113
|
- COPYING
|
99
114
|
- Gemfile
|
@@ -131,11 +146,11 @@ files:
|
|
131
146
|
- tests/rgb_color_metrics_test.rb
|
132
147
|
- tests/rgb_triple_test.rb
|
133
148
|
- tests/test_helper.rb
|
134
|
-
homepage:
|
149
|
+
homepage: https://github.com/flori/term-ansicolor
|
135
150
|
licenses:
|
136
151
|
- Apache-2.0
|
137
152
|
metadata: {}
|
138
|
-
post_install_message:
|
153
|
+
post_install_message:
|
139
154
|
rdoc_options:
|
140
155
|
- "--title"
|
141
156
|
- Term-ansicolor - Ruby library that colors strings using ANSI escape sequences
|
@@ -147,16 +162,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
147
162
|
requirements:
|
148
163
|
- - ">="
|
149
164
|
- !ruby/object:Gem::Version
|
150
|
-
version: '
|
165
|
+
version: '0'
|
151
166
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
167
|
requirements:
|
153
168
|
- - ">="
|
154
169
|
- !ruby/object:Gem::Version
|
155
170
|
version: '0'
|
156
171
|
requirements: []
|
157
|
-
|
158
|
-
|
159
|
-
signing_key:
|
172
|
+
rubygems_version: 3.4.19
|
173
|
+
signing_key:
|
160
174
|
specification_version: 4
|
161
175
|
summary: Ruby library that colors strings using ANSI escape sequences
|
162
176
|
test_files:
|