mirror of
https://github.com/samsonjs/wordexp.git
synced 2026-03-25 08:45:54 +00:00
Upgrade to Ruby 3.2 and drop 2.6
This commit is contained in:
parent
35d473778a
commit
2c594d7b96
3 changed files with 8 additions and 8 deletions
|
|
@ -4,7 +4,7 @@ executors:
|
|||
parameters:
|
||||
version:
|
||||
description: "Ruby version number"
|
||||
default: "3.1.0"
|
||||
default: "3.2.0"
|
||||
type: string
|
||||
docker:
|
||||
- image: cimg/ruby:<< parameters.version >>
|
||||
|
|
@ -15,7 +15,7 @@ commands:
|
|||
parameters:
|
||||
version:
|
||||
description: "Ruby version number"
|
||||
default: "3.1.0"
|
||||
default: "3.2.0"
|
||||
type: string
|
||||
steps:
|
||||
- restore_cache:
|
||||
|
|
@ -24,7 +24,7 @@ commands:
|
|||
- run:
|
||||
name: Install Ruby Dependencies
|
||||
command: |
|
||||
gem install bundler -v 2.3.4 --conservative --no-document
|
||||
gem install bundler -v 2.4.3 --conservative --no-document
|
||||
bundle config --local path vendor/bundle
|
||||
bundle check || (bundle install --jobs=4 --retry=3 && bundle clean)
|
||||
- save_cache:
|
||||
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
parameters:
|
||||
version:
|
||||
description: "Ruby version number"
|
||||
default: "3.1.0"
|
||||
default: "3.2.0"
|
||||
type: string
|
||||
executor:
|
||||
name: ruby
|
||||
|
|
@ -65,14 +65,14 @@ workflows:
|
|||
- test:
|
||||
matrix:
|
||||
parameters:
|
||||
version: ["2.6.9", "2.7.5", "3.0.3", "3.1.0"]
|
||||
version: ["2.7.5", "3.0.3", "3.1.3", "3.2.0"]
|
||||
cron-workflow:
|
||||
jobs:
|
||||
- rubocop
|
||||
- test:
|
||||
matrix:
|
||||
parameters:
|
||||
version: ["2.6.9", "2.7.5", "3.0.3", "3.1.0"]
|
||||
version: ["2.7.5", "3.0.3", "3.1.3", "3.2.0"]
|
||||
triggers:
|
||||
- schedule:
|
||||
cron: "0 13 * * 6"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
AllCops:
|
||||
NewCops: enable
|
||||
TargetRubyVersion: 2.6
|
||||
TargetRubyVersion: 2.7
|
||||
|
||||
Layout/EmptyLineAfterGuardClause:
|
||||
Enabled: false
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|||
spec.summary = 'A Ruby gem for performing shell word expansion using wordexp'
|
||||
spec.homepage = 'https://github.com/samsonjs/wordexp'
|
||||
spec.license = 'MIT'
|
||||
spec.required_ruby_version = '>= 2.6.0'
|
||||
spec.required_ruby_version = '>= 2.7.0'
|
||||
|
||||
spec.metadata = {
|
||||
'bug_tracker_uri' => 'https://github.com/samsonjs/wordexp/issues',
|
||||
|
|
|
|||
Loading…
Reference in a new issue