Commit graph

14 commits

Author SHA1 Message Date
Claudio Bley
f9dd1b44ef CI: Publish to RubyGems 2022-03-21 09:09:01 +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
cff2f2c578 rubocop => Security/IoMethods: File.write is safer than IO.write 2021-09-30 17:17:23 +02:00
Claudio Bley
45f5162644 Enable rubocop-rspec in rubocop's config
This makes it run also when running rubocop from bundler instead
of the rake task.
2020-12-23 22:32:36 +01:00
Claudio Bley
09628b3ec1 Add and enable rubocop-rake extension 2020-12-22 14:25:38 +01:00
Claudio Bley
524a9b6ed2 Use git commit date of man page when generating
The last change to a file is not necessarily the one with the latest author date,
but we want to get the last time the man page was changed (on some branch) and
thus it makes more sense to use the commit date rather than the author date.
2020-01-07 22:43:46 +01:00
Claudio Bley
3e53464ddf Enable warnings when running RSpec from rake
- travis: Use rake to run specs to generate warnings.
2018-12-29 16:46:51 +01:00
Claudio Bley
1389d9d8fa Require date in Rakefile to avoid error
```
NameError: uninitialized constant Date
```
2018-08-12 16:22:27 +02:00
Claudio Bley
47b8f198f1 Use git author date of man page when generating 2017-12-01 11:04:08 +01:00
Claudio Bley
96ec0d5276 Generate Zsh completion file
Add the `_colorls` completion file to the `zsh/` folder of the gem and make the
`tab_complete.sh` script work for Zsh too.
2017-11-22 22:32:20 +01:00
Claudio Bley
1b587d8257 Generate man page using ronn 2017-11-17 21:33:44 +01:00
Alex
7aec4fda94 Add rubocop-rspec as a dev dependency. Fix non-directory changing fixes 2017-11-07 19:22:37 -05:00
Athitya
203873e20f Adds rubygems-tasks for rake release command 2017-10-21 02:14:26 +05:30
Athitya
f993755f0e Adds ruby gem skeleton 2017-07-05 19:53:11 +05:30