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

11 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
919d9255b2 rubocop: fix offences of the Style/AccessModifierDeclarations cop 2019-03-23 20:18:02 +02:00
Kyrylo Silin
080d2b0b3a rubocop: fix offences of the Style/SingleLineMethods cop 2019-03-02 15:42:52 +02:00
Kyrylo Silin
e1f12f1c6c rubocop: fix offences of the Layout/DotPosition cop 2019-02-25 00:11:05 +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
Kyrylo Silin
d069ca381b rubocop: fix offences of the Layout/EmptyLinesAroundArguments cop 2018-11-04 16:42:25 +08:00
Kyrylo Silin
96c6958cc6 specs: convert to shoulds to expects 2015-03-10 22:49:29 +02:00
Matijs van Zuijlen
3376e6a0db Fix more warnings 2015-01-23 14:03:50 +01:00
Robert Gleeson
74135c1890 allow for tests to be run with ease.
'bacon spec/config_spec.rb' instead of 'bacon -I spec spec/config_spec.rb'
2014-03-14 05:31:24 +01:00
Conrad Irwin
ad655b7384 Method::Patcher should preserve method visibility
(Works around https://github.com/rubinius/rubinius/issues/2248)
2013-03-30 17:42:46 -07:00
Conrad Irwin
29397efb37 Modify methods using Pry::Method#redefine
I considered calling redefine source=, but Pry::Method objects are not
designed to be mutable.
2013-03-28 01:02:13 -07:00