Skip to content

Commit e8a9632

Browse files
committed
Make Ruby 3 min since that's what grape-swagger now specifies.
1 parent a53b61b commit e8a9632

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
matrix:
33-
ruby-version: ['2.7','3.0', '3.1', '3.2', '3.3']
33+
ruby-version: ['3.0', '3.1', '3.2', '3.3']
3434

3535
steps:
3636
- uses: actions/checkout@v4

grape-swagger-entity.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Gem::Specification.new do |s|
1919
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
2020
s.require_paths = ['lib']
2121

22-
s.required_ruby_version = '>= 2.7'
23-
s.add_runtime_dependency 'grape-entity', '>= 0.6.0'
24-
s.add_runtime_dependency 'grape-swagger', '>= 1.2.0'
22+
s.required_ruby_version = '>= 3.0'
23+
s.add_runtime_dependency 'grape-entity', '~> 1'
24+
s.add_runtime_dependency 'grape-swagger', '~> 2'
2525
s.metadata['rubygems_mfa_required'] = 'true'
2626
end

0 commit comments

Comments
 (0)