Skip to content

Commit c2a1edd

Browse files
committed
Address deprecations
- Rubocop changed auto-correct to autocorrect - base64 will be dropped from stdlib in Ruby 3.4
1 parent 960dcc4 commit c2a1edd

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
source 'https://rubygems.org'
22

3+
gem 'base64'
34
gem 'minitest'
45
gem 'rake'
56
gem 'mocha', require: false

Gemfile.lock

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ GEM
22
remote: https://rubygems.org/
33
specs:
44
ast (2.4.2)
5+
base64 (0.2.0)
56
docile (1.4.0)
67
json (2.7.2)
78
minitest (5.22.3)
@@ -47,6 +48,7 @@ PLATFORMS
4748
ruby
4849

4950
DEPENDENCIES
51+
base64
5052
minitest
5153
mocha
5254
racc

bin/rubocop-quick

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

3-
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 && \
3+
git diff --name-status --staged | grep '^[MA]' | grep -o '\s\+.*rb' | xargs bundle exec rubocop --except Metrics --autocorrect --format quiet --force-exclusion Gemfile.lock && \
44
git diff --name-status --staged | grep '^[MA]' | grep -o '\s\+.*rb' | xargs git add

0 commit comments

Comments
 (0)