Skip to content

Commit a770a94

Browse files
authored
Merge pull request #310 from tansengming/ruby-4
test and support Ruby 4.0
2 parents 675a528 + a0495cd commit a770a94

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
ruby-version: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4']
13+
ruby-version: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', '4.0']
1414
activesupport-version:
1515
- activesupport_5.2
1616
- activesupport_6.0
@@ -58,7 +58,7 @@ jobs:
5858
- uses: ruby/setup-ruby@v1
5959
with:
6060
bundler-cache: true
61-
ruby-version: "3.4"
61+
ruby-version: "4.0"
6262
- name: Install dependencies
6363
run: bundle install
6464
- name: Run the tests

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.1
1+
4.0.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A ruby gem to support validating CSV files to check their syntax and contents. Y
1717

1818
## Development
1919

20-
`ruby version 3.4`
20+
`ruby version 4.0`
2121

2222
### Tests
2323

csvlint.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
1616
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
1717
spec.require_paths = ["lib"]
1818

19-
spec.required_ruby_version = [">= 2.5", "< 3.5"]
19+
spec.required_ruby_version = [">= 2.5", "< 4.1"]
2020

2121
spec.add_dependency "csv"
2222
spec.add_dependency "rainbow"
@@ -49,4 +49,5 @@ Gem::Specification.new do |spec|
4949
spec.add_development_dependency "rdf-turtle"
5050
spec.add_development_dependency "standardrb"
5151
spec.add_development_dependency "appraisal"
52+
spec.add_development_dependency "benchmark"
5253
end

0 commit comments

Comments
 (0)