mirror of
https://github.com/samsonjs/wordexp.git
synced 2026-04-27 14:57:42 +00:00
Merge pull request #80 from samsonjs/update-ruby
Use Ruby 3.2.2 by default and bump CI patch versions
This commit is contained in:
commit
3690819f3b
8 changed files with 18 additions and 12 deletions
|
|
@ -4,7 +4,7 @@ executors:
|
||||||
parameters:
|
parameters:
|
||||||
version:
|
version:
|
||||||
description: "Ruby version number"
|
description: "Ruby version number"
|
||||||
default: "3.2.1"
|
default: "3.2.2"
|
||||||
type: string
|
type: string
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/ruby:<< parameters.version >>
|
- image: cimg/ruby:<< parameters.version >>
|
||||||
|
|
@ -15,7 +15,7 @@ commands:
|
||||||
parameters:
|
parameters:
|
||||||
version:
|
version:
|
||||||
description: "Ruby version number"
|
description: "Ruby version number"
|
||||||
default: "3.2.1"
|
default: "3.2.2"
|
||||||
type: string
|
type: string
|
||||||
steps:
|
steps:
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
|
|
@ -24,7 +24,7 @@ commands:
|
||||||
- run:
|
- run:
|
||||||
name: Install Ruby Dependencies
|
name: Install Ruby Dependencies
|
||||||
command: |
|
command: |
|
||||||
gem install bundler -v 2.4.3 --conservative --no-document
|
gem install bundler -v 2.4.20 --conservative --no-document
|
||||||
bundle config --local path vendor/bundle
|
bundle config --local path vendor/bundle
|
||||||
bundle check || (bundle install --jobs=4 --retry=3 && bundle clean)
|
bundle check || (bundle install --jobs=4 --retry=3 && bundle clean)
|
||||||
- save_cache:
|
- save_cache:
|
||||||
|
|
@ -44,7 +44,7 @@ jobs:
|
||||||
parameters:
|
parameters:
|
||||||
version:
|
version:
|
||||||
description: "Ruby version number"
|
description: "Ruby version number"
|
||||||
default: "3.2.1"
|
default: "3.2.2"
|
||||||
type: string
|
type: string
|
||||||
executor:
|
executor:
|
||||||
name: ruby
|
name: ruby
|
||||||
|
|
@ -65,14 +65,14 @@ workflows:
|
||||||
- test:
|
- test:
|
||||||
matrix:
|
matrix:
|
||||||
parameters:
|
parameters:
|
||||||
version: ["2.7.5", "3.0.3", "3.1.3", "3.2.1"]
|
version: ["3.0.6", "3.1.4", "3.2.2"]
|
||||||
cron-workflow:
|
cron-workflow:
|
||||||
jobs:
|
jobs:
|
||||||
- rubocop
|
- rubocop
|
||||||
- test:
|
- test:
|
||||||
matrix:
|
matrix:
|
||||||
parameters:
|
parameters:
|
||||||
version: ["2.7.5", "3.0.3", "3.1.3", "3.2.1"]
|
version: ["3.0.6", "3.1.4", "3.2.2"]
|
||||||
triggers:
|
triggers:
|
||||||
- schedule:
|
- schedule:
|
||||||
cron: "0 13 * * 6"
|
cron: "0 13 * * 6"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
AllCops:
|
AllCops:
|
||||||
NewCops: enable
|
NewCops: enable
|
||||||
TargetRubyVersion: 2.7
|
TargetRubyVersion: 3.0
|
||||||
|
|
||||||
Layout/EmptyLineAfterGuardClause:
|
Layout/EmptyLineAfterGuardClause:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
3.2.1
|
3.2.2
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,11 @@
|
||||||
|
|
||||||
[gh]: https://github.com/samsonjs/wordexp/releases
|
[gh]: https://github.com/samsonjs/wordexp/releases
|
||||||
|
|
||||||
|
# 0.2.0
|
||||||
|
# unreleased
|
||||||
|
|
||||||
|
- Drop support for Ruby 2.7 because it's no longer supported
|
||||||
|
|
||||||
# 0.1.2
|
# 0.1.2
|
||||||
# 2023-01-08
|
# 2023-01-08
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,7 @@ GEM
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
arm64-darwin-21
|
arm64-darwin-21
|
||||||
arm64-darwin-22
|
arm64-darwin-22
|
||||||
|
arm64-darwin-23
|
||||||
x86_64-linux
|
x86_64-linux
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
|
|
@ -76,4 +77,4 @@ DEPENDENCIES
|
||||||
wordexp!
|
wordexp!
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.4.6
|
2.4.20
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
module Wordexp
|
module Wordexp
|
||||||
VERSION = '0.1.2'.freeze
|
VERSION = '0.2.0'.freeze
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,4 @@ $LOAD_PATH.unshift File.expand_path('../lib', __dir__)
|
||||||
require 'wordexp'
|
require 'wordexp'
|
||||||
|
|
||||||
require 'minitest/autorun'
|
require 'minitest/autorun'
|
||||||
Dir[File.expand_path('support/**/*.rb', __dir__)].sort.each { |rb| require(rb) }
|
Dir[File.expand_path('support/**/*.rb', __dir__)].each { |rb| require(rb) }
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
||||||
spec.summary = 'A Ruby gem for performing shell word expansion using wordexp'
|
spec.summary = 'A Ruby gem for performing shell word expansion using wordexp'
|
||||||
spec.homepage = 'https://github.com/samsonjs/wordexp'
|
spec.homepage = 'https://github.com/samsonjs/wordexp'
|
||||||
spec.license = 'MIT'
|
spec.license = 'MIT'
|
||||||
spec.required_ruby_version = '>= 2.7.0'
|
spec.required_ruby_version = '>= 3.0.0'
|
||||||
|
|
||||||
spec.metadata = {
|
spec.metadata = {
|
||||||
'bug_tracker_uri' => 'https://github.com/samsonjs/wordexp/issues',
|
'bug_tracker_uri' => 'https://github.com/samsonjs/wordexp/issues',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue