1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
Commit graph

21 commits

Author SHA1 Message Date
Ryan Fitzgerald
f5abb1e394 be pessimistic about terminal type 2011-10-09 19:11:16 -07:00
Ryan Fitzgerald
844231ac39 replace tput with ansi codes, and fix bug with long lines 2011-10-09 12:03:45 -07:00
Ryan Fitzgerald
501fd1a23f factor out method boilerplate 2011-09-24 23:57:13 -07:00
John Mair
b3576244db added more rbx helpers (command_helpers.rb) and added limited support for cat --ex on rbx 2011-09-01 15:47:29 +12:00
John Mair
84b0601f4a all special locals are now injected into all bindings for a Pry instance - e.g _ex_ is consistent no matter if you cd into a new context. New 'special local' system, and added tests for the new system 2011-09-01 05:05:21 +12:00
John Mair
d16e396e51 removed all occurences of Pry.active_instance and Pry.last_exception. Now using inject_local() method. Also initializing all locals in repl_prologue 2011-08-31 05:35:41 +12:00
John Mair
a85e8c3204 added conditional to treat jruby differently from other implementations (fix warnings and bugs). provide jruby? helper to BaseHelpers 2011-08-23 13:41:27 +12:00
John Mair
6f8bc2a412 got rid of warnings caused by stricter ruby 1.9.3 rules 2011-08-16 17:00:18 +12:00
John Mair
8082d41e93 fixed spooner's bug where simple_pager was invoked as a class method on BaseHelpers and so didnt have access to output method; now explicitly passing in output object when invoked as class method 2011-08-09 00:35:22 +12:00
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
Renamed from lib/pry/command_base_helpers.rb (Browse further)