Commit graph

664 commits

Author SHA1 Message Date
Claudio Bley
7100c41703 Remove man page and zsh completion file
The files are automatically generated, but using rake's `file` task does not
work correctly when the files are checked into the repo since the timestamps are
updated independently of the commit time.

Removing them ensures that these files are always freshly generated before
building the gem and thus are always up-to-date which was often not the case in
the past.
2022-03-21 09:03:21 +01:00
Claudio Bley
092e25a83b
Merge pull request #506 from goar5670/add-inode 2022-03-20 22:20:17 +01:00
goar5670
cd394c0feb Fix different inode number lengths 2022-03-20 21:24:07 +03:00
Claudio Bley
697577c487
Merge pull request #507 from avdv/ci-main-branch 2022-03-20 08:18:37 +01:00
Claudio Bley
61782997ca CI: Run workflow on push/pull_request to "main"
The default branch has been renamed (see #504) and this needs to change too.
2022-03-20 08:12:26 +01:00
goar5670
c1469a4196 Cover the new --inode flag with tests 2022-03-20 02:33:01 +03:00
goar5670
eb2656a219 Fix rubocop offenses 2022-03-20 02:18:02 +03:00
goar5670
57feb07032 Add colors for inode text 2022-03-20 01:55:50 +03:00
goar5670
fb102b1700 Account for git status and inode in item widths 2022-03-20 01:55:33 +03:00
goar5670
793cd20cc8 Add basic --inode flag 2022-03-20 01:54:58 +03:00
Claudio Bley
0b61d733de
Merge pull request #478 from athityakumar/fix-461 2022-03-19 09:27:05 +01:00
Claudio Bley
a3b94311ec Allow git status to be different for items in directories
If a directory was reported with a concrete status by git, it was
assumed that all files below this directory would have the same status.

This is not the case were git ignore files are applied to some files
in subdirectories.

Fixes #461.
2022-03-19 09:20:03 +01:00
Claudio Bley
1f2c7ee996
Merge pull request #502 from goar5670/short-report 2022-03-19 09:12:48 +01:00
bl7awy
e9166e8c15 Resolve long line offense 2022-03-18 23:41:36 +03:00
bl7awy
29f2162a77 Edit --report flag description 2022-03-18 22:59:27 +03:00
bl7awy
f43c9b9e7e Add tests for --report flag 2022-03-18 22:28:26 +03:00
bl7awy
c4f3885410 Add the option for a short report 2022-03-18 18:02:46 +03:00
Claudio Bley
234815d0fc
Merge pull request #500 from avdv/fix-rubocop-rspec 2022-02-28 21:51:46 +01:00
Claudio Bley
6b35f942aa Fix offenses newly reported by rubocop-rspec
The pessimistic version contraint on rubocop-rspec permitted minor version
updates of the dependency, which broke the tests again since version 2.9.0
introduced / changed offenses.

Allow only the patch version to increase automatically to avoid this in the future.
2022-02-28 21:37:11 +01:00
Claudio Bley
e51a15a027
Merge pull request #498 from avdv/drop-ruby-2.5
Drop Ruby 2.5
2022-02-28 11:21:39 +01:00
Claudio Bley
a07810cb9d CI: Run shellcheck for test scripts 2022-02-28 09:17:26 +01:00
Claudio Bley
3995f3173c Drop support for Ruby 2.5
It reached EOL with release 2.5.9, and no longer receives patches.
2022-02-28 09:17:26 +01:00
Claudio Bley
1a0c82201f CI: Also run on macos-latest
Make the `test/run` script compatible to the ancient Bash version on macos.

```
test/run: line 56: conditional binary operator expected
```

Also, run `set -e` only for Bash >= 4. Otherwise the shell silently exits with
a failure when a command (expectedly) fails.

fix bogus test failure with Bash 3.2 on macos
2022-02-28 09:15:18 +01:00
Claudio Bley
296d7f0f18
Merge pull request #497 from avdv/check-command-run 2022-02-18 11:39:52 +01:00
Claudio Bley
d6d7cd76b7 Add script to check colorls flags
Fixes #488.
2022-02-18 11:33:17 +01:00
Claudio Bley
74b20cf371
Merge pull request #481 from t-mangoe/customize-time-format 2022-02-15 16:42:40 +01:00
Claudio Bley
f4b9fcd284
Merge pull request #492 from athityakumar/dependabot/bundler/rubocop-performance-tw-1.13.0 2022-01-02 23:22:50 +01:00
Claudio Bley
ec4ea6e830 Auto-correct Performance/StringIdentifierArgument offense 2022-01-02 23:12:14 +01:00
dependabot[bot]
5c658bc7f8
Update rubocop-performance requirement from ~> 1.11.0 to ~> 1.13.0
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.11.0...v1.13.0)

---
updated-dependencies:
- dependency-name: rubocop-performance
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-27 23:08:43 +00:00
Claudio Bley
24b44c03ae
README: Add download link to Nerd Fonts
Fixes #288
2021-12-14 10:33:28 +01:00
t-mangoe
90aaa4d0b6 change time/date format in '+FORMAT' 2021-11-13 09:21:15 +09:00
t-mangoe
53f557b78a Add one contributor name 2021-10-30 09:08:08 +09:00
t-mangoe
d7e7ddd01e add --time-style option in long style format 2021-10-02 08:40:48 +09:00
Claudio Bley
a503848e67
Merge pull request #480 from athityakumar/dependabot/bundler/rubocop-tw-1.22.0 2021-09-30 18:38:53 +02:00
Claudio Bley
cff2f2c578 rubocop => Security/IoMethods: File.write is safer than IO.write 2021-09-30 17:17:23 +02:00
dependabot[bot]
e7211b0e69
Update rubocop requirement from ~> 1.21.0 to ~> 1.22.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.21.0...v1.22.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-29 23:08:58 +00:00
Claudio Bley
042c4b9d18
Merge pull request #476 from athityakumar/dependabot/bundler/rubocop-tw-1.21.0 2021-09-14 15:00:08 +02:00
Claudio Bley
c9f93173e6 Fix Lint/AmbiguousOperatorPrecedence offenses 2021-09-14 13:49:50 +02:00
dependabot[bot]
4afbce9aba
Update rubocop requirement from ~> 1.20.0 to ~> 1.21.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.20.0...v1.21.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 23:11:28 +00:00
Claudio Bley
c7eb2a05c5
Merge pull request #475 from gheritarish/add-LibreOffice-extensions
  add LibreOffices extensions to alias file
2021-09-04 10:57:49 +02:00
gheritarish
f5cd4e6695
add LibreOffices extensions to alias file 2021-09-04 10:25:01 +02:00
Claudio Bley
d17e3fca8f
Merge pull request #472 from athityakumar/dependabot/bundler/rubocop-tw-1.20.0
Update rubocop requirement from ~> 1.19.0 to ~> 1.20.0
2021-08-27 09:44:34 +02:00
dependabot[bot]
c80cc3546c
Update rubocop requirement from ~> 1.19.0 to ~> 1.20.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.19.0...v1.20.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-26 23:08:42 +00:00
Claudio Bley
32c4179bbd
Merge pull request #470 from athityakumar/dependabot/bundler/rubocop-tw-1.19.0
Update rubocop requirement from ~> 1.18.3 to ~> 1.19.0
2021-08-13 11:09:01 +02:00
dependabot[bot]
03f6bb2b17
Update rubocop requirement from ~> 1.18.3 to ~> 1.19.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.18.3...v1.19.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 23:11:14 +00:00
Claudio Bley
34ff868bbc
Merge pull request #462 from t-mangoe/trailing-directory-backslash 2021-07-19 10:39:27 +02:00
t-mangoe
00f503c09f add a description of the --indicator-style option 2021-07-19 10:35:08 +02:00
t-mangoe
566ea3b45a add '--indicator-style' option 2021-07-19 10:24:25 +02:00
Claudio Bley
632be54a07
Merge pull request #467 from avdv/fix-rubocop-false-positive
Require rubocop 1.18.3
2021-07-19 10:17:51 +02:00
Claudio Bley
27f6337325 Require rubocop 1.18.3
This fixes a false positive for Layout/LineEndStringConcatenationIndentation.
2021-07-19 10:13:36 +02:00