Skip to content

Commit

Permalink
Various build updates
Browse files Browse the repository at this point in the history
* Update grape entity dep
* Min supported Ruby is 2.7
* Add Ruby 3.3 to build matrix
  • Loading branch information
mscrivo committed Feb 2, 2024
1 parent 7c8a126 commit a53b61b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: RuboCop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand All @@ -24,16 +24,16 @@ jobs:

test:
env:
GRAPE_ENTITY: 0.8.0
GRAPE_ENTITY: 1.0.0

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ['3.0', '3.1', '3.2']
ruby-version: ['2.7','3.0', '3.1', '3.2', '3.3']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ end
gem 'grape-swagger', git: 'https://github.com/ruby-grape/grape-swagger.git'

group :test do
gem 'grape-entity', ENV.fetch('GRAPE_ENTITY', '0.6.1')
gem 'grape-entity', ENV.fetch('GRAPE_ENTITY', '1.0.0')
gem 'ruby-grape-danger', '~> 0.2.1', require: false
gem 'simplecov', require: false
end
2 changes: 1 addition & 1 deletion grape-swagger-entity.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |s|
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
s.require_paths = ['lib']

s.required_ruby_version = '>= 2.4'
s.required_ruby_version = '>= 2.7'
s.add_runtime_dependency 'grape-entity', '>= 0.6.0'
s.add_runtime_dependency 'grape-swagger', '>= 1.2.0'
s.metadata['rubygems_mfa_required'] = 'true'
Expand Down

0 comments on commit a53b61b

Please sign in to comment.