-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please consider restoring #regexp
(removed in 0.6.2) and/or clarify what your public APIs are
#227
Comments
As I see it I will go through the API module to see what is actually part of the API and not only mark it Looking forward and setting aside that aruba 0.6.2 broke your project (and I am sorry for that) and taking into account that What do you think? |
👍 Thanks -- that'll be very helpful.
I agree with you that it's not something that really belongs as a public API. (I didn't think about that at the time I added steps that use it, unfortunately). I'm completely fine with working around it in RSpec. I think it's more of a question of "are other users affected by this"? If you think other users are affected, you could add it back with a deprecation warning and release 0.6.3, with the plan to remove it in 1.0. Up to you either way -- I'm going to go update our step definitions to not depend on it anymore. |
See cucumber/aruba#227 for background.
See cucumber/aruba#227 for background.
See cucumber/aruba#227 for discussion.
See cucumber/aruba#227 for discussion.
See cucumber/aruba#227 for discussion.
See cucumber/aruba#227 for discussion.
That method won't come back. So I'm going to close this for now as you pinned to a version working for you. BTW: I'll try to make it more clear which methods are "safe" to use (part of the public API) which should be fully documented by tests with the release of 1.0.0. |
See cucumber/aruba#227 for background.
See cucumber/aruba#227 for discussion. --- This commit was imported from rspec/rspec-core@2fb1d5b.
See cucumber/aruba#227 for discussion. --- This commit was imported from rspec/rspec-expectations@2401bd0.
See cucumber/aruba#227 for discussion. --- This commit was imported from rspec/rspec-mocks@f1baf02.
(Moving this issue from my comment on 5b2c7b4 since I realized it's really an issue and should be discussed here.)
In 5b2c7b4,
Aruba::API#regexp
was removed, which we relied upon in RSpec in some custom cucumber step definitions. The 0.6.2 aruba release from a couple days ago broke our build:https://travis-ci.org/rspec/rspec-core/jobs/47020617#L303
We (perhaps wrongly) assumed
regexp
was a public API since it wasn't labeled@private
. Would you consider adding it back and making it a public API? Otherwise we can work around it (which is fine).Also, can you clarify what your API/versioning policy is? Do you aim to follow the SemVer.org spec? If so, what APIs do you consider public (and therefore subject to the SemVer.org spec)? I'd like to make sure we're limiting what we use to just your public APIs so we don't run into this kind of thing again.
The text was updated successfully, but these errors were encountered: