Commit Graph

17 Commits

Author SHA1 Message Date
Rob Gleeson 33b8f07661 Remove "req" command. 2011-05-18 02:03:28 +01:00
Rob Gleeson 9132003887 Reduce method calls by passing #find_name a Regexp. 2011-05-12 05:26:13 +01:00
Rob Gleeson 6a3fe8916a Re factor gem-install.
- DRY
- Handles exceptional situations.
2011-05-11 12:44:40 +01:00
Rob Gleeson 52817103dc Re-write "gem-*" commands to use :argument_required. 2011-05-11 12:34:13 +01:00
Rob Gleeson 538dbbe152 Merge branch 'dev' of github.com:banister/pry into dev 2011-05-11 11:35:02 +01:00
Rob Gleeson 1ae359c3e6 Rewrite the "gem-*" commands to use :arguments_required. 2011-05-11 11:31:27 +01:00
John Mair 89d5c0f32d moved all commands out of commands.rb into either basic.rb or gems.rb 2011-05-11 21:41:15 +12:00
Rob Gleeson fc31bb2926 Be consistent in error messages. 2011-05-10 12:27:02 +01:00
Rob Gleeson 93794a13ad Greenify gem name. 2011-05-10 12:21:28 +01:00
Rob Gleeson 56f7f3610d Re factor "gem-install" command.
- Windows compatible.
- Doesn't blow up when argument is missing.
- Tries to install to Gem.dir first, or fallback to Gem.user_dir.
2011-05-10 12:16:48 +01:00
Rob Gleeson 1c2e2a70b5 Re factor "gem-list" command.
- Use Gem::Version in sort for accurate sorting.
- Reduce complexity.
2011-05-10 08:56:02 +01:00
Rob Gleeson 045f3fa8d5 Re factor the "gem-cd" command.
- Add a argument check, so the command doesn't blow up.
- Simplify the code.
2011-05-10 06:55:46 +01:00
Rob Gleeson 5a85ea04d9 Merge branch 'dev' of github.com:banister/pry into dev 2011-05-07 16:04:17 +01:00
Rob Gleeson a13f71cab5 Sync commands with new API. 2011-05-07 16:03:26 +01:00
Mon ouïe 1750fe4d78 Got rid of CommandSet#name 2011-05-07 07:32:05 +02:00
Rob Gleeson dce86f8b44 Fix gem-list to work against new API. 2011-05-06 16:43:23 +01:00
John Mair 797b636f35 first start at reorganization and classification of commands 2011-05-01 22:25:37 +12:00