tty-color-cli 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b4abe682744bc0a271555093a14f34cf9f1c369
4
- data.tar.gz: 1bdf7246a7290743e9b58bbd8edd73c61546a885
3
+ metadata.gz: d5793488c8568cf4ac5da13dfa174744860dc392
4
+ data.tar.gz: b57ac42036f2232514dbbee8830aa4e866b6d7f4
5
5
  SHA512:
6
- metadata.gz: b1df4e72a666a5411f54f74c7ae4c89e3c66945bd9b9ab9d151987f0825d37e0c8ae5803b609899f3d6eacdcc1d559c45cc2c4bcfa9901ddf377f8e3cafd1efa
7
- data.tar.gz: bae19435120a8eb91f361fd82ac40a911e6b96ef51d1f165f1a6fb6972188fd3f6f041f05e2b6e82cc3f9363eb124a6312b25e4343e520a784156965b2884417
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.0
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
@@ -3,7 +3,8 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :test do
6
- gem 'rspec', '~> 3.4.0'
6
+ gem 'rspec', '~> 3.5.0'
7
7
  gem 'simplecov', '~> 0.11.2'
8
- gem 'codeclimate-test-reporter', '~> 0.5.0'
8
+ gem 'coveralls', '~> 0.8.2'
9
+ gem 'term-ansicolor', '=1.3.2'
9
10
  end
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/peter-murach/tty-color-cli.svg?branch=master)][travis]
5
- [![Code Climate](https://codeclimate.com/github/peter-murach/tty-color-cli/badges/gpa.svg)][codeclimate]
6
- [![Coverage Status](https://codeclimate.com/github/peter-murach/tty-color-cli/badges/coverage.svg)][codeclimate]
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/peter-murach/tty-color-cli
10
- [codeclimate]: https://codeclimate.com/github/peter-murach/tty-color-cli
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/peter-murach/tty-color)
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/peter-murach/tty-color-cli/fork )
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 'codeclimate-test-reporter'
7
+ require 'coveralls'
8
8
 
9
9
  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
10
10
  SimpleCov::Formatter::HTMLFormatter,
11
- CodeClimate::TestReporter::Formatter
11
+ Coveralls::SimpleCov::Formatter
12
12
  ]
13
13
 
14
14
  SimpleCov.start do
@@ -1,7 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  RSpec.describe 'color command' do
4
-
5
4
  it 'runs without arguments' do
6
5
  expect(`bin/color`).to match(/true/)
7
6
  expect($?.exitstatus).to eq(0)
@@ -2,19 +2,19 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'tty-color-cli'
5
- spec.version = '0.1.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://peter-murach.github.io/tty/"
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.3.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.1.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-03-05 00:00:00.000000000 Z
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.3.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.3.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
- - .ruby-version
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://peter-murach.github.io/tty/
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.0.3
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