Skip to content

Commit 0e913aa

Browse files
committed
Chore: Test New Ruby Versions
1 parent 9112c47 commit 0e913aa

File tree

17 files changed

+336
-22
lines changed

17 files changed

+336
-22
lines changed

.github/workflows/linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: "Build Ruby"
4848
uses: "ruby/setup-ruby@v1"
4949
with:
50-
ruby-version: 2.7
50+
ruby-version: 3.1
5151

5252
- name: "Build Node"
5353

.github/workflows/testing.yml

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
runs-on: "ubuntu-latest"
1313

1414
strategy:
15+
fail-fast: false
16+
1517
matrix:
1618
ruby:
1719
- "2.1"
@@ -24,6 +26,8 @@ jobs:
2426
- "3.0"
2527
- "3.1"
2628
- "3.2"
29+
- "3.3"
30+
- "3.4"
2731
- "ruby-head"
2832
include:
2933
- ruby: "2.1"
@@ -32,10 +36,43 @@ jobs:
3236
- ruby: "2.2"
3337
bundler: "1"
3438

39+
- ruby: "2.3"
40+
bundler: "2.3"
41+
42+
- ruby: "2.4"
43+
bundler: "2.3"
44+
45+
- ruby: "2.5"
46+
bundler: "2.3"
47+
48+
- ruby: "2.6"
49+
bundler: "2.4"
50+
51+
- ruby: "2.7"
52+
bundler: "2.4"
53+
54+
- ruby: "3.0"
55+
bundler: "2.4"
56+
57+
- ruby: "3.1"
58+
bundler: "2.4"
59+
60+
- ruby: "3.2"
61+
bundler: "2.7"
62+
63+
- ruby: "3.3"
64+
bundler: "2.7"
65+
66+
- ruby: "3.4"
67+
bundler: "4.0"
68+
69+
- ruby: "ruby-head"
70+
bundler: "4.0"
71+
3572
continue-on-error: ${{ endsWith(matrix.ruby, 'head') }}
3673

3774
env:
38-
BUNDLE_GEMFILE: "./gemfiles/v${{ matrix.bundler || '2' }}/Gemfile"
75+
BUNDLE_GEMFILE: "./gemfiles/v${{ matrix.bundler }}/Gemfile"
3976

4077
steps:
4178
- name: "Checkout Code"
@@ -48,7 +85,7 @@ jobs:
4885
uses: "ruby/setup-ruby@v1"
4986
with:
5087
ruby-version: "${{ matrix.ruby }}"
51-
bundler: "${{ matrix.bundler || 2 }}"
88+
bundler: "${{ matrix.bundler }}"
5289
bundler-cache: true
5390

5491
- name: "Run RSpec"

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.6
1+
3.4.8

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
./gemfiles/v2/Gemfile
1+
./gemfiles/v2.4/Gemfile

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
./gemfiles/v2/Gemfile.lock
1+
./gemfiles/v2.4/Gemfile.lock

gemfiles/v2.3/Gemfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# frozen_string_literal: true
2+
3+
source 'https://rubygems.org'
4+
5+
group :console do
6+
gem 'awesome_print', '~> 1.6'
7+
end
8+
9+
gemspec :name => 'ruby-progressbar'

gemfiles/v2.3/Gemfile.lock

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
PATH
2+
remote: .
3+
specs:
4+
ruby-progressbar (1.13.0)
5+
6+
GEM
7+
remote: https://rubygems.org/
8+
specs:
9+
awesome_print (1.9.2)
10+
diff-lcs (1.6.2)
11+
fuubar (2.5.1)
12+
rspec-core (~> 3.0)
13+
ruby-progressbar (~> 1.4)
14+
rspec (3.13.2)
15+
rspec-core (~> 3.13.0)
16+
rspec-expectations (~> 3.13.0)
17+
rspec-mocks (~> 3.13.0)
18+
rspec-core (3.13.6)
19+
rspec-support (~> 3.13.0)
20+
rspec-expectations (3.13.5)
21+
diff-lcs (>= 1.2.0, < 2.0)
22+
rspec-support (~> 3.13.0)
23+
rspec-mocks (3.13.7)
24+
diff-lcs (>= 1.2.0, < 2.0)
25+
rspec-support (~> 3.13.0)
26+
rspec-support (3.13.6)
27+
rspectacular (0.70.8)
28+
fuubar (~> 2.0)
29+
rspec (~> 3.1)
30+
timecop (0.9.10)
31+
32+
PLATFORMS
33+
x86_64-linux
34+
35+
DEPENDENCIES
36+
awesome_print (~> 1.6)
37+
fuubar (~> 2.3)
38+
rspec (~> 3.7)
39+
rspectacular (~> 0.70.6)
40+
ruby-progressbar!
41+
timecop (~> 0.9)
42+
43+
BUNDLED WITH
44+
2.3.0
Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,30 @@ GEM
77
remote: https://rubygems.org/
88
specs:
99
awesome_print (1.9.2)
10-
diff-lcs (1.5.0)
10+
diff-lcs (1.6.2)
1111
fuubar (2.5.1)
1212
rspec-core (~> 3.0)
1313
ruby-progressbar (~> 1.4)
14-
rspec (3.12.0)
15-
rspec-core (~> 3.12.0)
16-
rspec-expectations (~> 3.12.0)
17-
rspec-mocks (~> 3.12.0)
18-
rspec-core (3.12.1)
19-
rspec-support (~> 3.12.0)
20-
rspec-expectations (3.12.2)
14+
rspec (3.13.2)
15+
rspec-core (~> 3.13.0)
16+
rspec-expectations (~> 3.13.0)
17+
rspec-mocks (~> 3.13.0)
18+
rspec-core (3.13.6)
19+
rspec-support (~> 3.13.0)
20+
rspec-expectations (3.13.5)
2121
diff-lcs (>= 1.2.0, < 2.0)
22-
rspec-support (~> 3.12.0)
23-
rspec-mocks (3.12.3)
22+
rspec-support (~> 3.13.0)
23+
rspec-mocks (3.13.7)
2424
diff-lcs (>= 1.2.0, < 2.0)
25-
rspec-support (~> 3.12.0)
26-
rspec-support (3.12.0)
25+
rspec-support (~> 3.13.0)
26+
rspec-support (3.13.6)
2727
rspectacular (0.70.8)
2828
fuubar (~> 2.0)
2929
rspec (~> 3.1)
30-
ruby-prof (1.6.1)
31-
timecop (0.9.6)
30+
ruby-prof (1.6.3)
31+
timecop (0.9.10)
3232

3333
PLATFORMS
34-
x86_64-darwin-19
3534
x86_64-linux
3635

3736
DEPENDENCIES
@@ -44,4 +43,4 @@ DEPENDENCIES
4443
timecop (~> 0.9)
4544

4645
BUNDLED WITH
47-
2.3.24
46+
2.4.2

0 commit comments

Comments
 (0)