summaryrefslogtreecommitdiff
path: root/lib/pry/commands/gist.rb
Commit message (Collapse)AuthorAgeFilesLines
* Rename '{input/output}_array' to '{input/output}_ring'Kyrylo Silin2018-10-201-2/+2
|
* Fix rubocop empty line after guard clause style violationsArlandis Word2018-10-141-0/+1
|
* rubocop: fix offences of the Style/HashSyntax copKyrylo Silin2018-10-131-4/+4
|
* Move back to 'gist' gemConrad Irwin2014-04-271-9/+8
|
* update 'gist' command to use _pry_.config.gist.inspecterRobert Gleeson2014-02-071-1/+1
|
* Restore correct description of gist commandAndy Monat2013-04-201-1/+1
|
* gist: re-add 'jist' gem dependency with :requires_gemJohn Mair2013-01-171-0/+1
| | | | | Oops, forgetting this meant that 'gist' command would error out with ugly messages rather than prompting the user to 'install-command'
* gist: window's fix for broken clipboardJohn Mair2013-01-161-2/+8
|
* gist: Use Pry::CodeCollector (like play/save-file)John Mair2013-01-151-147/+43
| | | | | | | | This enables a simplified UI, i.e: gist my_file.rb instead of gist -f my_file.rb and `gist my_method` instead of `gist -m my_method`. Unfortunately, we had to kill our tests in the process of doing this (gist_spec.rb is just commented out) - however since play and save-file have tests and they use the same Pry::CodeCollector object 'gist' is indirectly tested. Nonetheless, we should re-add tests at some point
* Fix indentations for the gist command descriptionKyrylo Silin2013-01-141-7/+6
|
* Prettify command descriptions, switches and stuffKyrylo Silin2013-01-091-14/+15
| | | | | | | | Wrap command descriptions to 80 characters. Convert some string options to symbols (where possible). Align options in code. Remove dots in the end of switch descriptions. Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
* Convert all commands to classesKyrylo Silin2012-12-271-3/+5
| | | | | | | | | | | | | | | | John "banister" Mair describes the following key features of commands as classes: 1. It enables people to extend them by either subclassing or monkeypatching. 2. It enables them to provide their own API, so that for example, the Pry::Command::Edit class could have class methods for people to configure it. Please, note that I didn't touch easter eggs commands. I also prettified some strings (your source code reading experience should vastly improve!). Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
* Progress on gist + jruby crash☈king2012-12-091-1/+2
|
* "Fix" build on 1.8 by avoiding method_source flakinessRyan Fitzgerald2012-12-091-2/+2
|
* Use Jist.copy, not a Helper; fix @filename☈king2012-12-071-31/+3
|
* DRY gist command's docs vs tests☈king2012-12-061-13/+37
|
* gist: fix filenames from REPL + refactor + test☈king2012-12-061-54/+69
| | | | I glommed together too much on this commit. ☹
* Restore groups, convert most commands to class syntaxRyan Fitzgerald2012-08-111-3/+5
|
* Remove extended_commands, default_commands -> commandsRyan Fitzgerald2012-08-111-0/+183