Closed flash-gordon closed 5 years ago
You're absolutely right. That's a great explanation.
I released hamlit-block v0.7.0 to just fix the immediate issue. I think we could loosen the tight coupling between them by inheriting how hamlit assembles filters, but at this moment that should make it work.
Thank you, I can confirm it works ❤️
👋 This change in hamlit made.
Hamlit::StringSplitter
aModule
, not aClass
hamlit-block passesHamlit::StringSplitter
to a method of the temple gem. It checks if the argument is aClass
, this check used to pass. Now anArgumentError
is thrown.I'm not sure what's the best course of action here, making
StringSplitter
a class is the simplest thing to do, though.I discovered this breakage during routine tasks in dry-view /cc @timriley