This repository was archived by the owner on Nov 30, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 354
Drop Ruby < 2.3 support #1349
Merged
Merged
Drop Ruby < 2.3 support #1349
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
5b35444
Remove usages of module_prepends_supported?
pirj a5f22d9
Update required Ruby version gemspec constraint
pirj 74ff06d
Remove explicit gem version constraints
pirj 0bf0581
Remove feature support checks from specs
pirj 5e064b8
Move require to where it's used
pirj 8372c1d
Remove old Ruby specific workarounds
pirj 3c5f54b
Get rid of old Ruby workarounds
pirj 27e80fb
Remove unused require
pirj 400ddcd
Get rid of old Ruby workarounds
pirj 3635e9a
Add Changelog entry
pirj 9a9430d
Remove 1.8, 1.9 workarounds
pirj f56b1a6
Remove tricky 1.9.2 workaround
pirj c834a7d
Remove 2.0 workarounds
pirj 1338a68
Embrace 2.3+ workarounds
pirj 7548ec5
Remove JRuby and 1.8 workarounds
pirj dc463ab
Use Mutex from RSpec Support
pirj a4370fc
Add clarification about JRuby 9.1 workaround
pirj 4cd0faf
Remove appveyor workaround
pirj 3af7d3a
Remove JRuby workaround
pirj 54e44a9
Remove handle_restoration_failures
pirj 3bc9780
Remove expect_output_warning_on_ruby_lt_2
pirj ea500ad
Relax, BasicObject is defined
pirj d968590
Prefer alias_method inside DSL
pirj b78355f
Reduce minumum coverage
pirj d02dd01
Pin ffi due to their usage of Gem in 1.13.0/1.13.1
pirj bae42c7
Update lib/rspec/mocks/method_double.rb
pirj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
RSpec::Support.require_rspec_support "object_formatter" | ||
RSpec::Support.require_rspec_support 'ruby_features' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See other comment, now if we need this again elsewhere we'll have to remember to require it / move it back. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's what I did, went through all our files and added/removed it to only be required where used. |
||
|
||
module RSpec | ||
module Mocks | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.