Commit graph

815 commits

Author SHA1 Message Date
Ayush Poddar
cc659b6eda spec adjustments 2024-08-01 02:14:30 +05:30
Ayush Poddar
07d456005d test cases 2024-08-01 02:14:30 +05:30
Claudio Bley
597a8c6807
Merge pull request #595 from ayushpoddar/color-hidden-files
Colorise hidden files and directories
2024-07-12 14:19:26 +02:00
Claudio Bley
f729beadac
Merge pull request #620 from ayushpoddar/disable-mfa-duplicate
Remove `rubygems_mfa_required` setting and disable RequireMFA cop
2024-07-12 08:39:48 +02:00
Claudio Bley
0b7b88ca26 Disable Windows CI jobs
They fail with:

```
D:/a/colorls/colorls/vendor/bundle/ruby/3.0.0/gems/hpricot-0.8.6/ext/fast_xs
make.exe DESTDIR\=
generating fast_xs-x64-mingw32.def
compiling fast_xs.c
fast_xs.c: In function 'fast_xs':
fast_xs.c:165:46: error: passing argument 3 of 'rb_rescue' from incompatible
pointer type [-Wincompatible-pointer-types]
  165 |         array = rb_rescue(unpack_utf8, self, unpack_uchar, self);
      |                                              ^~~~~~~~~~~~
      |                                              |
|                                              VALUE (*)(VALUE) {aka long
long unsigned int (*)(long long unsigned int)}
```
2024-07-12 08:38:10 +02:00
Claudio Bley
6f7dedc950 Upgrade release-drafter to v6 2024-07-12 08:18:48 +02:00
Claudio Bley
073964975e Set permissions for release drafter workflow 2024-07-12 08:17:17 +02:00
Claudio Bley
c8a0401a61 Disable codecov
The uploader was deprecated and is no longer working.

There is a new uploader that should be used instead: https://docs.codecov.com/docs/codecov-uploader
2024-07-12 08:13:35 +02:00
Ayush Poddar
e55bcba50e Remove rubygems_mfa_required setting and disable RequireMFA cop
This setting was introduced automatically by the aforementioned rubocop cop,which makes it impossible to publish to rubygems automatically from a Githubaction with an API key, since one would always need the second factor.
2024-07-12 08:22:02 +05:30
Athitya Kumar
24e402c153
Merge pull request #585 from Flimm/patch-1
Fix README.md to use latest flags
2023-10-29 21:45:30 +05:30
Athitya Kumar
c4ad0b16d9
Merge pull request #599 from alitokur/patch-1
[docs]: update readme
2023-10-29 21:45:02 +05:30
Claudio Bley
66c456b63e
Merge pull request #604 from vanillajonathan/patch-1
Update file_aliases.yaml
2023-10-23 14:55:10 +02:00
Jonathan
f1770bd1f8
Update file_aliases.yaml 2023-10-23 09:59:19 +02:00
Jonathan
12e5da67ab
Update file_aliases.yaml
Add a couple of file extensions.
2023-10-23 09:42:01 +02:00
Claudio Bley
8f302811bd
Merge pull request #602 from vanillajonathan/patch-1
Add icon for PRQL
2023-10-23 08:27:34 +02:00
Jonathan
cc6ef404c0
Update files.yaml 2023-10-21 14:14:58 +02:00
badcode
0db24b02e0
[docs]: update readme for improved user instructions 2023-09-18 09:07:29 +03:00
Ayush Poddar
305e2486f4 refactor: split into two methods 2023-06-07 18:00:34 +05:30
Ayush Poddar
6f7f4ab47d modify the instance doubles ensuring green specs 2023-06-07 17:40:15 +05:30
Ayush Poddar
fe59bb7c5f add logic to show different color for hidden files/directories 2023-06-07 17:23:08 +05:30
Ayush Poddar
4f1333ff66 add colors for hidden files/directories 2023-06-07 17:22:40 +05:30
Ayush Poddar
1e1f10c763 modify indentations 2023-06-07 17:22:27 +05:30
Claudio Bley
28c188bbd6
Merge pull request #594 from ayushpoddar/show-abs-path-xargs
When the argument is a file with path provided, show the relative path of the file
2023-05-19 22:37:17 +02:00
Ayush Poddar
44c370b4c6 Revert "version bump"
This reverts commit 414820b23b.
2023-05-12 19:43:53 +05:30
Ayush Poddar
414820b23b version bump 2023-04-30 02:48:37 +05:30
Ayush Poddar
c5fdcf6e92 relevant feature spec 2023-04-30 02:45:55 +05:30
Ayush Poddar
86daeef7ec rubocop fixes 2023-04-30 02:43:41 +05:30
Ayush Poddar
1001aa2832 refactor: DRY the fileinfo stub for spec readability 2023-04-30 02:31:39 +05:30
Ayush Poddar
4c5ef39093 fix the stubs in specs 2023-04-30 02:31:39 +05:30
Ayush Poddar
688188de6f show relative filepath when argument is file 2023-04-29 20:15:50 +05:30
Claudio Bley
d1e28edcd0
Merge pull request #589 from ayushpoddar/size-in-bytes
add support for --non-human-readable flag
2023-04-26 21:39:30 +02:00
Ayush Poddar
5f3b8807d3 spec fix: not more than 3 lines in the spec output 2023-04-26 18:42:22 +05:30
Ayush Poddar
03ebc748ad add check for the new flag 2023-04-26 18:32:52 +05:30
Ayush Poddar
93fa6872c9 remove --nh flag 2023-04-26 18:28:03 +05:30
Ayush Poddar
d4fdd94d97 justify size unit only when displaying human readable sizes 2023-04-26 18:22:34 +05:30
Claudio Bley
23a1b72679
Merge pull request #590 from athityakumar/dependabot/bundler/rubocop-rspec-tw-2.20.0
Update rubocop-rspec requirement from ~> 2.19.0 to ~> 2.20.0
2023-04-21 22:37:46 +02:00
Ayush Poddar
d11bd9241f update the version as per semantic versioning specification 2023-04-19 17:32:45 +05:30
Ayush Poddar
346ec6c53e update the readme 2023-04-19 17:04:03 +05:30
Ayush Poddar
214cb436e2 silence rubocop 2023-04-19 16:52:52 +05:30
Ayush Poddar
69988e1b2e improve the regex 2023-04-19 16:48:38 +05:30
Ayush Poddar
81ced364a4 fix: fix failing spec due to new fixture file 2023-04-19 16:33:08 +05:30
Ayush Poddar
7eda794a07 spec: add spec to flags spec 2023-04-19 16:32:11 +05:30
dependabot[bot]
6d1a389637
Update rubocop-rspec requirement from ~> 2.19.0 to ~> 2.20.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.19.0...v2.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 23:57:17 +00:00
Ayush Poddar
0421206076 rubocop fix 2023-04-18 21:32:27 +05:30
Ayush Poddar
6f5abb25a0 increase the number of characters allotted to displaying size 2023-04-18 21:24:09 +05:30
Ayush Poddar
e231708f30 add support for --non-human-readable flag 2023-04-18 19:50:08 +05:30
Claudio Bley
3ad436b533
Merge pull request #588 from athityakumar/dependabot/bundler/rubocop-tw-1.50.1
Update rubocop requirement from ~> 1.48.1 to ~> 1.50.1
2023-04-13 23:11:52 +02:00
Claudio Bley
5347ea77cf Auto-correct offenses 2023-04-13 22:49:54 +02:00
dependabot[bot]
72559bdd65
Update rubocop requirement from ~> 1.48.1 to ~> 1.50.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.48.1...v1.50.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 19:02:41 +00:00
Claudio Bley
dfb7675cbe
Merge pull request #586 from athityakumar/dependabot/bundler/rubocop-performance-tw-1.17.1
Update rubocop-performance requirement from ~> 1.16.0 to ~> 1.17.1
2023-04-13 21:01:36 +02:00