From 03fc5c512fe6c09e553a6658e44b54b5e37c8a7d Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Thu, 5 Oct 2023 14:48:16 -0700 Subject: [PATCH] Update to Ruby 3.2.2 and wordexp 0.2.0 --- ruby/.ruby-version | 2 +- ruby/Gemfile | 8 ++++---- ruby/Gemfile.lock | 49 +++++++++++++++++++++++++++------------------- ruby/a1 | 2 +- 4 files changed, 35 insertions(+), 26 deletions(-) diff --git a/ruby/.ruby-version b/ruby/.ruby-version index fd2a018..be94e6f 100644 --- a/ruby/.ruby-version +++ b/ruby/.ruby-version @@ -1 +1 @@ -3.1.0 +3.2.2 diff --git a/ruby/Gemfile b/ruby/Gemfile index c463042..8fbbfd4 100644 --- a/ruby/Gemfile +++ b/ruby/Gemfile @@ -1,7 +1,7 @@ source 'https://rubygems.org' -ruby '3.1.0' +ruby '3.2.2' -gem 'minitest', '~> 5.15' +gem 'minitest', '~> 5.20' gem 'rake', '~> 13.0' -gem 'rubocop', '1.24.1' -gem 'wordexp', '~> 0.1' +gem 'rubocop', '1.56.4' +gem 'wordexp', '~> 0.2' diff --git a/ruby/Gemfile.lock b/ruby/Gemfile.lock index 254b503..57f4de7 100644 --- a/ruby/Gemfile.lock +++ b/ruby/Gemfile.lock @@ -2,41 +2,50 @@ GEM remote: https://rubygems.org/ specs: ast (2.4.2) - minitest (5.15.0) - parallel (1.21.0) - parser (3.1.0.0) + base64 (0.1.1) + json (2.6.3) + language_server-protocol (3.17.0.3) + minitest (5.20.0) + parallel (1.23.0) + parser (3.2.2.4) ast (~> 2.4.1) + racc + racc (1.7.1) rainbow (3.1.1) rake (13.0.6) - regexp_parser (2.2.0) - rexml (3.2.5) - rubocop (1.24.1) + regexp_parser (2.8.1) + rexml (3.2.6) + rubocop (1.56.4) + base64 (~> 0.1.1) + json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.0.0.0) + parser (>= 3.2.2.3) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) - rexml - rubocop-ast (>= 1.15.1, < 2.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.28.1, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.15.1) - parser (>= 3.0.1.1) - ruby-progressbar (1.11.0) - unicode-display_width (2.1.0) - wordexp (0.1.1) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.29.0) + parser (>= 3.2.1.0) + ruby-progressbar (1.13.0) + unicode-display_width (2.5.0) + wordexp (0.2.0) PLATFORMS arm64-darwin-21 arm64-darwin-22 + arm64-darwin-23 DEPENDENCIES - minitest (~> 5.15) + minitest (~> 5.20) rake (~> 13.0) - rubocop (= 1.24.1) - wordexp (~> 0.1) + rubocop (= 1.56.4) + wordexp (~> 0.2) RUBY VERSION - ruby 3.1.0p0 + ruby 3.2.2p53 BUNDLED WITH - 2.4.6 + 2.4.20 diff --git a/ruby/a1 b/ruby/a1 index 6f81bd5..a87b29b 100755 --- a/ruby/a1 +++ b/ruby/a1 @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -w require 'English' -require_relative './shell' +require_relative 'shell' Shell::CLI.new.run(args: ARGV) if $PROGRAM_NAME == __FILE__