-
-
Notifications
You must be signed in to change notification settings - Fork 104
Conversation
0480c93
to
73467a0
Compare
062aebe
to
fb70e0b
Compare
For some reason, builds stopped triggering. |
7b6618b
to
f0a1592
Compare
For the build issue it is because of travisci config. 1129730 |
1129730
to
e30b893
Compare
a1bafda
to
486252f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Theres a whole bunch of unnecessary changes, I don't feel we need to switch to 1.9 style keys just because we can, similarly with the trailing dot changes.
I also think we should keep the mutex method binding, the reasoning behind it is sound, we just don't need the vendored implementation.
@JonRowe Thanks for the review. I've outlined the things to discuss in the description, including:
I'll extract this into a separate follow-up pull request to |
@JonRowe @benoittgt Appreciate if you can take a look at Discuss section of the description, there are some important questions, let me cite below:
|
No, we can't introduce dependencies.
What Rubocop supports does not drive us. 2.3 is not really problematic.
It already does this? Its just hardcoded based on the branch?
Just remove them, they're unneeded. |
This comment has been minimized.
This comment has been minimized.
794afd5
to
5ec7a5e
Compare
I'm getting stuck with removing |
b16deab
to
7f70218
Compare
2c58e18
to
588726b
Compare
Update: combined ReentrantMutex with Mutex. |
Kept gems warning muted due to: 1. RuntimeError: Warnings were generated: /home/runner/work/rspec-support/bundle/ruby/2.5.0/gems/actioncable-6.0.3.4/lib/action_cable/channel/test_case.rb:178: warning: method redefined; discarding old connection Shared Example Group: "an rspec-rails example group mixin" called from ./spec/rspec/rails/example/channel_example_group_spec.rb:6 # /home/runner/work/rspec-support/rspec-support/lib/rspec/support/spec/stderr_splitter.rb:38:in `verify_no_warnings!' 2. RuntimeError: Warnings were generated: /home/runner/work/rspec-support/bundle/ruby/2.5.0/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:560: warning: instance variable @_routes not initialized Shared Example Group: "an rspec-rails example group mixin" called from ./spec/rspec/rails/example/view_example_group_spec.rb:5 # /home/runner/work/rspec-support/rspec-support/lib/rspec/support/spec/stderr_splitter.rb:38:in `verify_no_warnings!'
ecb12c9
to
89b9f31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there, just the branch pinning to drop and see if it builds 😂
89b9f31
to
0d41dfa
Compare
Update: reset the temporary Green! 💚 |
🎉 |
…old-rubies Drop Ruby < 2.3 support --- This commit was imported from rspec/rspec-support@1a26b09.
Better viewed ignoring indentation changes https://github.com/rspec/rspec-support/pull/436/files?diff=split&w=1
As per rspec/rspec#61 (comment)
Sibling PRs:
Minimal changes to
rspec-core
andrspec-mocks
were required to runrspec-support
's own spec suite, pushed to branches with the same name.What has been done
Done:
(class << self; self; end)
usages for possibility to usesingleton_class
(some can't be replaced assingleton_class
does create a singleton class if it doesn't exist yet)eval
WithKeywordsWhenNeeded- will be addressed separatelygsub
/unindent
where squiggly heredoc can be usedremove- it has poor support in JRuby 9.1ripper_supported?