Commit Graph

26 Commits

Author SHA1 Message Date
Conrad Irwin 231732616e Merge branch 'feature/ls2' 2011-10-15 01:51:52 -07:00
Conrad Irwin 65e6e6a788 Add a "default" pseudo-colour 2011-10-09 21:41:33 -07:00
Conrad Irwin 141ddc471a Fix bad require for gem-install 2011-10-09 14:04:42 -07:00
Ryan Fitzgerald 72ed265fb1 Merge branch 'feature/method_refactor'
Conflicts:
	CHANGELOG
	lib/pry/default_commands/introspection.rb
	pry.gemspec
2011-10-01 17:06:11 -07:00
Ryan Fitzgerald a53fe2c5d1 use exceptions to handle command errors 2011-10-01 16:57:39 -07:00
Conrad Irwin 9b6a08df28 Load the slowest require on-demand 2011-09-27 19:31:11 -07:00
John Mair cf2b6d4e80 removed specs.map.with_index from gem-list command and replaced with each_with_index.map to meet 1.8 compatibility 2011-06-08 01:00:06 +12:00
David Palm bafff3dc7d rubygems 1.8.x compatibility fixes applied to dev branch 2011-06-01 08:47:14 +02:00
Rob Gleeson da3a3e7f1d gem-cd enters the working directory of the newest version of a installed gem. 2011-05-25 16:26:30 +01:00
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