-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
Support ActiveSupport 4.1 #125
Comments
I created an issue in rails/rails. |
So much for clean OO design; the attitude expressed in that Rails bug is pretty brusque. I suppose anybody in this position is expected to fork AS 4.0.5 or 3.2.18 and cherry-pick from upstream forever. 👎 |
Since
Option 2 might be OK, but the code might be hacky. Option 1 didn't seem reasonable, but Ruby 2.2.0 is removing stdlib test! From ruby/NEWS:
Maybe option 1 is the right choice... Thoughts? |
@simeonwillbanks Agree with your assessment of both options. 👍 for Option 1 |
I love minitest, but hate that it's a gem rather than in the stdlib. That's orthogonal to this discussion though. I'm 👍 to seeing a option 1 PR with minitest. |
Feature #9711 - "Remove test-unit and minitest from stdlib" details the removal. Feature #9852 - "How to bundle test-unit2 and minitest5" discusses what's next. It appears the stdlib minitest is and will be the minitest gem. Ruby trunk imports the minitest gem into the stdlib. That said, I still think we should bundle the minitest gem and proceed with the refactor because ActiveSupport is depending upon minitest via Thanks for the input @jdickey and @jch. I'll start a Pull Request. |
Is ActiveSupport really a runtime dependency still? I know the instrumentation stuff is expecting something that implements ActiveSupport::Notifications, but it doesn't seem to actually depend on it inheriting from that. Is there something else I'm missing outside of the tests? I made a branch that removes ActiveSupport entirely (replacing the HTML fragment comparison functionality with something based on lorax) and all the unit tests still pass on 1.9.3 at least. (Happy to submit this as a PR if you like.) ActiveSupport is just kind of a large and opinionated dependency to add to non-Rails based apps if it's not strictly necessary. |
e00c3c9 fixes this issue. |
ActiveSupport
v4.1.0 depends upon'minitest', '~> 5.1'
.This dependency breaks the
html-pipeline
build. Here is a more detailed explanation.#123 found a temporary solution by disallowing
ActiveSupport
4.1.0. or greater. A more permanent solution must be found.The text was updated successfully, but these errors were encountered: