Upgrade to Ruby 3.2 (#30)

* Upgrade to Ruby 3.2

* Upgrade and fix rubocop linting

* Bundle exec the parse issue command

* Go back to manually installing dependencies for issue ops
This commit is contained in:
Chase S
2023-08-14 09:13:37 -05:00
committed by GitHub
parent 090d41bc3b
commit 65b029a677
12 changed files with 86 additions and 66 deletions

View File

@@ -4,7 +4,7 @@
require "yaml"
require "open3"
require_relative "./../cli"
require_relative "../cli"
issue_content, comment_body, labels = ARGV

View File

@@ -20,7 +20,8 @@ if File.file?(bundle_binstub)
if /This file was generated by Bundler/.match?(File.read(bundle_binstub, 300))
load(bundle_binstub)
else
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
abort(
"Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
end
end

View File

@@ -20,7 +20,8 @@ if File.file?(bundle_binstub)
if /This file was generated by Bundler/.match?(File.read(bundle_binstub, 300))
load(bundle_binstub)
else
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
abort(
"Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
end
end