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

20 commits

Author SHA1 Message Date
Kyrylo Silin
edaa1383f2 Require files from pry.rb; deps from each file that uses them
This change brings some order to how we require files. Previously, we required
app files from everywhere, including pry.rb. Now we require app files only from
pry.rb.

External and stdlib dependencies are required at places where they're used, not
globally.
2019-03-10 13:20:03 +02:00
Kyrylo Silin
a2b8d98732 rubocop: fix offences of the Style/TrailingCommaInHashLiteral cop 2019-03-02 16:34:53 +02:00
Kyrylo Silin
b26ca78613 rubocop: fix offences of the Style/PercentLiteralDelimiters cop 2019-03-02 13:22:03 +02:00
Kyrylo Silin
66b6208478 rubocop: fix offences of the Style/MutableConstant cop 2019-03-02 13:04:44 +02:00
Kyrylo Silin
416df8fbb7 ubocop: fix the Layout/SpaceInsideStringInterpolation cop 2019-02-26 01:05:58 +02:00
Kyrylo Silin
30fac9554e rubocop: fix offences of the Layout/AlignHash cop 2019-02-24 20:20:22 +02:00
Kyrylo Silin
ccf3c3daa9 rubocop: fix offences of the Style/AndOr cop 2018-11-18 00:22:56 +08:00
Kyrylo Silin
48b6a9c3b4 rubocop: fix offences of Layout/EmptyLinesAroundClassBody cop 2018-11-04 16:50:21 +08:00
Kyrylo Silin
69090ca349 pry: move INITIAL_PWD to code/code_file
This constant is not used anywhere else but this file so it makes sense to keep
it there.
2018-10-28 04:58:09 +08:00
Kyrylo Silin
743b905c81 Drop support for Rubinius
Fixes #1775 (Drop support for Rubinius)

I am amazed how many hacks we've had just to support Rubinius. It feels good to
be able to remove them and reduce the complexity of the codebase.
2018-10-07 00:58:53 +08:00
Gustavo Villa
3410b8006d Small code improvement. 2015-12-19 02:06:51 -03:00
Stefan Leszkiewicz
8cdcd9e40d Enable syntax highlighting for Rakefile and other similarly named files 2014-09-14 09:48:44 +10:00
Kyrylo Silin
5aa7e38e63 lib/pry/code/code_file.rb: refactor #code_path
Make the code slightly more self-documenting.
2013-11-25 23:41:28 +02:00
Kyrylo Silin
2ca3f9d4de lib/pry/code/code_file.rb: make use of the @filename ivar 2013-11-25 23:31:36 +02:00
Shannon Skipper
957b2b246b Adjust indentions to be uniform. 2013-11-24 15:04:16 -08:00
Shannon Skipper
173bbd02da Shorten #readable_source? to #readable?. 2013-11-23 14:52:21 -08:00
Shannon Skipper
95110424c6 Refactored. 2013-11-23 14:46:56 -08:00
Kyrylo Silin
3a1dad7c3f lib/pry/code/code_file.rb: fix typo in #code 2013-11-23 23:04:53 +02:00
Kyrylo Silin
e26725978c lib/pry/code.rb,lib/pry/code/code_file.rb: add docs 2013-11-23 23:03:39 +02:00
Kyrylo Silin
973af56441 lib/pry/code.rb: factor out code related to filename handling
Factor out it to `lib/pry/code/code_file.rb`.
2013-11-23 23:01:40 +02:00