forked from loafle/openapi-generator-original
Update Ruby minimum version to 2.7 (#14002)
* update ruby minimum version to 2.7 * test ruby in cirleci
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
- bundle install -j $(nproc)
|
||||
parallel:
|
||||
matrix:
|
||||
- RUBY_VERSION: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0']
|
||||
- RUBY_VERSION: ['2.7', '3.0', '3.1']
|
||||
image: "ruby:$RUBY_VERSION"
|
||||
cache:
|
||||
paths:
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
language: ruby
|
||||
cache: bundler
|
||||
rvm:
|
||||
- 2.3
|
||||
- 2.4
|
||||
- 2.5
|
||||
- 2.6
|
||||
- 2.7
|
||||
- 3.0
|
||||
- 3.1
|
||||
script:
|
||||
- bundle install --path vendor/bundle
|
||||
- bundle exec rspec
|
||||
|
||||
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
||||
s.summary = "OpenAPI Extension generating aliases to maps and arrays as models Ruby Gem"
|
||||
s.description = "This specification shows how to generate aliases to maps and arrays as models."
|
||||
s.license = "Unlicense"
|
||||
s.required_ruby_version = ">= 2.4"
|
||||
s.required_ruby_version = ">= 2.7"
|
||||
|
||||
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user