yob / pdf-reader

The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe.
MIT License
1.81k stars 271 forks source link

ValidatingReceiver is using 'call' instead of 'send' in method_missing #441

Closed markpent closed 2 years ago

markpent commented 2 years ago

Sorry if I'm missing something, but after upgrading I am getting undefined method `call' for when calling walk. Looking at ValidatingReceiver it seems to should be calling send to pass the non-validated callback to the wrapped class.

yob commented 2 years ago

Oops, a good old fashioned bug.

I've merged a fix, and will ship it as v2.9.1 shortly. Thanks for the report!