Skip to content

Commit 2c444ac

Browse files
committed
Drop support for Ruby 2.5 in ruby/spec
* Fixes ruby#835
1 parent c503335 commit 2c444ac

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.github/workflows/ci.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ jobs:
66
fail-fast: false
77
matrix:
88
os: [ ubuntu, macos, windows ]
9-
ruby: [ 2.5.9, 2.6.7, 2.7.3, 3.0.1 ]
10-
exclude:
11-
- { os: windows, ruby: 2.5.9 }
9+
ruby: [ 2.6.7, 2.7.3, 3.0.1 ]
1210
runs-on: ${{ matrix.os }}-latest
1311
steps:
1412
- name: git config autocrlf

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
inherit_from: .rubocop_todo.yml
22

33
AllCops:
4-
TargetRubyVersion: 2.5
4+
TargetRubyVersion: 2.6
55
DisplayCopNames: true
66
Exclude:
77
- command_line/fixtures/bad_syntax.rb

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ First, file a bug at https://bugs.ruby-lang.org/.
178178
It is better to use a `ruby_version_is` guard if there was a release with the fix.
179179

180180
```ruby
181-
ruby_bug '#13669', ''...'2.5' do
181+
ruby_bug '#13669', ''...'2.7' do
182182
it "works like this" do
183183
# Specify the expected behavior here, not the bug
184184
end

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ ruby/spec is known to be tested in these implementations for every commit:
2929
* [TruffleRuby](https://github.com/oracle/truffleruby/tree/master/spec/ruby)
3030
* [Opal](https://github.com/opal/opal/tree/master/spec)
3131

32-
ruby/spec describes the behavior of Ruby 2.5 and more recent Ruby versions.
33-
More precisely, every latest stable MRI release should [pass](https://github.com/ruby/spec/actions/workflows/ci.yml) all specs of ruby/spec (2.5.x, 2.6.x, 2.7.x, etc), and those are tested in CI.
32+
ruby/spec describes the behavior of Ruby 2.6 and more recent Ruby versions.
33+
More precisely, every latest stable MRI release should [pass](https://github.com/ruby/spec/actions/workflows/ci.yml) all specs of ruby/spec (2.6.x, 2.7.x, 3.0.x, etc), and those are tested in CI.
3434

3535
### Synchronization with Ruby Implementations
3636

@@ -57,6 +57,7 @@ For older specs try these commits:
5757
* Ruby 2.2.10 - [Suite](https://github.com/ruby/spec/commit/cbaa0e412270c944df0c2532fc500c920dba0e92) using [MSpec](https://github.com/ruby/mspec/commit/d84d7668449e96856c5f6bac8cb1526b6d357ce3)
5858
* Ruby 2.3.8 - [Suite](https://github.com/ruby/spec/commit/dc733114d8ae66a3368ba3a98422c50147a76ba5) using [MSpec](https://github.com/ruby/mspec/commit/4599bc195fb109f2a482a01c32a7d659518369ea)
5959
* Ruby 2.4.10 - [Suite](https://github.com/ruby/spec/commit/bce4f2b81d6c31db67cf4d023a0625ceadde59bd) using [MSpec](https://github.com/ruby/mspec/commit/e7eb8aa4c26495b7b461e687d950b96eb08b3ff2)
60+
* Ruby 2.5.9 - [Suite](https://github.com/ruby/spec/commit/c503335d3d9f6ec6ef24de60a0716c34af69b64f) using [MSpec](https://github.com/ruby/mspec/commit/0091e8a62e954717cd54641f935eaf1403692041)
6061

6162
### Running the specs
6263

0 commit comments

Comments
 (0)