Commit dec3082
committed
Upgrade rubocop to fix Style/WordArray warning.
A few users have run into this problem, and upgrading rubocop
(specifically the parsing dependencies) fixes the issue. Example engine
output is shown below.
Before this change
==================
```
An error occurred while Style/WordArray cop was inspecting
config/initializers/logs.rb.
To see the complete backtrace run rubocop -d.
```
After this change
=================
```
warning: parser/current is loading parser/ruby22, which recognizes
warning: 2.2.3-compliant syntax, but you are running 2.2.2.
warning: please see
https://github.com/whitequark/parser#compatibility-with-ruby-mri.
```
Note: this version warning is new, but as there were no syntax changes
introduced in ruby 2.2.3, I don't believe it is an issue.
(https://www.ruby-lang.org/en/news/2015/08/18/ruby-2-2-3-released/)1 parent f305da3 commit dec3082
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
0 commit comments