tty-color-cli 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -5
- data/Gemfile +3 -2
- data/README.md +13 -9
- data/appveyor.yml +23 -0
- data/spec/spec_helper.rb +2 -2
- data/spec/unit/color_command_spec.rb +0 -1
- data/tty-color-cli.gemspec +3 -3
- metadata +21 -21
- data/.ruby-version +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5793488c8568cf4ac5da13dfa174744860dc392
|
4
|
+
data.tar.gz: b57ac42036f2232514dbbee8830aa4e866b6d7f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b6476abd4ba6b8f339cce8c04c9a59a659e040ba132054782a6992d6b34692d992b51f5fb9bb9e6d2e231417dab945eea20a71d245322ee2214e4116ea74672
|
7
|
+
data.tar.gz: 877f253e0afd687d63aacdf2f3decb1ce566e98fda4c3335f62d43e051f83b128607806239cfd29f82a83d262d3dae0287c93bf1575f163c53a5eed5e5866e0c
|
data/.travis.yml
CHANGED
@@ -6,19 +6,20 @@ bundler_args: --without yard benchmarks
|
|
6
6
|
script: "bundle exec rake ci"
|
7
7
|
rvm:
|
8
8
|
- 1.9.3
|
9
|
-
- 2.0
|
10
|
-
- 2.1
|
11
|
-
- 2.2
|
12
|
-
- 2.3.
|
13
|
-
- rbx-2
|
9
|
+
- 2.0.0
|
10
|
+
- 2.1.10
|
11
|
+
- 2.2.5
|
12
|
+
- 2.3.1
|
14
13
|
- jruby-9000
|
15
14
|
- jruby-head
|
16
15
|
- ruby-head
|
16
|
+
- rbx-2
|
17
17
|
matrix:
|
18
18
|
allow_failures:
|
19
19
|
- rvm: ruby-head
|
20
20
|
- rvm: jruby-head
|
21
21
|
- rvm: jruby-9000
|
22
|
+
- rvm: rbx-2
|
22
23
|
fast_finish: true
|
23
24
|
branches:
|
24
25
|
only: master
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,17 +1,21 @@
|
|
1
|
-
# TTY::Color CLI
|
1
|
+
# TTY::Color CLI [![Gitter](https://badges.gitter.im/Join%20Chat.svg)][gitter]
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/tty-color-cli.svg)][gem]
|
4
|
-
[![Build Status](https://secure.travis-ci.org/
|
5
|
-
[![
|
6
|
-
[![
|
4
|
+
[![Build Status](https://secure.travis-ci.org/piotrmurach/tty-color-cli.svg?branch=master)][travis]
|
5
|
+
[![Build status](https://ci.appveyor.com/api/projects/status/tr24h4edq3xqafkn?svg=true)][appveyor]
|
6
|
+
[![Code Climate](https://codeclimate.com/github/piotrmurach/tty-color-cli/badges/gpa.svg)][codeclimate]
|
7
|
+
[![Coverage Status](https://coveralls.io/repos/github/piotrmurach/tty-color-cli/badge.svg)][coverage]
|
7
8
|
|
9
|
+
[gitter]: https://gitter.im/piotrmurach/tty
|
8
10
|
[gem]: http://badge.fury.io/rb/tty-color-cli
|
9
|
-
[travis]: http://travis-ci.org/
|
10
|
-
[
|
11
|
+
[travis]: http://travis-ci.org/piotrmurach/tty-color-cli
|
12
|
+
[appveyor]: https://ci.appveyor.com/project/piotrmurach/tty-color-cli
|
13
|
+
[codeclimate]: https://codeclimate.com/github/piotrmurach/tty-color-cli
|
14
|
+
[coverage]: https://coveralls.io/github/piotrmurach/tty-color-cli
|
11
15
|
|
12
16
|
> CLI tool for terminal color capabilities detection
|
13
17
|
|
14
|
-
**TTY::Color CLI** provides cli for [TTY::Color](https://github.com/
|
18
|
+
**TTY::Color CLI** provides cli for [TTY::Color](https://github.com/piotrmurach/tty-color)
|
15
19
|
|
16
20
|
## Installation
|
17
21
|
|
@@ -54,7 +58,7 @@ color --mode
|
|
54
58
|
|
55
59
|
## Contributing
|
56
60
|
|
57
|
-
1. Fork it ( https://github.com/
|
61
|
+
1. Fork it ( https://github.com/piotrmurach/tty-color-cli/fork )
|
58
62
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
59
63
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
60
64
|
4. Push to the branch (`git push origin my-new-feature`)
|
@@ -62,4 +66,4 @@ color --mode
|
|
62
66
|
|
63
67
|
## Copyright
|
64
68
|
|
65
|
-
Copyright (c) 2016 Piotr Murach. See LICENSE for further details.
|
69
|
+
Copyright (c) 2016-2017 Piotr Murach. See LICENSE for further details.
|
data/appveyor.yml
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
install:
|
3
|
+
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
|
4
|
+
- ruby --version
|
5
|
+
- gem --version
|
6
|
+
- bundle install
|
7
|
+
build: off
|
8
|
+
test_script:
|
9
|
+
- bundle exec rake ci
|
10
|
+
environment:
|
11
|
+
matrix:
|
12
|
+
- ruby_version: "193"
|
13
|
+
- ruby_version: "200"
|
14
|
+
- ruby_version: "200-x64"
|
15
|
+
- ruby_version: "21"
|
16
|
+
- ruby_version: "21-x64"
|
17
|
+
- ruby_version: "22"
|
18
|
+
- ruby_version: "22-x64"
|
19
|
+
- ruby_version: "23"
|
20
|
+
- ruby_version: "23-x64"
|
21
|
+
matrix:
|
22
|
+
allow_failures:
|
23
|
+
- ruby_version: "193"
|
data/spec/spec_helper.rb
CHANGED
@@ -4,11 +4,11 @@ $:.unshift File.expand_path("../../bin", __FILE__)
|
|
4
4
|
|
5
5
|
if RUBY_VERSION > '1.9' and (ENV['COVERAGE'] || ENV['TRAVIS'])
|
6
6
|
require 'simplecov'
|
7
|
-
require '
|
7
|
+
require 'coveralls'
|
8
8
|
|
9
9
|
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
10
10
|
SimpleCov::Formatter::HTMLFormatter,
|
11
|
-
|
11
|
+
Coveralls::SimpleCov::Formatter
|
12
12
|
]
|
13
13
|
|
14
14
|
SimpleCov.start do
|
data/tty-color-cli.gemspec
CHANGED
@@ -2,19 +2,19 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'tty-color-cli'
|
5
|
-
spec.version = '0.
|
5
|
+
spec.version = '0.2.0'
|
6
6
|
spec.authors = ['Piotr Murach']
|
7
7
|
spec.email = ['']
|
8
8
|
spec.summary = %q{CLI tool for terminal color capabilities detection}
|
9
9
|
spec.description = %q{CLI tool for terminal color capabilities detection}
|
10
|
-
spec.homepage = "http://
|
10
|
+
spec.homepage = "http://piotrmurach.github.io/tty/"
|
11
11
|
spec.license = "MIT"
|
12
12
|
|
13
13
|
spec.files = `git ls-files -z`.split("\x0")
|
14
14
|
spec.executables = ['color']
|
15
15
|
spec.test_files = spec.files.grep(%r{^spec/})
|
16
16
|
|
17
|
-
spec.add_dependency 'tty-color', '~> 0.
|
17
|
+
spec.add_dependency 'tty-color', '~> 0.4.0'
|
18
18
|
|
19
19
|
spec.add_development_dependency 'bundler', '>= 1.5.0', '< 2.0'
|
20
20
|
spec.add_development_dependency 'rake'
|
metadata
CHANGED
@@ -1,61 +1,61 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tty-color-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Murach
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-color
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.4.0
|
20
20
|
type: :runtime
|
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: 0.4.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 1.5.0
|
34
|
-
- - <
|
34
|
+
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: '2.0'
|
37
37
|
type: :development
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 1.5.0
|
44
|
-
- - <
|
44
|
+
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '2.0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rake
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- -
|
51
|
+
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '0'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- -
|
58
|
+
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '0'
|
61
61
|
description: CLI tool for terminal color capabilities detection
|
@@ -66,23 +66,23 @@ executables:
|
|
66
66
|
extensions: []
|
67
67
|
extra_rdoc_files: []
|
68
68
|
files:
|
69
|
-
- .codeclimate.yml
|
70
|
-
- .gitignore
|
71
|
-
- .rspec
|
72
|
-
- .
|
73
|
-
- .travis.yml
|
69
|
+
- ".codeclimate.yml"
|
70
|
+
- ".gitignore"
|
71
|
+
- ".rspec"
|
72
|
+
- ".travis.yml"
|
74
73
|
- CHANGELOG.md
|
75
74
|
- Gemfile
|
76
75
|
- LICENSE.txt
|
77
76
|
- README.md
|
78
77
|
- Rakefile
|
78
|
+
- appveyor.yml
|
79
79
|
- bin/color
|
80
80
|
- spec/spec_helper.rb
|
81
81
|
- spec/unit/color_command_spec.rb
|
82
82
|
- tasks/coverage.rake
|
83
83
|
- tasks/spec.rake
|
84
84
|
- tty-color-cli.gemspec
|
85
|
-
homepage: http://
|
85
|
+
homepage: http://piotrmurach.github.io/tty/
|
86
86
|
licenses:
|
87
87
|
- MIT
|
88
88
|
metadata: {}
|
@@ -92,17 +92,17 @@ require_paths:
|
|
92
92
|
- lib
|
93
93
|
required_ruby_version: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- -
|
95
|
+
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- -
|
100
|
+
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
104
|
rubyforge_project:
|
105
|
-
rubygems_version: 2.
|
105
|
+
rubygems_version: 2.5.1
|
106
106
|
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: CLI tool for terminal color capabilities detection
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.0.0
|