Skip to content

Commit f1b7dba

Browse files
committed
Update rubocop
1 parent c36c255 commit f1b7dba

File tree

4 files changed

+22
-24
lines changed

4 files changed

+22
-24
lines changed

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
require:
2+
- rubocop-performance
3+
14
inherit_from:
25
- https://shopify.github.io/ruby-style-guide/rubocop-cli.yml
36

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ ruby '2.3.7'
77
# `dev` uses no gems
88

99
group :development, :test do
10-
gem 'rubocop', '~> 0.65.0'
11-
gem 'shopify-cops', require: false, source: 'https://packages.shopify.io/shopify/gems'
10+
gem 'rubocop'
11+
gem 'rubocop-performance'
1212
gem 'rake'
1313
end
1414

Gemfile.lock

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,35 @@
11
GEM
22
remote: https://rubygems.org/
3-
remote: https://packages.shopify.io/shopify/gems/
43
specs:
54
ansi (1.5.0)
65
ast (2.4.0)
76
builder (3.2.3)
8-
jaro_winkler (1.5.2)
7+
jaro_winkler (1.5.4)
98
metaclass (0.0.4)
10-
minitest (5.11.3)
11-
minitest-reporters (1.3.6)
9+
minitest (5.13.0)
10+
minitest-reporters (1.4.2)
1211
ansi
1312
builder
1413
minitest (>= 5.0)
1514
ruby-progressbar
16-
mocha (1.2.1)
15+
mocha (1.9.0)
1716
metaclass (~> 0.0.1)
18-
parallel (1.14.0)
19-
parser (2.6.2.0)
17+
parallel (1.18.0)
18+
parser (2.6.5.0)
2019
ast (~> 2.4.0)
21-
powerpack (0.1.2)
22-
psych (3.1.0)
2320
rainbow (3.0.0)
24-
rake (12.3.2)
25-
rubocop (0.65.0)
21+
rake (13.0.0)
22+
rubocop (0.76.0)
2623
jaro_winkler (~> 1.5.1)
2724
parallel (~> 1.10)
28-
parser (>= 2.5, != 2.5.1.1)
29-
powerpack (~> 0.1)
30-
psych (>= 3.1.0)
25+
parser (>= 2.6)
3126
rainbow (>= 2.2.2, < 4.0)
3227
ruby-progressbar (~> 1.7)
33-
unicode-display_width (~> 1.4.0)
34-
ruby-progressbar (1.10.0)
35-
shopify-cops (0.0.20)
36-
rubocop (~> 0.53)
37-
unicode-display_width (1.4.1)
28+
unicode-display_width (>= 1.4.0, < 1.7)
29+
rubocop-performance (1.5.0)
30+
rubocop (>= 0.71.0)
31+
ruby-progressbar (1.10.1)
32+
unicode-display_width (1.6.0)
3833

3934
PLATFORMS
4035
ruby
@@ -44,8 +39,8 @@ DEPENDENCIES
4439
minitest-reporters
4540
mocha
4641
rake
47-
rubocop (~> 0.65.0)
48-
shopify-cops!
42+
rubocop
43+
rubocop-performance
4944

5045
RUBY VERSION
5146
ruby 2.3.7p456

test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require 'git_chain'
33

44
require 'minitest'
5-
require 'mocha/mini_test'
5+
require 'mocha/minitest'
66
require "minitest/autorun"
77
require 'minitest/reporters'
88

0 commit comments

Comments
 (0)