Commit Graph

8 Commits

Author SHA1 Message Date
John Mair c10017f17d gist: re-add 'jist' gem dependency with :requires_gem
Oops, forgetting this meant that 'gist' command would error out with
ugly messages rather than prompting the user to 'install-command'
2013-01-17 16:52:55 +01:00
John Mair b6b78157a5 gist: Use Pry::CodeCollector (like play/save-file)
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
2013-01-15 20:08:32 +01:00
Kyrylo Silin 5871054c05 gist_spec: remove some repetitive code 2013-01-14 17:42:20 +02:00
☈king 9b38f33b79 Progress on gist + jruby crash 2012-12-09 23:21:18 -06:00
☈king 2104655a67 Replace gist spec globals with Pad 2012-12-09 19:19:38 -07:00
☈king 8f92f5a855 Use Jist.copy, not a Helper; fix @filename 2012-12-07 08:35:25 -06:00
☈king c51f75a9fc DRY gist command's docs vs tests 2012-12-06 23:14:04 -06:00
☈king 27bbc4383a gist: fix filenames from REPL + refactor + test
I glommed together too much on this commit. ☹
2012-12-06 22:46:01 -06:00