Skip to content

Commit 0b45f31

Browse files
committed
Drop support for JRuby 9.3; increasing Java minimum to 11
1 parent 636fcd9 commit 0b45f31

12 files changed

+15
-30
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
# Default versions for canonical release build
11-
DEFAULT_JAVA_VERSION: '8'
11+
DEFAULT_JAVA_VERSION: '11'
1212
DEFAULT_JRUBY_VERSION: '9.4.12.1' # Should match pom.xml <jruby.version> property (AND a version inside the test matrix)
1313

1414
jobs:
@@ -18,11 +18,9 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
jruby_version: [ '9.3.15.0', '9.4.12.1', '10.0.0.1' ]
22-
java_version: [ '8', '11', '17', '21' ]
21+
jruby_version: [ '9.4.12.1', '10.0.0.1' ]
22+
java_version: [ '11', '17', '21' ]
2323
exclude:
24-
- jruby_version: '10.0.0.1'
25-
java_version: '8' # JRuby 10 requires Java 21
2624
- jruby_version: '10.0.0.1'
2725
java_version: '11' # JRuby 10 requires Java 21
2826
- jruby_version: '10.0.0.1'
@@ -54,22 +52,12 @@ jobs:
5452

5553
strategy:
5654
matrix:
57-
jruby_version: [ '9.3.15.0', '9.4.12.1', '10.0.0.1' ]
58-
java_version: [ '8', '11', '17', '21' ]
55+
jruby_version: [ '9.4.12.1', '10.0.0.1' ]
56+
java_version: [ '11', '17', '21' ]
5957
appraisal: [ 'rails50', 'rails52', 'rails60', 'rails61', 'rails70', 'rails71', 'rails72', 'rails80' ]
6058
exclude:
61-
- jruby_version: '9.3.15.0'
62-
appraisal: 'rails70' # Requires Ruby 2.7 compatibility, which JRuby 9.3 does not support
63-
- jruby_version: '9.3.15.0'
64-
appraisal: 'rails71' # Requires Ruby 2.7 compatibility, which JRuby 9.3 does not support
65-
- jruby_version: '9.3.15.0'
66-
appraisal: 'rails72' # Requires Ruby 3.1 compatibility, which JRuby 9.3 does not support
67-
- jruby_version: '9.3.15.0'
68-
appraisal: 'rails80' # Requires Ruby 3.4 compatibility, which JRuby 9.3 does not support
6959
- jruby_version: '9.4.12.1'
7060
appraisal: 'rails80' # Requires Ruby 3.4 compatibility, which JRuby 9.4 does not support
71-
- jruby_version: '10.0.0.1'
72-
java_version: '8' # JRuby 10 requires Java 21
7361
- jruby_version: '10.0.0.1'
7462
java_version: '11' # JRuby 10 requires Java 21
7563
- jruby_version: '10.0.0.1'
@@ -95,7 +83,7 @@ jobs:
9583
with:
9684
ruby-version: jruby-${{ matrix.jruby_version }}
9785
bundler-cache: 'false' # Need to install later so we can vary from Gemfile.lock as required for JRuby version compatibility
98-
bundler: ${{ startsWith(matrix.jruby_version, '9.3') && '2.3.27' || 'Gemfile.lock' }}
86+
bundler: 'Gemfile.lock'
9987

10088
- name: Run appraisal for ${{ matrix.appraisal }}
10189
run: bundle install && bundle exec rake spec

Gemfile.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ GEM
2424
thor (1.3.2)
2525

2626
PLATFORMS
27-
universal-java-1.8
2827
universal-java-11
2928
universal-java-17
3029
universal-java-21

History.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55

66
## 1.2.4 (UNRELEASED)
77

8+
- Drop support for JRuby 9.3
9+
- Require Java 11 or later
10+
11+
## 1.2.4 (UNRELEASED)
12+
813
- update (bundled) rack to 2.2.16
914

1015
## 1.2.3

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ current stable 1.1.x releases.**
1616
## Compatibility
1717

1818
JRuby-Rack 1.3.x
19-
- aims to be compatible with JRuby 9.3 -> 10.0 and their supported JDK versions
20-
- supports any container compatible with Java Servlet 3.0 API
19+
- aims to be compatible with JRuby 9.4 -> 10.0 and Java 11+
20+
- supports any container compatible with Java Servlet 4.0 API
2121

2222
JRuby-Rack 1.2.x
2323
- compatible with JRuby 9.3 -> 9.4 and their supported JDK versions

gemfiles/rails50.gemfile.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ GEM
138138
websocket-extensions (0.1.5)
139139

140140
PLATFORMS
141-
universal-java-1.8
142141
universal-java-11
143142
universal-java-17
144143
universal-java-21

gemfiles/rails52.gemfile.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ GEM
146146
websocket-extensions (0.1.5)
147147

148148
PLATFORMS
149-
universal-java-1.8
150149
universal-java-11
151150
universal-java-17
152151
universal-java-21

gemfiles/rails60.gemfile.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ GEM
162162
zeitwerk (2.7.2)
163163

164164
PLATFORMS
165-
universal-java-1.8
166165
universal-java-11
167166
universal-java-17
168167
universal-java-21

gemfiles/rails61.gemfile.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ GEM
165165
zeitwerk (2.7.2)
166166

167167
PLATFORMS
168-
universal-java-1.8
169168
universal-java-11
170169
universal-java-17
171170
universal-java-21

gemfiles/rails70.gemfile.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ GEM
162162
zeitwerk (2.7.2)
163163

164164
PLATFORMS
165-
universal-java-1.8
166165
universal-java-11
167166
universal-java-17
168167
universal-java-21

gemfiles/rails71.gemfile.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ GEM
203203
zeitwerk (2.7.2)
204204

205205
PLATFORMS
206-
universal-java-1.8
207206
universal-java-11
208207
universal-java-17
209208
universal-java-21

gemfiles/rails72.gemfile.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ GEM
197197
zeitwerk (2.7.2)
198198

199199
PLATFORMS
200-
universal-java-1.8
201200
universal-java-11
202201
universal-java-17
203202
universal-java-21

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@
205205
<artifactId>maven-compiler-plugin</artifactId>
206206
<version>3.14.0</version>
207207
<configuration>
208-
<source>8</source>
209-
<target>8</target>
208+
<source>11</source>
209+
<target>11</target>
210210
<showDeprecation>true</showDeprecation>
211211
<showWarnings>true</showWarnings>
212212
</configuration>

0 commit comments

Comments
 (0)