Commit graph

207 commits

Author SHA1 Message Date
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
Athitya Kumar
39a7c8c4d9 Merge pull request #133 from henrebotha/132-add-flag-tests
Add flag tests
2017-10-23 18:57:52 +05:30
Henré Botha
9e41d60956 Disable failing test 2017-10-23 15:25:27 +02:00
Henré Botha
95e5e98d33 Exclude shell scripts from rubocop 2017-10-23 13:24:09 +02:00
Henré Botha
c866b12d8c Reduce redundancy in flag tests 2017-10-22 23:01:23 +02:00
Henré Botha
30ac4ac7ba Capture STDOUT for testing 2017-10-22 23:01:23 +02:00
Henré Botha
94a1cd6fbc Add rubocop exception 2017-10-22 23:01:23 +02:00
Henré Botha
e88a786a13 Use rspec-its 2017-10-22 23:01:23 +02:00
Henré Botha
ca6c073252 Add specs for remaining flags 2017-10-22 23:01:23 +02:00
Henré Botha
3fb6cfdac5 Fix flag in readme 2017-10-22 23:01:23 +02:00
Henré Botha
ece9260855 Add specs for type & sorting flags 2017-10-22 23:01:23 +02:00
Henré Botha
a79673078a Add specs for --all & --report flags 2017-10-22 23:01:23 +02:00
Henré Botha
3b783382f5 Consolidate test files 2017-10-22 23:01:23 +02:00
Athitya
85fa654870 Fixes minor bug with tab completion and updates version to 1.0.3 2017-10-22 23:52:30 +05:30
Athitya
ae20613f94 Updates version to 1.0.2 2017-10-22 23:46:15 +05:30
Rohit Ner
af734a6bbb Adds support for tab completion (#135)
* added support for tab completion

* minor changes in README

* updated CONTRIBUTING.md and other minor changes

* removed typo
2017-10-22 23:40:36 +05:30
Athitya
b2fa5f18d7 Fixes minor rubocop offense 2017-10-21 02:58:18 +05:30