Skip to content

Commit

Permalink
Address deprecations (#1732)
Browse files Browse the repository at this point in the history
- Rubocop changed auto-correct to autocorrect
- base64 will be dropped from stdlib in Ruby 3.4
  • Loading branch information
kotp authored Nov 9, 2024
1 parent 960dcc4 commit 21705a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
source 'https://rubygems.org'

gem 'base64'
gem 'minitest'
gem 'rake'
gem 'mocha', require: false
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
base64 (0.2.0)
docile (1.4.0)
json (2.7.2)
minitest (5.22.3)
Expand Down Expand Up @@ -47,6 +48,7 @@ PLATFORMS
ruby

DEPENDENCIES
base64
minitest
mocha
racc
Expand Down
2 changes: 1 addition & 1 deletion bin/rubocop-quick
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

git diff --name-status --staged | grep '^[MA]' | grep -o '\s\+.*rb' | xargs bundle exec rubocop --except Metrics --auto-correct --format quiet --force-exclusion Gemfile.lock && \
git diff --name-status --staged | grep '^[MA]' | grep -o '\s\+.*rb' | xargs bundle exec rubocop --except Metrics --autocorrect --format quiet --force-exclusion Gemfile.lock && \
git diff --name-status --staged | grep '^[MA]' | grep -o '\s\+.*rb' | xargs git add

0 comments on commit 21705a7

Please sign in to comment.