Skip to content

Commit c5f5800

Browse files
authored
Drop support for older rails and rubies (#54)
* drop support for older rubies these rubies are no longer safe to use in production and we're not going to support them anymore. older versions of webvalve will still work against them * update changelog * whoops, include env properly
1 parent abb9cbe commit c5f5800

File tree

4 files changed

+14
-20
lines changed

4 files changed

+14
-20
lines changed

.github/workflows/ci.yml

+4-17
Original file line numberDiff line numberDiff line change
@@ -7,44 +7,31 @@ on:
77
branches: [ main ]
88

99
jobs:
10-
build:
10+
test:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
1414
ruby:
15-
- 2.6
16-
- 2.7
1715
- 3.0
1816
- 3.1
1917
- 3.2
2018
gemfile:
21-
- gemfiles/rails_5_2.gemfile
22-
- gemfiles/rails_6_0.gemfile
2319
- gemfiles/rails_6_1.gemfile
2420
- gemfiles/rails_7_0.gemfile
2521
- gemfiles/ruby.gemfile
26-
exclude:
27-
- ruby: 3.2
28-
gemfile: gemfiles/rails_5_2.gemfile
29-
- ruby: 3.1
30-
gemfile: gemfiles/rails_5_2.gemfile
31-
- ruby: 3.0
32-
gemfile: gemfiles/rails_5_2.gemfile
33-
- ruby: 2.6
34-
gemfile: gemfiles/rails_7_0.gemfile
35-
name: Ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }}
22+
name: Ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }} Tests
3623
steps:
3724
- uses: technote-space/auto-cancel-redundant-job@v1
3825
if: github.event_name == 'pull_request'
3926
- uses: actions/checkout@v2
4027
- uses: ruby/setup-ruby@v1
28+
env:
29+
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
4130
with:
4231
ruby-version: ${{ matrix.ruby }}
4332
bundler-cache: true
4433
- name: Build and test with Rake
4534
env:
4635
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
4736
run: |
48-
gem install bundler
49-
bundle install --jobs 4 --retry 3
5037
bundle exec rake

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.5
1+
3.2.2

CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,17 @@ and this project aims to adhere to [Semantic Versioning](http://semver.org/spec/
99
### Added
1010
### Removed
1111

12+
## [1.3.0] - 2023-07-18
13+
### Added
14+
- Official support for Ruby 3.1 and 3.2
15+
### Removed
16+
- Drops support for Rails < 6.1
17+
- Drops support for Ruby < 3.0
18+
1219
## [1.2.0] - 2021-12-16
1320
### Added
1421
- Official support for Ruby 2.7 and 3.0
15-
- Official support for Rails 6.2 and 7.0
22+
- Official support for Rails 6.1 and 7.0
1623
### Removed
1724
- Drops support for Rails < 5.2
1825
- Drops support for Ruby < 2.6

webvalve.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ Gem::Specification.new do |s|
2929
s.add_development_dependency "yard"
3030
s.add_development_dependency "rails"
3131

32-
s.required_ruby_version = ">= 2.6.0"
32+
s.required_ruby_version = ">= 3.0.0"
3333
end

0 commit comments

Comments
 (0)