Commit graph

223 commits

Author SHA1 Message Date
rohitner
6deb982c2e fix for partially gitignored dirs 2017-11-23 00:10:36 +05:30
rohitner
e6f0de0679 fix partially ignored files 2017-11-22 19:38:21 +05:30
rohitner
90a296bf35 removed bug of ignored files 2017-11-20 20:57:09 +05:30
Athitya Kumar
b122811fb0
Merge pull request #158 from avdv/man-page
Man page
2017-11-18 09:21:34 +05:30
Claudio Bley
ed8d3c23ed Add note about man page to README.md and POST_INSTALL_MESSAGE 2017-11-17 21:33:44 +01:00
Claudio Bley
e22e3e2bcc Add runtime dependency manpages
When this gem is installed, it automatically symlinks man pages of other gems
so that you can view them with `man`.
2017-11-17 21:33:44 +01:00
Claudio Bley
1b587d8257 Generate man page using ronn 2017-11-17 21:33:44 +01:00
Claudio Bley
ecb532ea87 Make rake a dev dependency 2017-11-12 17:55:03 +01:00
Athitya Kumar
df3489ecc2
Merge pull request #153 from alexpjohnson/master
Add rubocop-rspec as a dev dependency. Fix non-directory changing fixes
2017-11-08 06:26:14 +05:30
Alex
8dade9d52a Update yaml to proper class. Fix invocations so tests pass 2017-11-07 19:22:37 -05:00
Alex
1cd2029126 Create yaml class and add class methods. Move specs to appropriate folder. Fix method calls. Move flags spec to appropriate folder for rubocop 2017-11-07 19:22:37 -05:00
Alex
7aec4fda94 Add rubocop-rspec as a dev dependency. Fix non-directory changing fixes 2017-11-07 19:22:37 -05:00
Athitya Kumar
015b5c0467
Merge pull request #157 from avdv/sorting
Sorting
2017-11-08 03:23:41 +05:30
Claudio Bley
0bc518dda4 Move handling of output mode into core
This prevents giving mutual exclusive options to Core.initialize which could
lead to unexpected results.
2017-11-07 22:38:52 +01:00
Matthew Vincent
ba257b970b Add support for sorting by size
* add `--sort=size` flag
* add `-S` flag
* adjust `.travis.yml` to check the new flags
2017-11-07 22:38:42 +01:00
Claudio Bley
25b21c442a Add support for reverse sorting
Re-assign the `-r` short option from `--report` to `--reverse` and mention this
change in the post install message.
2017-11-07 22:38:42 +01:00
Claudio Bley
dcf5951167 Add test for --sort=time 2017-11-07 22:38:42 +01:00
Claudio Bley
2df30f7f33 Add support for sorting by mtime
* add `--sort=WORD` option, which sorts by modification "time" or not at all

* add short option `-U` to mean `--sort=none` (`ls` compatibility)

* `-t` now has the same effect as `--sort=time` which is also mentioned in the
  post install mesage

* add checks for `--sort=time` and `--sort=none` to .travis.yml
2017-11-06 08:42:02 +01:00
Claudio Bley
52badf7ed5 Separate sorting and grouping 2017-11-01 09:14:20 +01:00
Claudio Bley
869dc86d3f Print directory argument before listing contents
If there are a lot of arguments, e.g. due to shell globbing, one might easily
lose track of which output corresponds to which argument.

Again, this is similar to what `ls` does.
2017-11-01 09:07:34 +01:00
Claudio Bley
d48f545344 Sort output by default and re-enable test
When not using any sort options, sort the output by name.

This is in line with what `ls` does, too.

Revert "Disable failing test"

This reverts commit 9e41d60956.
2017-11-01 09:07:34 +01:00
Michael McMahon
8df4297e3f Updates CONTRIBUTING.md (#148)
Fixed a misspelled word.
2017-10-31 01:28:39 +05:30
Athitya
9bd8033e2e Improves README, removes redundant readme/ directory 2017-10-30 04:52:30 +05:30
Athitya Kumar
c9b8ae723d
Update README.md 2017-10-30 04:22:14 +05:30
Athitya
e475ba32f2 Updates version to 1.0.9 2017-10-29 05:49:23 +05:30
Athitya Kumar
ff6773546f
Merge pull request #144 from athityakumar/faster-git-status
Faster git status
2017-10-29 05:45:55 +05:30
Athitya Kumar
9c16ad358f
Merge branch 'master' into faster-git-status 2017-10-29 05:43:28 +05:30
Athitya
d0a7bba396 Fixes minor chdir issue 2017-10-29 05:43:15 +05:30
Athitya
7543257c7e Removes require call of git gem 2017-10-29 05:39:40 +05:30
Athitya
9dbe6cde49 Adds rubocop fixes 2017-10-29 05:35:57 +05:30
Athitya
919ddb7c4c Adds colors for git-status 2017-10-29 05:34:25 +05:30
Athitya
0984a529ac Adds custom config coloring support for faster git-status 2017-10-29 05:32:38 +05:30
Athitya
2f3c1dad4f Fixes minor rubocop issues 2017-10-28 23:18:39 +05:30
Athitya
a88598e10e Updates version to 1.0.8 2017-10-28 23:05:20 +05:30
Athitya
086cc05adc Fixes minor facets remanant 2017-10-28 23:04:47 +05:30
Athitya
15c5317b1e Updates version to 1.0.7 2017-10-28 22:56:32 +05:30
Athitya
a6a6fffd64 Removes facets dependency 2017-10-28 22:55:05 +05:30
Athitya
b286f71ef0 Adds rake as runtime dependency and updates to 1.0.6 2017-10-28 22:26:39 +05:30
Athitya
aa6920abdc Updates version to 1.0.5 2017-10-28 22:01:56 +05:30
Athitya Kumar
89f14754be
Merge pull request #142 from athityakumar/change-colors
Change colors
2017-10-28 22:00:23 +05:30
Athitya
5619a5bbf8 Requires monkey patches 2017-10-28 21:58:22 +05:30
Athitya
c9beb097a8 Fixes rubocop issue 2017-10-28 21:36:49 +05:30
Athitya
0501c0b4a2 Adds monkeys.rb, and clean-ups before merging 2017-10-28 21:03:05 +05:30
Athitya
2ea96f1212 Adds support for new inbuilt colors 2017-10-28 20:54:44 +05:30
Athitya
7c6d09c0f7 Fixes --long with --git-status flag combination 2017-10-28 20:10:21 +05:30
Athitya
8e1d16e884 Adds custom config coloring support for git-status 2017-10-28 19:37:51 +05:30
Athitya
1dd794ff23 Adds monkey patch for colorize method 2017-10-28 19:10:10 +05:30
Athitya
aeb3a3950c Switches from colorize to rainbow dependency 2017-10-28 18:21:01 +05:30
Athitya
67d632ffca Updates version to 1.0.4 2017-10-28 16:11:20 +05:30
Claudio Bley
8424e4de27 Use optparse for tab completion (#138) 2017-10-28 16:09:09 +05:30