baweaver / pry-macro

Macros for Pry
MIT License
49 stars 2 forks source link

Tries to include stop-macro in recorded macro? #4

Open tdg5 opened 9 years ago

tdg5 commented 9 years ago

Hello! This might just be me not knowing how to use the gem correctly, but I've run into issues this morning in Ruby 2.1 and Ruby 1.9.3 where none of the macros I record work. Seems kind of like it thinks stop-macro is part of the recorded macro?

I'll add more detail later if need be, but for now here's an example:

gifrecord_2015-06-09_091407

^^ Notice that where I invoke the command gets overwritten with the stop-macro command.

baweaver commented 9 years ago

What's the version of Pry? I'll see what I can find on it.

baweaver commented 9 years ago

Probably something to do with v0.10.1, I'll check to see what it's changed there.

ryanpool commented 8 years ago

I have some more detail to add. if you save-macro and examine what gets written to the .pryrc you'll notice the first line of the macro is not saved, but the stop-macro command is.

If you manually edit the .pryrc the macro works fine. I'm using pry 0.10.3.

zw963 commented 5 years ago

@ryanpool , pry-macro worked now, and many API changes, more new feature.