term-ansicolor 1.2.2 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/lib/term/ansicolor.rb +21 -2
- data/lib/term/ansicolor/version.rb +1 -1
- data/term-ansicolor.gemspec +11 -10
- metadata +19 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79c895d6570b2bcf9279e05fd1f4acc818e6e0fc
|
4
|
+
data.tar.gz: a23fb4ecc245b804e7a824dab1df9affa14d86bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be393537b938825645b1e66ce3bdb254c8b010de1f440683a5e037ce50aad675c3ce919d341b315b5d3b6e7b0d833f7b303d6d87b0c79ac86bcb4e9e3b24bd91
|
7
|
+
data.tar.gz: c4081b39fc07e00ebd6b74e414dfba897b85ad262b2e54081948d1008247da22dd1ac5c197cf1c4d730745efa9922e75c6cc3292fe6e177b947d467e0f55aa52
|
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -13,11 +13,11 @@ GemHadar do
|
|
13
13
|
description 'This library uses ANSI escape sequences to control the attributes of terminal output'
|
14
14
|
licenses << 'GPL-2'
|
15
15
|
test_dir 'tests'
|
16
|
-
ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', '.rvmrc', 'coverage', 'tags'
|
16
|
+
ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', '.rvmrc', 'coverage', 'tags', '.bundle'
|
17
17
|
readme 'README.rdoc'
|
18
18
|
executables << 'cdiff' << 'decolor' << 'colortab' << 'term_mandel' << 'term_display'
|
19
19
|
|
20
|
-
dependency 'tins', '~>0
|
20
|
+
dependency 'tins', '~>1.0'
|
21
21
|
development_dependency 'simplecov'
|
22
22
|
|
23
23
|
install_library do
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.3.0
|
data/lib/term/ansicolor.rb
CHANGED
@@ -12,6 +12,7 @@ module Term
|
|
12
12
|
Attribute.set :reset , 0 # synonym for :clear
|
13
13
|
Attribute.set :bold , 1
|
14
14
|
Attribute.set :dark , 2
|
15
|
+
Attribute.set :faint , 2
|
15
16
|
Attribute.set :italic , 3 # not widely implemented
|
16
17
|
Attribute.set :underline , 4
|
17
18
|
Attribute.set :underscore , 4 # synonym for :underline
|
@@ -39,23 +40,41 @@ module Term
|
|
39
40
|
Attribute.set :on_cyan , 46
|
40
41
|
Attribute.set :on_white , 47
|
41
42
|
|
42
|
-
|
43
|
+
# High intensity, aixterm (works in OS X)
|
44
|
+
Attribute.set :intense_black , 90
|
45
|
+
Attribute.set :bright_black , 90
|
43
46
|
Attribute.set :intense_red , 91
|
47
|
+
Attribute.set :bright_red , 91
|
44
48
|
Attribute.set :intense_green , 92
|
49
|
+
Attribute.set :bright_green , 92
|
45
50
|
Attribute.set :intense_yellow , 93
|
51
|
+
Attribute.set :bright_yellow , 93
|
46
52
|
Attribute.set :intense_blue , 94
|
53
|
+
Attribute.set :bright_blue , 94
|
47
54
|
Attribute.set :intense_magenta , 95
|
55
|
+
Attribute.set :bright_magenta , 95
|
48
56
|
Attribute.set :intense_cyan , 96
|
57
|
+
Attribute.set :bright_cyan , 96
|
49
58
|
Attribute.set :intense_white , 97
|
59
|
+
Attribute.set :bright_white , 97
|
50
60
|
|
51
|
-
|
61
|
+
# High intensity background, aixterm (works in OS X)
|
62
|
+
Attribute.set :on_intense_black , 100
|
63
|
+
Attribute.set :on_bright_black , 100
|
52
64
|
Attribute.set :on_intense_red , 101
|
65
|
+
Attribute.set :on_bright_red , 101
|
53
66
|
Attribute.set :on_intense_green , 102
|
67
|
+
Attribute.set :on_bright_green , 102
|
54
68
|
Attribute.set :on_intense_yellow , 103
|
69
|
+
Attribute.set :on_bright_yellow , 103
|
55
70
|
Attribute.set :on_intense_blue , 104
|
71
|
+
Attribute.set :on_bright_blue , 104
|
56
72
|
Attribute.set :on_intense_magenta, 105
|
73
|
+
Attribute.set :on_bright_magenta , 105
|
57
74
|
Attribute.set :on_intense_cyan , 106
|
75
|
+
Attribute.set :on_bright_cyan , 106
|
58
76
|
Attribute.set :on_intense_white , 107
|
77
|
+
Attribute.set :on_bright_white , 107
|
59
78
|
|
60
79
|
Attribute.set :color0, 0, :html => '#000000'
|
61
80
|
Attribute.set :color1, 1, :html => '#800000'
|
data/term-ansicolor.gemspec
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
# stub: term-ansicolor 1.3.0 ruby lib
|
2
3
|
|
3
4
|
Gem::Specification.new do |s|
|
4
5
|
s.name = "term-ansicolor"
|
5
|
-
s.version = "1.
|
6
|
+
s.version = "1.3.0"
|
6
7
|
|
7
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
|
+
s.require_paths = ["lib"]
|
8
10
|
s.authors = ["Florian Frank"]
|
9
|
-
s.date = "
|
11
|
+
s.date = "2014-02-06"
|
10
12
|
s.description = "This library uses ANSI escape sequences to control the attributes of terminal output"
|
11
13
|
s.email = "flori@ping.de"
|
12
14
|
s.executables = ["cdiff", "decolor", "colortab", "term_mandel", "term_display"]
|
@@ -15,8 +17,7 @@ Gem::Specification.new do |s|
|
|
15
17
|
s.homepage = "http://flori.github.com/term-ansicolor"
|
16
18
|
s.licenses = ["GPL-2"]
|
17
19
|
s.rdoc_options = ["--title", "Term-ansicolor - Ruby library that colors strings using ANSI escape sequences", "--main", "README.rdoc"]
|
18
|
-
s.
|
19
|
-
s.rubygems_version = "2.0.3"
|
20
|
+
s.rubygems_version = "2.2.2"
|
20
21
|
s.summary = "Ruby library that colors strings using ANSI escape sequences"
|
21
22
|
s.test_files = ["tests/ansicolor_test.rb", "tests/attribute_test.rb", "tests/ppm_reader_test.rb", "tests/rgb_color_metrics_test.rb", "tests/rgb_triple_test.rb", "tests/test_helper.rb"]
|
22
23
|
|
@@ -24,17 +25,17 @@ Gem::Specification.new do |s|
|
|
24
25
|
s.specification_version = 4
|
25
26
|
|
26
27
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
27
|
-
s.add_development_dependency(%q<gem_hadar>, ["~> 0.
|
28
|
+
s.add_development_dependency(%q<gem_hadar>, ["~> 1.0.0"])
|
28
29
|
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
29
|
-
s.add_runtime_dependency(%q<tins>, ["~> 0
|
30
|
+
s.add_runtime_dependency(%q<tins>, ["~> 1.0"])
|
30
31
|
else
|
31
|
-
s.add_dependency(%q<gem_hadar>, ["~> 0.
|
32
|
+
s.add_dependency(%q<gem_hadar>, ["~> 1.0.0"])
|
32
33
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
33
|
-
s.add_dependency(%q<tins>, ["~> 0
|
34
|
+
s.add_dependency(%q<tins>, ["~> 1.0"])
|
34
35
|
end
|
35
36
|
else
|
36
|
-
s.add_dependency(%q<gem_hadar>, ["~> 0.
|
37
|
+
s.add_dependency(%q<gem_hadar>, ["~> 1.0.0"])
|
37
38
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
38
|
-
s.add_dependency(%q<tins>, ["~> 0
|
39
|
+
s.add_dependency(%q<tins>, ["~> 1.0"])
|
39
40
|
end
|
40
41
|
end
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: term-ansicolor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Frank
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 1.0.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: 0.
|
26
|
+
version: 1.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: simplecov
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: tins
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0
|
47
|
+
version: '1.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0
|
54
|
+
version: '1.0'
|
55
55
|
description: This library uses ANSI escape sequences to control the attributes of
|
56
56
|
terminal output
|
57
57
|
email: flori@ping.de
|
@@ -71,8 +71,8 @@ extra_rdoc_files:
|
|
71
71
|
- lib/term/ansicolor/rgb_triple.rb
|
72
72
|
- lib/term/ansicolor/version.rb
|
73
73
|
files:
|
74
|
-
- .gitignore
|
75
|
-
- .travis.yml
|
74
|
+
- ".gitignore"
|
75
|
+
- ".travis.yml"
|
76
76
|
- CHANGES
|
77
77
|
- COPYING
|
78
78
|
- Gemfile
|
@@ -114,25 +114,25 @@ licenses:
|
|
114
114
|
metadata: {}
|
115
115
|
post_install_message:
|
116
116
|
rdoc_options:
|
117
|
-
- --title
|
117
|
+
- "--title"
|
118
118
|
- Term-ansicolor - Ruby library that colors strings using ANSI escape sequences
|
119
|
-
- --main
|
119
|
+
- "--main"
|
120
120
|
- README.rdoc
|
121
121
|
require_paths:
|
122
122
|
- lib
|
123
123
|
required_ruby_version: !ruby/object:Gem::Requirement
|
124
124
|
requirements:
|
125
|
-
- -
|
125
|
+
- - ">="
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: '0'
|
128
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
|
-
- -
|
130
|
+
- - ">="
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: '0'
|
133
133
|
requirements: []
|
134
134
|
rubyforge_project:
|
135
|
-
rubygems_version: 2.
|
135
|
+
rubygems_version: 2.2.2
|
136
136
|
signing_key:
|
137
137
|
specification_version: 4
|
138
138
|
summary: Ruby library that colors strings using ANSI escape sequences
|