Kyrylo Silin
ccf3c3daa9
rubocop: fix offences of the Style/AndOr cop
2018-11-18 00:22:56 +08:00
Kyrylo Silin
04d4f424e3
rubocop: fix offences regarding spaces
...
Fixes offences of the following cops:
* Layout/SpaceAroundEqualsInParameterDefault
* Layout/SpaceAroundOperators
* Layout/SpaceBeforeBlockBraces
* Layout/SpaceInsideBlockBraces
2018-11-04 17:34:24 +08:00
Kyrylo Silin
48b6a9c3b4
rubocop: fix offences of Layout/EmptyLinesAroundClassBody cop
2018-11-04 16:50:21 +08:00
Kyrylo Silin
187c199e77
Deprecate Pry::Platform and introduce Pry::Helpers::Platform
...
`Pry::Platform` really looks like a helper and therefore should be defined as
one. Invoking `Pry::Platform` emits a warning now. Users are encouraged to use
`Pry::Helpers::Platform`.
2018-11-02 01:52:09 +08:00
Kyrylo Silin
ac9ddde444
rubocop: fix offences of the Layout/EndAlignment cop
2018-10-13 01:14:21 +08:00
Christian Haase
367d02c0d6
Remove slash-change of windows paths
2014-09-12 16:34:43 +02:00
Benjamin Dodd
1277815700
support for redcar editor
2014-07-20 22:26:02 +12:00
Conrad Irwin
d220af1061
Inject _pry_ into Pry::Editor
2014-05-01 01:51:01 -07:00
Conrad Irwin
8f827ea403
Use Shellwords.split before calling system [ Fixes #810 ]
2013-03-24 23:36:08 -07:00
Conrad Irwin
d29f6b5c04
Fix indentation (HARDER)
2013-01-14 16:44:09 +01:00
Conrad Irwin
15caf5fb87
Only shellword escape filenames in system calls on linux
2013-01-14 16:44:09 +01:00
Kyrylo Silin
e66d2083c1
Edit: handle blanks in filenames correctly
...
Also, move path escaping to `Editor` class. The test is currently
failing (looks like a bug in `Editor`).
2013-01-14 16:44:09 +01:00
John Mair
e647957507
Pry::Editor, Pry::Command::Whereami: more refactorings
2013-01-02 16:25:18 +01:00
John Mair
9bda7a17a7
Extracted out editor-related code to Pry::Editor
...
And updated commands to use the new API
2012-12-29 23:38:20 +01:00