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

9 commits

Author SHA1 Message Date
Kyrylo Silin
18c45d26c5 rubocop: enable the Style/FrozenStringLiteralComment cop
This will greatly ease Pry support on Ruby 3.0 (when it's out).
2019-05-08 00:13:17 +03:00
Kyrylo Silin
cc20804e36 config: factor out color printer proc to ColorPrinter 2019-04-14 15:46:04 +03:00
Kyrylo Silin
7ab0d59588 color_printer_spec: add more specs
Some code paths were not covered by unit tests.
2019-03-30 01:55:03 +02:00
Kyrylo Silin
fff7babdd6 color_printer_spec: refactor to modern style
I deleted some specs because I am not sure about their significance. They seemed
to be duplicative.
2019-03-18 01:54:34 +02:00
Kyrylo Silin
e61354693f Add .rspec and require 'helper' from there
Just discovered this nice feature of RSpec where it can load all files for
us. Works with `bundle exec rake` and `bundle exec rspec spec/file_spec.rb`,
which covers all use cases.
2018-11-18 14:04:44 +08:00
Richard E. Dodson
ba6903e0b1
Issue #1647: Fix String#pp output color
This commit fixes #1647 and pretty prints strings in red instead of
green. This bug was introduced in https://github.com/pry/pry/pull/1586.
It will also continue to pretty print multi-line strings without a '+'
delimiter, per the same pull request.
2017-10-22 15:42:44 -05:00
rpag
741782b726 add tests that cover Object subclasses 2015-01-15 13:08:46 +00:00
rpag
4870fcba99 add spec, & cleanup after existing spec 2015-01-15 13:08:46 +00:00
rpag
7cab9c4c12 add Pry::ColorPrinter specs 2015-01-15 13:08:46 +00:00