Commit graph

813 commits

Author SHA1 Message Date
dependabot[bot]
fddff13b36
Update diffy requirement from = 3.4.0 to = 3.4.2
Updates the requirements on [diffy](https://github.com/samg/diffy) to permit the latest version.
- [Release notes](https://github.com/samg/diffy/releases)
- [Changelog](https://github.com/samg/diffy/blob/main/CHANGELOG)
- [Commits](https://github.com/samg/diffy/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 23:18:44 +00:00
Claudio Bley
6250536d23
Merge pull request #532 from AlexwannaCode/main
Add logo
2022-06-30 09:45:02 +02:00
Claudio Bley
29b2d31875
Merge pull request #535 from athityakumar/dependabot/bundler/rubocop-tw-1.31.1
Update rubocop requirement from ~> 1.30.0 to ~> 1.31.1
2022-06-30 09:34:21 +02:00
Claudio Bley
64109c44a9 Pin version of diffy to 3.4.0
Versions 3.4.1 and 3.4.2 are broken on Windows, see issue [#119][issue119]

[issue119]: https://github.com/samg/diffy/issues/119
2022-06-30 09:24:14 +02:00
Claudio Bley
8470631723 Auto-correct rubocop offenses 2022-06-30 08:48:29 +02:00
dependabot[bot]
50722273fe
Update rubocop requirement from ~> 1.30.0 to ~> 1.31.1
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.30.0...v1.31.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-29 23:13:17 +00:00
AlexwannaCode
5efea0a571
Update file_aliases.yaml
Add tgz as zip alias
2022-06-04 16:25:09 +08:00
AlexwannaCode
0b473bd200
Update files.yaml
Add icon for Vue and React
2022-06-04 16:22:40 +08:00
Claudio Bley
e29be09bb8
Merge pull request #528 from athityakumar/dependabot/bundler/rubocop-rspec-tw-2.11.1 2022-05-30 22:58:00 +02:00
Claudio Bley
547df90359 Auto-correct rubocop offenses 2022-05-30 20:47:58 +02:00
dependabot[bot]
511c62fb33
Update rubocop-rspec requirement from ~> 2.10.0 to ~> 2.11.1
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.10.0...v2.11.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 08:02:49 +00:00
Claudio Bley
7a3b83692a
Merge pull request #531 from athityakumar/dependabot/bundler/rubocop-tw-1.30.0
Update rubocop requirement from ~> 1.29.1 to ~> 1.30.0
2022-05-27 10:01:56 +02:00
dependabot[bot]
7f95bb5a9e
Update rubocop requirement from ~> 1.29.1 to ~> 1.30.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.29.1...v1.30.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 07:16:46 +00:00
Claudio Bley
babea61a14
Merge pull request #530 from athityakumar/dependabot/bundler/rubocop-performance-tw-1.14.0
Update rubocop-performance requirement from ~> 1.13.0 to ~> 1.14.0
2022-05-27 09:16:02 +02:00
dependabot[bot]
2e75139987
Update rubocop-performance requirement from ~> 1.13.0 to ~> 1.14.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.13.0...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-24 23:27:12 +00:00
Claudio Bley
b99e937006
Merge pull request #526 from athityakumar/dependabot/bundler/rubocop-tw-1.29.1 2022-05-13 21:53:45 +02:00
Claudio Bley
3ffea2976a Correct Style/OpenStructUse offenses
Replace with `Struct`, or use `instance_double` in tests.
2022-05-13 21:47:03 +02:00
Claudio Bley
ca9bb97e08 Auto-correct rubocop offenses 2022-05-13 19:18:45 +02:00
dependabot[bot]
1c64706f2e
Update rubocop requirement from ~> 1.22.0 to ~> 1.29.1
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.22.0...v1.29.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-12 23:10:12 +00:00
Claudio Bley
0123267b0f
Merge pull request #521 from athityakumar/fix-issue-517 2022-04-30 09:20:32 +02:00
Claudio Bley
60cf569776 Pass a null device instead of explicitly closing stderr
When calling git any error messages should be suppressed (e.g. if an directory
is not inside a git repository).

Closing the stderr output when calling `IO.popen` works fine on POSIX systems,
but on Windows it does not and spits out a warning for every invocation:

```
git.rb:44: warning: cannot close fd before spawn
```

Fixes #517.
2022-04-30 09:13:56 +02:00
Claudio Bley
c7aa167952
Merge pull request #519 from athityakumar/ci-on-windows 2022-04-29 16:14:46 +02:00
Claudio Bley
8c73bd074c Explicitly use bash (for Windows) 2022-04-29 16:08:35 +02:00
Claudio Bley
6d8e229cb3 Fix "shows the file in the linked directory" test on Windows
When running on Windows this test failed with:

```
Failures:

  1) ColorLS::Flags symlinked directory with trailing separator shows the file in the linked directory
     Failure/Error: expect { subject }.to output(/yaml_sort_checker.rb/).to_stdout

       expected block to output /yaml_sort_checker.rb/ to stdout, but output "       Supportlink \n"
       Diff:
       @@ -1 +1 @@
       -/yaml_sort_checker.rb/
       +       Supportlink
     # ./spec/color_ls/flags_spec.rb:329:in `block (3 levels) in <top (required)>'
```

This is due to the different handling of paths to a symlink with a trailing
slash / backslash.

`File.lstat(x).directory?` returns

OS      |     x    | value
----------------------------
Windows | symlink\ | false
Windows | symlink  | false
Linux   | symlink/ | true
Linux   | symlink  | false

This could be fixed in colorls by handling a trailing (back)slash specifically,
but I am unsure whether that is the right thing to do on Windows.
2022-04-29 15:58:03 +02:00
Claudio Bley
7a88177ede CI: Add windows-latest to job matrix 2022-04-29 15:58:03 +02:00
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