Commit graph

61 commits

Author SHA1 Message Date
dependabot-preview[bot]
2418d6efbb
Update rubocop requirement from ~> 0.73.0 to ~> 0.74.0
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.73.0...v0.74.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-31 23:12:19 +00:00
dependabot-preview[bot]
1561e09c68
Update rubocop requirement from ~> 0.72.0 to ~> 0.73.0
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.72.0...v0.73.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-16 23:13:49 +00:00
dependabot-preview[bot]
423c673f0d
Update simplecov requirement from ~> 0.16.1 to ~> 0.17.0
Updates the requirements on [simplecov](https://github.com/colszowka/simplecov) to permit the latest version.
- [Release notes](https://github.com/colszowka/simplecov/releases)
- [Changelog](https://github.com/colszowka/simplecov/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colszowka/simplecov/compare/v0.16.1...v0.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-02 23:12:59 +00:00
Claudio Bley
55423123a1 Drop support for Ruby 2.3
It reached EOL on March 31, 2019, and no longer receives patches.

See https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/
2019-07-01 23:34:18 +02:00
dependabot-preview[bot]
12c33538ef
Update rubocop requirement from ~> 0.71.0 to ~> 0.72.0
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.71.0...v0.72.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-25 23:12:48 +00:00
dependabot-preview[bot]
f8d9e444f7
Update rubocop-performance requirement from ~> 1.3.0 to ~> 1.4.0
Updates the requirements on [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.3.0...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 23:13:09 +00:00
dependabot-preview[bot]
e2186588c4
Update rubocop requirement from ~> 0.70.0 to ~> 0.71.0
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.70.0...v0.71.0)
2019-05-30 23:12:38 +00:00
dependabot[bot]
45158e8099
Update rubocop requirement from ~> 0.69.0 to ~> 0.70.0
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.69.0...v0.70.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-21 23:12:39 +00:00
dependabot[bot]
4cf2a5c6c1
Update rubocop-performance requirement from ~> 1.2.0 to ~> 1.3.0
Updates the requirements on [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.2.0...v1.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-14 07:41:17 +00:00
dependabot[bot]
2d82d0d9cf
Update rubocop requirement from ~> 0.68.0 to ~> 0.69.0
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.68.0...v0.69.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 23:13:40 +00:00
dependabot[bot]
2d6e3e1335
Update rubocop-performance requirement from ~> 1.1.0 to ~> 1.2.0
Updates the requirements on [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.1.0...v1.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-06 23:12:50 +00:00
dependabot[bot]
07b5e280d2
Update rubocop requirement from ~> 0.67.2 to ~> 0.68.0
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.67.2...v0.68.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 23:12:05 +00:00
Claudio Bley
cdf1f86ca2 Use rubocop-performance 2019-04-09 18:28:34 +02:00
dependabot[bot]
7271125244
Update rubocop requirement from ~> 0.66.0 to ~> 0.67.2
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.66.0...v0.67.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-05 23:11:39 +00:00
dependabot[bot]
8e78408027
Update rubocop requirement from ~> 0.65.0 to ~> 0.66.0
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.65.0...v0.66.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 23:17:00 +00:00
Claudio Bley
e945c3ae7d Publish prereleases to rubygems
By default `gem list` only shows proper releases, use `gem list -r --pre` in
order to list prereleases too.

Use `gem install colorls --pre` to install a prerelease.

See [here](https://guides.rubygems.org/patterns/#prerelease-gems) for details.
2019-02-26 21:57:25 +01:00
dependabot[bot]
bafe6e2731
Update rubocop requirement from ~> 0.64.0 to ~> 0.65.0
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.64.0...v0.65.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-19 23:15:34 +00:00
dependabot[bot]
9e849fee90
Update rubocop requirement from ~> 0.63.0 to ~> 0.64.0
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/commits/v0.64.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-11 23:15:14 +00:00
dependabot[bot]
39b1ce9f94
Update rubocop requirement from ~> 0.62.0 to ~> 0.63.0
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/commits/v0.63.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-16 23:15:25 +00:00
Claudio Bley
e02b30a111 Drop support for Ruby 2.2
It reached EOL on 20th Jun 2018 and no longer receives patches.

* set required Ruby version to >= 2.3 in spec file
* set rubocop's TargetRubyVersion to 2.3 and fix all the offenses
2019-01-04 12:08:06 +01:00
dependabot[bot]
53a3cc9a5a Update bundler requirement from ~> 1.15 to ~> 2.0
Updates the requirements on [bundler](https://github.com/bundler/bundler) to permit the latest version.
- [Release notes](https://github.com/bundler/bundler/releases)
- [Changelog](https://github.com/bundler/bundler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bundler/bundler/commits/v2.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-04 12:07:54 +01:00
dependabot[bot]
31c3bfaef8 Update rubocop requirement from ~> 0.61.1 to ~> 0.62.0
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/commits/v0.62.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-04 12:07:54 +01:00
dependabot[bot]
ff852e1ea1 Update rubocop requirement from ~> 0.57.2 to ~> 0.61.1
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/commits/v0.61.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-28 18:55:57 +01:00
dependabot[bot]
dde0195ec0
Update rdoc requirement from ~> 5.1 to ~> 6.1
Updates the requirements on [rdoc](https://github.com/ruby/rdoc) to permit the latest version.
- [Release notes](https://github.com/ruby/rdoc/releases)
- [Changelog](https://github.com/ruby/rdoc/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rdoc/commits/v6.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-28 15:34:53 +00:00
Claudio Bley
6e5a0825d8
Merge pull request #248 from avdv/codecov
Report code coverage to codecov.io
2018-12-28 16:32:50 +01:00
Claudio Bley
9d7d48d48f Report code coverage to codecov.io 2018-12-28 16:28:21 +01:00
Claudio Bley
9c8a93565e Drop support for Ruby 2.1
It reached EOL already and rubocop > 0.60 no longer supports it.
2018-12-09 09:23:52 +01:00
Claudio Bley
8ccda1c539 Add rdoc to dev dependencies 2018-10-20 14:05:39 +02:00
dependabot[bot]
de3e36c299
Update rainbow requirement from ~> 2.2 to >= 2.2, < 4.0
Updates the requirements on [rainbow](https://github.com/sickill/rainbow) to permit the latest version.
- [Release notes](https://github.com/sickill/rainbow/releases)
- [Changelog](https://github.com/sickill/rainbow/blob/master/Changelog.md)
- [Commits](https://github.com/sickill/rainbow/commits/v3.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-13 21:28:41 +00:00
Claudio Bley
d93cd2c308 Fix warning in gemspec
```
colorls.gemspec:5: warning: already initialized constant ColorLS::POST_INSTALL_MESSAGE
/home/claudio/src/colorls/colorls.gemspec:5: warning: previous definition of POST_INSTALL_MESSAGE was here
```
2018-08-13 23:22:53 +02:00
Claudio Bley
95e8730be3 Avoid open-ended dependencies
Running `rake install` always resulted in these warnings:
```
WARNING:  open-ended dependency on clocale (>= 0) is not recommended
  if clocale is semantically versioned, use:
    add_runtime_dependency 'clocale', '~> 0'
WARNING:  open-ended dependency on filesize (>= 0) is not recommended
  if filesize is semantically versioned, use:
    add_runtime_dependency 'filesize', '~> 0'
WARNING:  open-ended dependency on manpages (>= 0) is not recommended
  if manpages is semantically versioned, use:
    add_runtime_dependency 'manpages', '~> 0'
WARNING:  open-ended dependency on rainbow (>= 0) is not recommended
  if rainbow is semantically versioned, use:
    add_runtime_dependency 'rainbow', '~> 0'
WARNING:  open-ended dependency on diffy (>= 0, development) is not recommended
  if diffy is semantically versioned, use:
    add_development_dependency 'diffy', '~> 0'
WARNING:  open-ended dependency on rake (>= 0, development) is not recommended
  if rake is semantically versioned, use:
    add_development_dependency 'rake', '~> 0'
WARNING:  open-ended dependency on ronn (>= 0, development) is not recommended
  if ronn is semantically versioned, use:
    add_development_dependency 'ronn', '~> 0'
WARNING:  open-ended dependency on rspec (>= 0, development) is not recommended
  if rspec is semantically versioned, use:
    add_development_dependency 'rspec', '~> 0'
WARNING:  open-ended dependency on rspec-its (>= 0, development) is not recommended
  if rspec-its is semantically versioned, use:
    add_development_dependency 'rspec-its', '~> 0'
WARNING:  open-ended dependency on rubocop (>= 0, development) is not recommended
  if rubocop is semantically versioned, use:
    add_development_dependency 'rubocop', '~> 0'
WARNING:  open-ended dependency on rubocop-rspec (>= 0, development) is not recommended
  if rubocop-rspec is semantically versioned, use:
    add_development_dependency 'rubocop-rspec', '~> 0'
WARNING:  open-ended dependency on rubygems-tasks (>= 0, development) is not recommended
  if rubygems-tasks is semantically versioned, use:
    add_development_dependency 'rubygems-tasks', '~> 0'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
```

- use pessimistic version constraints for all dependencies in the gemspec
2018-07-19 22:50:34 +02:00
Claudio Bley
8f9a5f9409 Fix Style/ExpandPathArguments cop error 2018-03-28 08:23:55 +02:00
Claudio Bley
c78bf3bd73 Add SimpleCov code coverage tool
See [SimpleCov](https://github.com/colszowka/simplecov).
2018-01-11 11:32:44 +01:00
Claudio Bley
ab544414c0 Fix rubocop issue, re-enable cop
```
colorls.gemspec:26:1: W: Lint/MissingCopEnableDirective: Re-enable Metrics/BlockLength cop with # rubocop:enable after disabling it
# rubocop:disable Metrics/BlockLength
^
```
2018-01-02 11:02:36 +01:00
Claudio Bley
bebe09f5f7 Use clocale gem for proper sorting 2017-12-01 09:05:04 +01:00
Claudio Bley
96ec0d5276 Generate Zsh completion file
Add the `_colorls` completion file to the `zsh/` folder of the gem and make the
`tab_complete.sh` script work for Zsh too.
2017-11-22 22:32:20 +01:00
Claudio Bley
ed8d3c23ed Add note about man page to README.md and POST_INSTALL_MESSAGE 2017-11-17 21:33:44 +01:00
Claudio Bley
e22e3e2bcc Add runtime dependency manpages
When this gem is installed, it automatically symlinks man pages of other gems
so that you can view them with `man`.
2017-11-17 21:33:44 +01:00
Claudio Bley
1b587d8257 Generate man page using ronn 2017-11-17 21:33:44 +01:00
Claudio Bley
ecb532ea87 Make rake a dev dependency 2017-11-12 17:55:03 +01:00
Alex
7aec4fda94 Add rubocop-rspec as a dev dependency. Fix non-directory changing fixes 2017-11-07 19:22:37 -05:00
Claudio Bley
25b21c442a Add support for reverse sorting
Re-assign the `-r` short option from `--report` to `--reverse` and mention this
change in the post install message.
2017-11-07 22:38:42 +01:00
Claudio Bley
2df30f7f33 Add support for sorting by mtime
* add `--sort=WORD` option, which sorts by modification "time" or not at all

* add short option `-U` to mean `--sort=none` (`ls` compatibility)

* `-t` now has the same effect as `--sort=time` which is also mentioned in the
  post install mesage

* add checks for `--sort=time` and `--sort=none` to .travis.yml
2017-11-06 08:42:02 +01:00
Athitya
0984a529ac Adds custom config coloring support for faster git-status 2017-10-29 05:32:38 +05:30
Athitya
a6a6fffd64 Removes facets dependency 2017-10-28 22:55:05 +05:30
Athitya
b286f71ef0 Adds rake as runtime dependency and updates to 1.0.6 2017-10-28 22:26:39 +05:30
Athitya
c9beb097a8 Fixes rubocop issue 2017-10-28 21:36:49 +05:30
Athitya
aeb3a3950c Switches from colorize to rainbow dependency 2017-10-28 18:21:01 +05:30
Henré Botha
94a1cd6fbc Add rubocop exception 2017-10-22 23:01:23 +02:00
Henré Botha
e88a786a13 Use rspec-its 2017-10-22 23:01:23 +02:00