Claudio Bley
b59484fbce
Merge pull request #409 from avdv/refactor-cleanup
2020-11-02 10:34:18 +01:00
Claudio Bley
81dfa058af
travis: Fix bundler deprecation warning
...
```
The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path vendor/bundle`, and stop using this flag
```
2020-11-02 08:45:07 +01:00
Claudio Bley
6c697cdb9e
Remove symbolize_keys
monkey method on Hash
...
Usage in a single place does not really warrant a monkey patch and it
can be replaced with `transform_keys!` easily.
2020-11-02 08:45:07 +01:00
Claudio Bley
a59258b749
Clean up monkey patches
...
* delete `#remove` method
* remove `#delete_prefix` spec, it was only used for Ruby < 2.5 (see 86cfa2f5cf
)
* add specifications for `#colorize` and `#uniq`
2020-11-02 08:45:07 +01:00
dependabot-preview[bot]
dc12307f19
Merge pull request #407 from athityakumar/dependabot/bundler/rubocop-tw-1.1.0
2020-10-31 21:29:31 +00:00
Claudio Bley
12e3b67d56
Fix Lint/EmptyBlock offense
2020-10-31 22:19:37 +01:00
Claudio Bley
a7006a5fd3
Merge pull request #408 from avdv/fix-invalid-encoding
...
Ensure to use `file_encoding` for arguments
2020-10-31 22:07:19 +01:00
Claudio Bley
8035deaab0
Ensure to use file_encoding
for arguments
...
Fixes #377
2020-10-31 21:54:45 +01:00
dependabot-preview[bot]
6769f1e8cc
Update rubocop requirement from ~> 0.93.1 to ~> 1.1.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.93.1...v1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-29 23:13:06 +00:00
Claudio Bley
041963a409
Merge pull request #405 from t-mangoe/make-executables-bold
...
make executables bold
2020-10-23 10:45:26 +02:00
t-mangoe
9992218ea4
make executables bold
2020-10-17 15:15:39 +09:00
dependabot-preview[bot]
a591f98f81
Merge pull request #403 from athityakumar/dependabot/bundler/rubocop-tw-0.93.1
2020-10-13 05:47:15 +00:00
dependabot-preview[bot]
9ac728d9b8
Update rubocop requirement from ~> 0.92.0 to ~> 0.93.1
...
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.92.0...v0.93.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 23:12:10 +00:00
Claudio Bley
6f9bc84ff5
Merge pull request #401 from avdv/fix-windows
2020-10-09 18:42:27 +02:00
Claudio Bley
d4110e4ac7
Officially support Windows
...
On Windows, MRI Ruby uses the `FindFirstFileW` et. al. kind of functions with
wide character paths and constantly converts from multi-byte to wide character
encoding back and forth when calling any methods on `File` or `Dir`.
This means that when using `Encoding::ASCII_8BIT` for reading directory entries,
that this does not round trip properly, if a file name contains unicode
characters. That is because Ruby assumes the path string is encoded in Windows
Codepage 1252[1].
* skip symlink test if files were checked out from git as textual symlinks on
Windows
* use UTF-8 encoding on Windows, since this properly round-trips between
multi-byte and wide character encoding
* travis: windows job no longer is allowed to fail
[1]: 946cd6c534/win32/file.c (L131-L134)
2020-10-09 18:26:50 +02:00
Claudio Bley
3fd9081b88
travis: Fix job configuration for windows
...
* call `bundle clean` before caching
* explicitely specify path for `bundle install`
* create a `--msys2--` file as a marker to skip msys2 & ridk install
2020-10-09 18:26:50 +02:00
Claudio Bley
905b0e8584
travis: Use 'spec' folder for --tree
to reduce output
2020-10-09 18:26:50 +02:00
Claudio Bley
035bcec412
Merge pull request #397 from t-mangoe/set_error_code
...
Set exit status code when specified path doesn't exist
2020-10-07 10:01:29 +02:00
t-mangoe
64b1891c2c
Set exit status code when specified path doesn't exist
...
Similar to GNU ls, status code `2` is reported if an argument given on the
command line does not exist.
Close #397
2020-10-07 09:58:01 +02:00
Claudio Bley
756b34a991
Merge pull request #400 from avdv/osx-build
...
Add osx to build matrix
2020-09-26 21:52:22 +02:00
Claudio Bley
e05e771bdc
Add osx to build matrix
2020-09-26 21:28:53 +02:00
Claudio Bley
87c48e444d
Merge pull request #358 from avdv/windows-build
...
Add Windows to build matrix
2020-09-26 11:16:24 +02:00
Claudio Bley
61e19dfded
Add Windows to build matrix
2020-09-26 11:03:12 +02:00
dependabot-preview[bot]
21cf5d4574
Merge pull request #399 from athityakumar/dependabot/bundler/rubocop-tw-0.92.0
2020-09-26 06:12:07 +00:00
dependabot-preview[bot]
e66ee3d5ad
Update rubocop requirement from ~> 0.91.0 to ~> 0.92.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.91.0...v0.92.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-25 23:13:08 +00:00
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