Commit graph

788 commits

Author SHA1 Message Date
Claudio Bley
00cd57c040 Release version 1.4.6 2022-04-29 15:58:03 +02:00
Claudio Bley
c7f3ac890b
Merge pull request #516 from athityakumar/dependabot/bundler/rubocop-rspec-tw-2.10.0
Update rubocop-rspec requirement from ~> 2.9.0 to ~> 2.10.0
2022-04-26 22:09:29 +02:00
Claudio Bley
ef86bcf66e Fix rubocop offense for RSpec/VerifiedDoubleReference
RSpec/VerifiedDoubleReference: Use a constant class reference for verified doubles.
2022-04-26 22:06:50 +02:00
dependabot[bot]
cee7e14608
Update rubocop-rspec requirement from ~> 2.9.0 to ~> 2.10.0
Updates the requirements on [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.9.0...v2.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 23:11:33 +00:00
Claudio Bley
90ed878213 Release version 1.4.6 2022-04-13 21:46:18 +02:00
Claudio Bley
13b1441f88
Merge pull request #514 from athityakumar/fix-hyperlink-non-ascii 2022-04-13 21:35:20 +02:00
Claudio Bley
0c6928dce2 Refactor hyperlink handling in fetch_string 2022-04-13 21:24:30 +02:00
Claudio Bley
b8589c30fe Use FileInfo#show for the hyperlink text
Fixes #513
2022-04-13 21:08:47 +02:00
Claudio Bley
cadb9b9558 CI: Run ruby workflow also on tag creation 2022-04-04 22:42:01 +02:00
Claudio Bley
2d2d43de27 Prepare release 1.4.5 2022-04-04 22:16:03 +02:00
Claudio Bley
729a6e06c8
Merge pull request #511 from avdv/fix-test-failure 2022-04-04 22:05:58 +02:00
Claudio Bley
dbdcd142a0 Fix --inode check
The range of inodes is roughly 2 to 2^32 (depending on the filesystem).

The test failed on CI, since the inode number was a 6-digit number.
2022-04-04 21:52:22 +02:00
Claudio Bley
88fc35e02f Integrate Release Drafter 2022-04-04 21:28:27 +02:00
Claudio Bley
ce46ab1e87
Merge pull request #499 from t-mangoe/no-hardlinks 2022-03-27 19:24:13 +02:00
Claudio Bley
a7cb1cc385 Add colorls -l --no-hardlinks call to checks 2022-03-27 19:10:12 +02:00
Claudio Bley
5a62fedc1a Print newlines after test summary 2022-03-27 19:09:26 +02:00
t-mangoe
462fa61bc5 fix rubocop error 2022-03-26 16:32:54 +09:00
t-mangoe
67459d0ef9 Merge branch 'master' into no-hardlinks 2022-03-26 16:25:05 +09:00
Claudio Bley
d4e1f1c80a
Merge pull request #505 from avdv/publish-to-rubygems 2022-03-21 09:15:06 +01:00
Claudio Bley
d5691d69c0 Fix arguments of with --inode flag check 2022-03-21 09:09:01 +01:00
Claudio Bley
f9dd1b44ef CI: Publish to RubyGems 2022-03-21 09:09:01 +01:00
Claudio Bley
61050314de Do not add .github files to gem 2022-03-21 09:03:21 +01:00
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
t-mangoe
ba547f299d modify the code according to rubocop 2022-02-19 11:15:43 +09:00
t-mangoe
ced1cfebff add --no-hardlinks option 2022-02-19 09:28:10 +09: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