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]
5977e3d46a
Merge pull request #286 from athityakumar/dependabot/bundler/rubocop-tw-0.69.0
2019-05-14 06:23:57 +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]
fa5f9d7a4b
Merge pull request #283 from athityakumar/dependabot/bundler/rubocop-performance-tw-1.2.0
2019-05-07 06:20:45 +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]
0762ab46eb
Merge pull request #281 from athityakumar/dependabot/bundler/rubocop-tw-0.68.0
2019-04-30 06:13:25 +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
4ffd056c15
travis: Fix deployment condition
...
When building a tag on travis, the tag name is used as the branch.
By default, only the `master` branch triggers a deployment, so for a version
tag the deployment to rubygems will be skipped.
This commit fixes it, by directly matching on the `TRAVIS_BRANCH` and
`TRAVIS_TAG` variables.
2019-04-09 20:04:39 +02:00
Claudio Bley
41669c94a3
Release version 1.2.0
2019-04-09 18:52:11 +02:00
Claudio Bley
ab6f14b178
Merge pull request #277 from avdv/git-status-dots
...
Handle git status for `.` and `..` properly
2019-04-09 18:34:06 +02:00
Claudio Bley
cdf1f86ca2
Use rubocop-performance
2019-04-09 18:28:34 +02:00
Claudio Bley
41c274b883
Disable the Style/StderrPuts
cop
...
I do not want to use `warn` since these errors should not be suppressed. And
I always want to use `STDERR`, not `$stderr`.
2019-04-09 18:25:06 +02:00
Claudio Bley
7454814894
Handle git status for .
and ..
properly
...
The git status is only computed for the given directory and is stored as
a Hash mapping relative paths to their mode string.
For a directory, the git status is comprised of all the statuses of its files
itself and all its sub directories.
The current directory's prefix is just an empty string matching all files inside
the `@git_status` Hash.
Asking for the status of the parent directory is pointless, we do not compute it
(yet).
2019-04-08 21:47:18 +02:00
dependabot[bot]
2366fa1fde
Merge pull request #276 from athityakumar/dependabot/bundler/rubocop-tw-0.67.2
2019-04-08 10:53:19 +00: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]
fdacb217b3
Merge pull request #271 from athityakumar/dependabot/bundler/rubocop-tw-0.66.0
2019-03-19 06:06:17 +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
207b088b3d
Merge pull request #270 from avdv/fix-specs-exit-coverage
...
Fix specs exit coverage
2019-03-15 00:04:02 +01:00
Claudio Bley
3a9e95c653
Use RSpec's output matcher instead of capture_output
2019-03-14 23:50:53 +01:00
Claudio Bley
c0d9266378
Fix spec failures due to calling exit
2019-03-14 23:37:55 +01:00
Claudio Bley
5b7b583733
Merge pull request #269 from avdv/ignore-h-option
...
Add `--human-readable` option for compatibility with GNU ls
2019-03-14 15:28:34 +01:00
Claudio Bley
6d6d121553
Add --human-readable
option for compatibility with GNU ls
...
* make `-h` an alias for `--human-readable`
* both options are simply ignored when used with an argument or another option
* running `colorls -h` still shows the help text since just as before
2019-03-14 14:48:19 +01:00
Claudio Bley
3fb904614d
Merge pull request #268 from avdv/git-prefix
...
Improve git status handling
Close #265
2019-03-12 11:25:17 +01:00
Claudio Bley
c92b5c59a4
Fix git status reporting for file arguments
2019-03-11 23:42:38 +01:00
Claudio Bley
6f500722d0
Add String#delete_prefix
method for Ruby < 2.5
2019-03-11 23:17:52 +01:00
Claudio Bley
b5caa35de5
Compute git status relative to the actual directory
...
Using the `--show-prefix` option for `git ref-parse` simplifies determining the
status for the child items.
Previsouly, `File.realdirpath` was used to determine an absolute path, but this
method returns a path without symlinks. This caused status to be reported about
the link target instead of the symlink.
2019-03-11 23:17:52 +01:00
Claudio Bley
1c5f5a0292
Merge pull request #261 from avdv/alpha-releases
...
Create prereleases on rubygems.
2019-02-26 22:06:05 +01: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
Claudio Bley
b354c01031
travis: Automatically deploy to rubygems
2019-02-26 21:42:09 +01:00
dependabot[bot]
2deb4411e5
Merge pull request #258 from athityakumar/dependabot/bundler/rubocop-tw-0.65.0
2019-02-20 19:43:17 +00: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]
65a3f2dfba
Merge pull request #257 from athityakumar/dependabot/bundler/rubocop-tw-0.64.0
2019-02-11 23:20:05 +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]
5804f924c3
Merge pull request #255 from athityakumar/dependabot/bundler/rubocop-tw-0.63.0
2019-01-17 07:30:13 +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
Alex Cano
c60a2ebec8
Add the option to handle depth for the tree flag ( #253 )
...
* Add the option to handle depth for the tree flag
* Update README to describe the new option for the tree flag
* Add tests
2019-01-11 07:36:02 +01:00
Claudio Bley
3897c6cba2
Merge pull request #252 from avdv/exclude-specs-from-coverage
...
spec: Exclude specs from coverage
2019-01-04 13:54:32 +01:00
Claudio Bley
ce9be74c7a
spec: Exclude specs from coverage
2019-01-04 13:45:25 +01:00
Claudio Bley
e47626e7af
Merge pull request #251 from athityakumar/dependabot/bundler/bundler-tw-2.0
...
Update bundler requirement from ~> 1.15 to ~> 2.0, drop Ruby 2.2 support.
2019-01-04 12:16:26 +01: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
Claudio Bley
b6a5366159
travis: Upgrade RubyGems to the latest version and install bundler 2
...
This fixes build failures due to Bundler 2.0 requires rubygems >= 3.0.0
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
Claudio Bley
2e25373916
Merge pull request #250 from athityakumar/dependabot/bundler/rubocop-tw-0.62.0
...
Update rubocop requirement from ~> 0.61.1 to ~> 0.62.0
2019-01-02 11:51:36 +01:00
dependabot[bot]
4ed9353148
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-01 23:12:49 +00:00
Claudio Bley
602de5a5bb
Merge pull request #249 from avdv/add-ruby-2.6-no-warnings
...
Add ruby 2.6 no warnings
2018-12-29 17:36:34 +01:00
Claudio Bley
c6d1b44e11
travis: Add Ruby 2.6 to build matrix
...
Ruby 2.6 has been released on 25th Dec 2018.
2018-12-29 17:23:07 +01:00
Claudio Bley
d3541c1afc
travis: Only build pushes on master, PRs to master and tags
...
This avoids duplicate builds for PRs of branches for the origin repository (e.g.
from dependabot).
2018-12-29 17:23:07 +01:00
Claudio Bley
9c266c9fda
Make ColorLS::Git
a module instead of a class
...
There is no reason it should inherit from `Core`.
2018-12-29 17:23:07 +01:00
Claudio Bley
306bcd3cbc
Fix warning about method redefinement
...
`lib/colorls/monkeys.rb:26: warning: method redefined; discarding old sum`
2018-12-29 17:13:33 +01:00