Commit graph

633 commits

Author SHA1 Message Date
dependabot-preview[bot]
adb19ab3c3 Update rubocop-performance requirement from ~> 1.9.0 to ~> 1.10.1
Updates the requirements on [rubocop-performance](https://github.com/rubocop/rubocop-performance) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-performance/compare/v1.9.0...v1.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 08:46:35 +01:00
Claudio Bley
d08ec7ab27
Merge pull request #447 from FelixDombek/master
Add support for executable_file color
2021-03-05 22:16:51 +01:00
Claudio Bley
5d1e1d38e1
Merge pull request #445 from athityakumar/dependabot/bundler/rubocop-tw-1.11.0
Update rubocop requirement from ~> 1.10.0 to ~> 1.11.0
2021-03-04 08:57:38 +01:00
Felix Dombek
6ebb1ef6db Add support for executable_file color 2021-03-03 01:14:42 +01:00
dependabot-preview[bot]
61243d01d5
Update rubocop requirement from ~> 1.10.0 to ~> 1.11.0
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.10.0...v1.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-02 23:13:58 +00:00
dependabot-preview[bot]
5b5119b57c
Merge pull request #444 from athityakumar/dependabot/bundler/rubocop-tw-1.10.0 2021-02-16 09:41:55 +00:00
dependabot-preview[bot]
317a4bc819
Update rubocop requirement from ~> 1.9.0 to ~> 1.10.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/v1.9.0...v1.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 23:13:32 +00:00
Claudio Bley
adf2d526f6
Merge pull request #443 from avdv/fix-441
Use `File.extname` to determine file extension
2021-02-01 15:05:47 +01:00
dependabot-preview[bot]
c92cea0ae7
Merge pull request #442 from athityakumar/dependabot/bundler/rubocop-tw-1.9.0 2021-01-29 09:40:56 +00:00
Claudio Bley
17b2142c48 Use File.extname to determine file extension
Fixes #441.
2021-01-29 10:21:24 +01:00
dependabot-preview[bot]
cf93c8b84b
Update rubocop requirement from ~> 1.8.0 to ~> 1.9.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/v1.8.0...v1.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-28 23:12:56 +00:00
dependabot-preview[bot]
f38a80253c
Merge pull request #439 from athityakumar/dependabot/bundler/simplecov-tw-0.21.2 2021-01-20 07:29:20 +00:00
dependabot-preview[bot]
ab9600da55
Update simplecov requirement from ~> 0.20.0 to ~> 0.21.2
Updates the requirements on [simplecov](https://github.com/simplecov-ruby/simplecov) to permit the latest version.
- [Release notes](https://github.com/simplecov-ruby/simplecov/releases)
- [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md)
- [Commits](https://github.com/simplecov-ruby/simplecov/compare/v0.20.0...v0.21.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-19 23:12:55 +00:00
dependabot-preview[bot]
4fcdd399d7
Merge pull request #430 from athityakumar/dependabot/bundler/unicode-display_width-gte-1.7-and-lt-3.0 2021-01-15 21:32:59 +00:00
dependabot-preview[bot]
ee4f5455aa Update unicode-display_width requirement from ~> 1.7 to >= 1.7, < 3.0
Updates the requirements on [unicode-display_width](https://github.com/janlelis/unicode-display_width) to permit the latest version.
- [Release notes](https://github.com/janlelis/unicode-display_width/releases)
- [Changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md)
- [Commits](https://github.com/janlelis/unicode-display_width/compare/v1.7.0...v1.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-15 19:47:57 +01:00
Claudio Bley
667c256733
Merge pull request #428 from avdv/refactor-fix-233 2021-01-15 12:01:50 +01:00
Claudio Bley
232aa19cf7 Update manpage 2021-01-15 11:03:21 +01:00
Claudio Bley
0048e3883a Group and process arguments in groups of files and directories
Fixes #233
2021-01-15 11:03:21 +01:00
Claudio Bley
4612549bc2 Fix misalignment of git status indicators
The misalignment is caused when a `!` is part of the status
which is later replaced with a space.
2021-01-15 11:03:21 +01:00
Claudio Bley
2eeb30fc44 Refactor git_subdir_status
Instead of simply returning the opened pipe, consume the output
and yield the `mode, file` tuple to the given block.
2021-01-15 11:03:21 +01:00
Claudio Bley
373fb67003 Fix error when git is not installed 2021-01-15 11:03:21 +01:00
Claudio Bley
93b08f9403 Prefer require_relative for internal dependencies 2021-01-15 11:03:21 +01:00
Claudio Bley
0ad630da4c Properly encode hyperlinks with special characters
This also works on Windows now, since absolute paths include a colon after the
drive letter, the `file:` URI needs to start with a triple slash.
2021-01-15 11:03:21 +01:00
dependabot-preview[bot]
cc03f7b6ab
Merge pull request #432 from athityakumar/dependabot/bundler/rubocop-tw-1.8.0 2021-01-09 11:22:26 +00:00
dependabot-preview[bot]
9330718521
Update rubocop requirement from ~> 1.7.0 to ~> 1.8.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/v1.7.0...v1.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-07 23:13:01 +00:00
Claudio Bley
65bb8ec8eb
Merge pull request #429 from athityakumar/dependabot/bundler/rubocop-tw-1.7.0
Update rubocop requirement from ~> 1.6.0 to ~> 1.7.0
2020-12-29 16:54:06 +01:00
dependabot-preview[bot]
0232b3a7d3
Update rubocop requirement from ~> 1.6.0 to ~> 1.7.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/v1.6.0...v1.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-25 23:12:37 +00:00
Claudio Bley
76f148cc55 Only show a single report at the end
Showing a report for every argument given on the command line
is not suitable when using wildcards and did not work with `--tree`.

Also, it was only designed to work with directories given as
arguments.
2020-12-23 22:32:36 +01:00
Claudio Bley
e39703a3b5 Fix rubocop-rspec offenses or disable them 2020-12-23 22:32:36 +01:00
Claudio Bley
45f5162644 Enable rubocop-rspec in rubocop's config
This makes it run also when running rubocop from bundler instead
of the rake task.
2020-12-23 22:32:36 +01:00
Claudio Bley
7f0af24ada Use rubocop's default include configuration and fix all offenses 2020-12-23 22:32:36 +01:00
Claudio Bley
09628b3ec1 Add and enable rubocop-rake extension 2020-12-22 14:25:38 +01:00
Claudio Bley
ca9e1cd5d9 Refactor file_color method 2020-12-22 14:02:46 +01:00
Claudio Bley
d0df25d35d Re-use CoreLS::Core instance
Only initialize colors and flags once.
2020-12-22 14:01:55 +01:00
Claudio Bley
77b5135d97 Remove unused return value 2020-12-11 08:51:03 +01:00
Claudio Bley
41d9f5a757 Extract screen_width into the module 2020-12-11 08:51:03 +01:00
dependabot-preview[bot]
c1fd571363
Merge pull request #426 from athityakumar/dependabot/bundler/rubocop-tw-1.6.0 2020-12-10 07:23:22 +00:00
dependabot-preview[bot]
47bb9159e4
Update rubocop requirement from ~> 1.5.0 to ~> 1.6.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/v1.5.0...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-09 23:13:04 +00:00
Claudio Bley
019158c63c Prepare release 1.4.3 2020-12-07 23:22:34 +01:00
Claudio Bley
64a42c105d
Merge pull request #417 from t-mangoe/add-option-o-g
add -o and -g options.
2020-12-07 22:54:17 +01:00
Claudio Bley
175f2dc225
Correct description of -G -l check 2020-12-07 21:32:13 +01:00
t-mangoe
0d0a1d96ca add -G option 2020-12-05 09:14:12 +09:00
dependabot-preview[bot]
a3a895e60d
Merge pull request #423 from athityakumar/dependabot/bundler/rubocop-tw-1.5.0 2020-12-02 07:29:32 +00:00
dependabot-preview[bot]
c1511ef8ab
Update rubocop requirement from ~> 1.4.2 to ~> 1.5.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/v1.4.2...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-01 23:12:24 +00:00
dependabot-preview[bot]
e6d28dcdf8
Merge pull request #422 from athityakumar/dependabot/bundler/simplecov-tw-0.20.0 2020-12-01 07:38:25 +00:00
dependabot-preview[bot]
a1861cdf49
Update simplecov requirement from ~> 0.19.0 to ~> 0.20.0
Updates the requirements on [simplecov](https://github.com/simplecov-ruby/simplecov) to permit the latest version.
- [Release notes](https://github.com/simplecov-ruby/simplecov/releases)
- [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md)
- [Commits](https://github.com/simplecov-ruby/simplecov/compare/v0.19.0...v0.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 23:12:49 +00:00
dependabot-preview[bot]
fe7eba103e
Merge pull request #421 from athityakumar/dependabot/bundler/rubocop-tw-1.4.2 2020-11-26 09:33:59 +00:00
Claudio Bley
1795844679 Fix rubocop offense about redundant argument for String#split
```
lib/colorls/core.rb:213:14: C: Style/RedundantArgument: Argument ' ' is
redundant because it is implied by default.
      size = Filesize.from("#{filesize} B").pretty.split(' ')
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
2020-11-26 09:07:58 +01:00
dependabot-preview[bot]
7239efcf04
Update rubocop requirement from ~> 1.3.0 to ~> 1.4.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/v1.3.0...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-25 23:19:42 +00:00
Claudio Bley
dccc52b6fd
Merge pull request #419 from avdv/fix-416 2020-11-23 08:29:37 +01:00