Skip to content

Commit a53b61b

Browse files
committed
Various build updates
* Update grape entity dep * Min supported Ruby is 2.7 * Add Ruby 3.3 to build matrix
1 parent 7c8a126 commit a53b61b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: RuboCop
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414

1515
- name: Set up Ruby
1616
uses: ruby/setup-ruby@v1
@@ -24,16 +24,16 @@ jobs:
2424

2525
test:
2626
env:
27-
GRAPE_ENTITY: 0.8.0
27+
GRAPE_ENTITY: 1.0.0
2828

2929
runs-on: ubuntu-latest
3030
strategy:
3131
fail-fast: false
3232
matrix:
33-
ruby-version: ['3.0', '3.1', '3.2']
33+
ruby-version: ['2.7','3.0', '3.1', '3.2', '3.3']
3434

3535
steps:
36-
- uses: actions/checkout@v3
36+
- uses: actions/checkout@v4
3737
- name: Set up Ruby
3838
uses: ruby/setup-ruby@v1
3939
with:

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ end
2121
gem 'grape-swagger', git: 'https://github.com/ruby-grape/grape-swagger.git'
2222

2323
group :test do
24-
gem 'grape-entity', ENV.fetch('GRAPE_ENTITY', '0.6.1')
24+
gem 'grape-entity', ENV.fetch('GRAPE_ENTITY', '1.0.0')
2525
gem 'ruby-grape-danger', '~> 0.2.1', require: false
2626
gem 'simplecov', require: false
2727
end

grape-swagger-entity.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ 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.4'
22+
s.required_ruby_version = '>= 2.7'
2323
s.add_runtime_dependency 'grape-entity', '>= 0.6.0'
2424
s.add_runtime_dependency 'grape-swagger', '>= 1.2.0'
2525
s.metadata['rubygems_mfa_required'] = 'true'

0 commit comments

Comments
 (0)