Commit graph

797 commits

Author SHA1 Message Date
Igor Victor
6279a3deac
Add Truffleruby head to CI (#393)
Co-authored-by: Claudio Bley <claudio.bley@gmail.com>
2020-09-25 13:35:23 +02:00
Claudio Bley
0265519a02
Merge pull request #396 from DasCodes/patch-1
Updated fontFamily for HyperJS users in instructions
2020-09-20 08:03:34 +02:00
DasCodes
c67674874a
Updated fontFamily for HyperJS users in instructions
The font family in #2 installation instruction for `HyperJS` users should be `"Hack Nerd Font"` not `"Hack Regular Nerd"`.
2020-09-20 06:36:23 +05:30
dependabot-preview[bot]
1dae294224
Merge pull request #394 from athityakumar/dependabot/bundler/rubocop-tw-0.91.0 2020-09-16 08:40:51 +00:00
dependabot-preview[bot]
449d5ad663
Update rubocop requirement from ~> 0.90.0 to ~> 0.91.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/v0.90.0...v0.91.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-15 23:11:55 +00:00
Simon Tarchichi
f20d5daf0d
Add instructions to install font for hyperjs users (#375)
[skip ci]
2020-09-08 17:10:06 +02:00
Claudio Bley
965eb6130d
Merge pull request #392 from avdv/fix-unrecognized
Fix unrecognized files count and colorization
2020-09-07 21:22:11 +02:00
Claudio Bley
52b8c3489d Fix unrecognized files count and colorization
A *file* is assigned a generic icon / glyph in `files.yaml`, so looking up
`:file` in the corresponding hash always succeeds, but `:file` is also used as
the fallback key if a file's extension is not recognized.

First determining the color and group of a given file before falling back to
the `:file` key fixes this issue.
2020-09-07 20:38:42 +02:00
dependabot-preview[bot]
c36ed1a78b
Merge pull request #390 from athityakumar/dependabot/bundler/rubocop-performance-tw-1.8.0 2020-09-06 18:00:44 +00:00
dependabot-preview[bot]
0e946da1e1
Update rubocop-performance requirement from ~> 1.7.0 to ~> 1.8.0
Updates the requirements on [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.7.0...v1.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 23:12:12 +00:00
Claudio Bley
662ff02e34
Merge pull request #388 from athityakumar/dependabot/bundler/rubocop-tw-0.90.0 2020-09-03 23:26:12 +02:00
Claudio Bley
2a0c840da1 Update manpage 2020-09-03 23:21:37 +02:00
Claudio Bley
8379ba64db Fix newly reported offenses
* Style/MultilineWhenThen: Do not use then for multiline when statement
* Style/StringConcatenation: Prefer string interpolation to string concatenation
* Style/OptionalBooleanParameter: Use keyword arguments when defining method with boolean argument
* Style/GlobalStdStream: Use $stderr instead of STDERR
* Style/GlobalStdStream: Use $stdout instead of STDOUT
2020-09-03 23:18:18 +02:00
dependabot-preview[bot]
3c3c2a9022
Update rubocop requirement from ~> 0.88.0 to ~> 0.90.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/v0.88.0...v0.90.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 23:12:24 +00:00
dependabot-preview[bot]
90470e53a3
Merge pull request #383 from athityakumar/dependabot/bundler/simplecov-tw-0.19.0 2020-08-18 16:12:17 +00:00
dependabot-preview[bot]
c395b289b4
Update simplecov requirement from ~> 0.18.0 to ~> 0.19.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.18.0...v0.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 23:12:56 +00:00
dependabot-preview[bot]
95aee85816
Merge pull request #374 from athityakumar/dependabot/bundler/rubocop-tw-0.88.0 2020-07-14 07:01:05 +00:00
dependabot-preview[bot]
7aeb575361
Update rubocop requirement from ~> 0.87.0 to ~> 0.88.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/v0.87.0...v0.88.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 23:11:39 +00:00
Claudio Bley
747dc37a13 Prepare release 1.4.2 2020-07-09 09:53:16 +02:00
dependabot-preview[bot]
93d2b5c7af
Merge pull request #373 from athityakumar/dependabot/bundler/rubocop-performance-tw-1.7.0 2020-07-09 07:46:50 +00:00
dependabot-preview[bot]
255adf7f87
Update rubocop-performance requirement from ~> 1.6.1 to ~> 1.7.0
Updates the requirements on [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.6.1...v1.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 23:12:15 +00:00
dependabot-preview[bot]
41df9f7e0f
Merge pull request #370 from athityakumar/dependabot/bundler/rubocop-tw-0.87.0 2020-07-07 09:05:27 +00:00
Claudio Bley
7fb4c0619a Fix Style/AccessorGrouping offense in fileinfo.rb 2020-07-07 11:01:06 +02:00
Claudio Bley
4d4461eea0
Merge pull request #372 from avdv/require-set
Add missing `require 'set'`
2020-07-07 10:54:04 +02:00
Claudio Bley
f27048b1db Add missing require 'set'
Fixes #371
2020-07-07 09:02:20 +02:00
dependabot-preview[bot]
c880c1263a
Update rubocop requirement from ~> 0.86.0 to ~> 0.87.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/v0.86.0...v0.87.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 23:12:43 +00:00
dependabot-preview[bot]
8ed892e562
Merge pull request #368 from athityakumar/dependabot/bundler/rubocop-tw-0.86.0 2020-06-23 06:23:22 +00:00
dependabot-preview[bot]
afac5fe39c
Update rubocop requirement from ~> 0.85.0 to ~> 0.86.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/v0.85.0...v0.86.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 23:12:57 +00:00
dependabot-preview[bot]
872274f4fc
Merge pull request #367 from athityakumar/dependabot/bundler/rubocop-performance-tw-1.6.1 2020-06-06 21:10:05 +00:00
dependabot-preview[bot]
c694051253
Update rubocop-performance requirement from ~> 1.5.0 to ~> 1.6.1
Updates the requirements on [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.5.0...v1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 23:12:54 +00:00
dependabot-preview[bot]
a384a636d4
Merge pull request #366 from athityakumar/dependabot/bundler/rubocop-tw-0.85.0 2020-06-02 09:03:45 +00:00
dependabot-preview[bot]
25427c6efe
Update rubocop requirement from ~> 0.84.0 to ~> 0.85.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/v0.84.0...v0.85.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 23:12:05 +00:00
Claudio Bley
2f3cdbdd78
Merge pull request #365 from bigpick/support-hex-colors
Close #312
2020-05-28 22:23:16 +02:00
George Pickering
6d0ac10ec5 Update README with hexstring color example 2020-05-28 15:39:03 -04:00
George Pickering
e345cfca8b Update yaml and monkeys to support hexstring colors 2020-05-28 15:02:37 -04:00
dependabot-preview[bot]
b2def8eea9
Merge pull request #361 from athityakumar/dependabot/bundler/rubocop-tw-0.84.0 2020-05-22 06:43:05 +00:00
dependabot-preview[bot]
15ecc6fa0e
Update rubocop requirement from ~> 0.83.0 to ~> 0.84.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/v0.83.0...v0.84.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-21 23:12:57 +00:00
dependabot-preview[bot]
3c294cc112
Merge pull request #359 from athityakumar/dependabot/bundler/rubocop-tw-0.83.0 2020-05-12 05:47:15 +00:00
dependabot-preview[bot]
a7cda1737d
Update rubocop requirement from ~> 0.82.0 to ~> 0.83.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/v0.82.0...v0.83.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 23:12:02 +00:00
Claudio Bley
1a2d3ad6c1 Prepare release 1.4.1 2020-05-10 21:26:43 +02:00
Claudio Bley
40079e1a96
Merge pull request #357 from avdv/fix-exception-in-unlinked-directory 2020-05-10 21:25:36 +02:00
Claudio Bley
f34453bce3 Workaround Errno::ENOENT error in rubygems
When trying to `require` a gem running in an unlinked directory, an exception is
thrown because `Dir.pwd` is called (see rubygems/rubygems#3087).

Until the fix lands in an official release, we monkey patch `Dir.pwd` to return
'/' if a `Errno::ENOENT` exception is raised while loading the colorls gem.

This should work for all Unixes. On Windows, this error cannot happen since you
cannot unlink a directory which is still in use by a process.

Fixes #351.
2020-05-10 21:23:07 +02:00
Claudio Bley
f8674d46df Prepare release 1.4.0 2020-05-08 22:27:51 +02:00
Claudio Bley
53a6bef959 Directly use Unicode symbols in yaml config 2020-05-08 22:12:35 +02:00
dependabot-preview[bot]
5d8b8288d7
Merge pull request #355 from athityakumar/dependabot/bundler/rubocop-tw-0.82.0 2020-04-20 08:29:23 +00:00
Claudio Bley
0f9f01cdb1 Enable all newly introduced cops automatically
When Rubocop introduces new rules, existing code may violate them unknowingly.

That's why they are in a "pending" state initially and need to be enabled
explicitly:

```
The following cops were added to RuboCop, but are not configured. Please set
Enabled to either `true` or `false` in your `.rubocop.yml` file:

 - Layout/SpaceAroundMethodCallOperator (0.82)

 - Style/ExponentialNotation (0.82)

For more information: https://docs.rubocop.org/en/latest/versioning/
```

Since we never automatically let gem upgrade rubocop in this project, it is
safe to enable all pending cops globally. This way new cops are not silenced and
one has to deal with them when upgrading the dependency on Rubocop.
2020-04-20 10:20:10 +02:00
dependabot-preview[bot]
81721f80b8
Update rubocop requirement from ~> 0.81.0 to ~> 0.82.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/v0.81.0...v0.82.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-16 23:13:12 +00:00
Claudio Bley
9c37fb2d9e
Merge pull request #343 from avdv/rescue-setlocale 2020-04-17 00:31:06 +02:00
Claudio Bley
825e9f711c Only warn if locale settings are broken
Keep running if calling `setlocale` fails, because of invalid locale settings.

Fixes #335.
2020-04-17 00:21:11 +02:00
Claudio Bley
2afd28b69b
Merge pull request #354 from avdv/drop-ruby-2.4 2020-04-16 22:55:29 +02:00