pronto-rubocop 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pronto/rubocop.rb +2 -2
- data/lib/pronto/rubocop/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70f4321534aee21596156f7a437048b88f95a4a0
|
4
|
+
data.tar.gz: f20f6bf08dad96a47556ade299e8b067366eef23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b251747d531f9293b9c5aaa54f86d8398867da04ed9b3cb465c445f025341debea50add99171c16396a55e45a5c07073002ad1395e0cbe0003c9470b8c71a13
|
7
|
+
data.tar.gz: 8b0842d0971f1778860a71d1dab2cfc2345972f31fb8b112adb3f45b9a6948746a6cfb9683e3b6b2b81b16e42ff1bb54ae2e21c3d94a91e5b1665c0744032db9
|
data/lib/pronto/rubocop.rb
CHANGED
@@ -3,7 +3,7 @@ require 'rubocop'
|
|
3
3
|
|
4
4
|
module Pronto
|
5
5
|
class Rubocop < Runner
|
6
|
-
def initialize(_, _)
|
6
|
+
def initialize(_, _ = nil)
|
7
7
|
super
|
8
8
|
|
9
9
|
@config_store = ::RuboCop::ConfigStore.new
|
@@ -45,7 +45,7 @@ module Pronto
|
|
45
45
|
path = line.patch.delta.new_file[:path]
|
46
46
|
level = level(offence.severity.name)
|
47
47
|
|
48
|
-
Message.new(path, line, level, offence.message)
|
48
|
+
Message.new(path, line, level, offence.message, nil, self.class)
|
49
49
|
end
|
50
50
|
|
51
51
|
def config_store_for(patch)
|