Commit Graph

12 Commits

Author SHA1 Message Date
John Mair 3c7a1c2eca save before computer crash 2011-06-11 22:44:30 +12:00
David Palm 438fe17fcb Merge remote-tracking branch 'upstream/dev'
* upstream/dev: (185 commits)
  removed unnecessary pry_command? method from command_processor.rb. And removed #clear singleton method on val and eval_string, converted to #replace
  removed deprecated has_rdoc= call
  tiny refactor to repl_prologue in pry_instance.rb
  Simplify Pry::CommandSet#each.
  experimental command 'play'
  added CommandSet#list_commands, convenience method for repl exploration of command sets
  CommandSet is Enumerable.
  added tests for help and show-command commands, and by proxy testing :listing functionality and regex commands
  fixed spelling mistakes in comments
  removed all instances of old opts[:arg_string]
  changed formatting for uninstalled command message (added bold)
  changed 'rake pry' to invoke executable instead of starting pry session in Rakefile
  Revert "Made Pry able to cd into procs"
  added tests for updated CommandContext#run method
  Made Pry able to cd into procs
  Pry.config.history.file now has File.expand_path() applied before being saved
  reordered plugin/history loading so that plugins are loaded before history
  removed some unnecessary helper methods
  added reload-method experimental command, removed rue- experimental command, in experimental.rb
  added hist --show option + tests
  ...

Conflicts:
	Rakefile
	lib/pry/commands.rb
2011-06-01 08:29:32 +02:00
David Palm 89f9e3c712 Adding backwards compat checks to ant-deprecation refactor (works with rubygems 1.8.x and 1.6.x) 2011-05-31 13:49:17 +02:00
David Palm 502a8764fe Refactored Pry::Helpers::BaseHelpers#gem_installed? to use Gem::Specification.find_all_by_name rather than the deprecated Gem.source_index
Refactored gem-list to use Gem::Specification.each rather than the deprecated Gem.source_index
Changed gem-cd to use Gem::Specification.each rather than the deprecated Gem.source_index
2011-05-31 13:33:19 +02:00
John Mair 9861b68b9d removed some unnecessary helper methods 2011-05-30 03:47:50 +12:00
John Mair dd3aaf7132 added find_command() to base_helpers to allow commands to look up a command by :listing name 2011-05-28 04:11:06 +12:00
Rob Gleeson 0c3fc8bfaf Remove BaseHelpers#colorize. 2011-05-06 16:42:53 +01:00
Rob Gleeson b54d907767 Add Pry::Helpers::Color. 2011-05-06 16:29:41 +01:00
John Mair 6d42e46d85 moved remove_first_word to base_helpers 2011-05-06 15:40:18 +12:00
John Mair 676cf20365 moving fundamental helper methods from command_helpers to base_helprs (set_file_and_dir_locals() and no_color()) 2011-05-05 01:45:29 +12:00
John Mair 218c916b90 added silence_warnings helper to base helpers and fixed formatting for file (base_helpers.rb) 2011-05-05 00:53:04 +12:00
Mon ouïe b0f8b72da0 Moved helpers to their own namespaces, got rid of CommandBase 2011-04-25 22:58:06 +02:00