-
-
Notifications
You must be signed in to change notification settings - Fork 760
NameError in rspec-core-2.14.1/lib/rspec/core/reporter.rb #968
Comments
ci_reporter uses method_missing to delegate calls to another formatter. Unfortunately the changes in #967 don't expect that ( I think @JonRowe's original fix of implementing What do you think? @myronmarston @JonRowe |
I think @myronmarston is right that the behaviour belongs in |
👍 for this and a 2.14.2 release. |
Honestly, it seems like a bug for an object to That said, we broke this and I agree with changing back to Jon's simpler fix. |
I don't necessarily agree. I think objects should be free to deal with messages however they like, and sometimes that's not with a pre-defined method of the same name. In languages where methods are really just functions hanging off an object (JavaScript, Python), I might agree. But in Ruby, I think trying to find out what code would be executed when sending a message without actually sending a message is fragile ... and we should avoid it unless absolutely necessary. |
Merged #970, so this is fixed in |
I just did :). |
❤️ fixed in 2.14.2 |
BTW, can you merge your fixes into 2.99? I've already taken care of the changelog in all branches. |
Was just about to do that :) |
Thanks for the fix. Could someone also update the rspec meta package? |
There's no need to (and we don't ever bother with patch releases). A fresh gem or bundle install of rspec 2.14.0 will pull in the latest 2.14.x releases of the dependent gems. A bundle update will do the same. Sent from my iPhone On Jul 10, 2013, at 2:06 AM, Jonathan Lim notifications@github.com wrote:
|
rspec-core-2.14.1 does not work with ci_reporter-1.9.0.
The text was updated successfully, but these errors were encountered: