diff --git a/.circleci/config.yml b/.circleci/config.yml index 6aa2b7f..e32757d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ executors: parameters: version: description: "Ruby version number" - default: "3.2.1" + default: "3.2.2" type: string docker: - image: cimg/ruby:<< parameters.version >> @@ -15,7 +15,7 @@ commands: parameters: version: description: "Ruby version number" - default: "3.2.1" + default: "3.2.2" type: string steps: - restore_cache: @@ -24,7 +24,7 @@ commands: - run: name: Install Ruby Dependencies 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 check || (bundle install --jobs=4 --retry=3 && bundle clean) - save_cache: @@ -44,7 +44,7 @@ jobs: parameters: version: description: "Ruby version number" - default: "3.2.1" + default: "3.2.2" type: string executor: name: ruby @@ -65,14 +65,14 @@ workflows: - test: matrix: 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: jobs: - rubocop - test: matrix: 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: - schedule: cron: "0 13 * * 6" diff --git a/.rubocop.yml b/.rubocop.yml index 7a4e163..79f343b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,6 @@ AllCops: NewCops: enable - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.0 Layout/EmptyLineAfterGuardClause: Enabled: false diff --git a/.ruby-version b/.ruby-version index e4604e3..be94e6f 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.2.1 +3.2.2 diff --git a/CHANGELOG.md b/CHANGELOG.md index e43f230..e567680 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ [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 # 2023-01-08 diff --git a/Gemfile.lock b/Gemfile.lock index 7bc500c..afdf0de 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -60,6 +60,7 @@ GEM PLATFORMS arm64-darwin-21 arm64-darwin-22 + arm64-darwin-23 x86_64-linux DEPENDENCIES @@ -76,4 +77,4 @@ DEPENDENCIES wordexp! BUNDLED WITH - 2.4.6 + 2.4.20 diff --git a/lib/wordexp/version.rb b/lib/wordexp/version.rb index 6f65005..04f61a8 100644 --- a/lib/wordexp/version.rb +++ b/lib/wordexp/version.rb @@ -1,3 +1,3 @@ module Wordexp - VERSION = '0.1.2'.freeze + VERSION = '0.2.0'.freeze end diff --git a/test/test_helper.rb b/test/test_helper.rb index fc31137..3181809 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -3,4 +3,4 @@ $LOAD_PATH.unshift File.expand_path('../lib', __dir__) require 'wordexp' 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) } diff --git a/wordexp.gemspec b/wordexp.gemspec index 5c1fdf8..7c78df2 100644 --- a/wordexp.gemspec +++ b/wordexp.gemspec @@ -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.7.0' + spec.required_ruby_version = '>= 3.0.0' spec.metadata = { 'bug_tracker_uri' => 'https://github.com/samsonjs/wordexp/issues',