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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0f544cac5e204fb00c4feee4fae06cce29f89f4
4
- data.tar.gz: ca678906d5c1f4b08f96c55601b01b6f0d0077a7
3
+ metadata.gz: 70f4321534aee21596156f7a437048b88f95a4a0
4
+ data.tar.gz: f20f6bf08dad96a47556ade299e8b067366eef23
5
5
  SHA512:
6
- metadata.gz: 7e3be8855f96dd2075b4176a677559432113e79ca95d3b773b5b6780e916d1982039dcf5cdec377412de4d33bf3f33a90eb350ba727a14a17fb058066964d590
7
- data.tar.gz: c773ea49f4d81da7c772b8e18ee4cd5bcc34c25b2fed30b1cc82410e5600e3d75c1fa0900dccca4a667bbd9157f28ed9ca1e2cc1f9a19f7a66318a74b6c81043
6
+ metadata.gz: 9b251747d531f9293b9c5aaa54f86d8398867da04ed9b3cb465c445f025341debea50add99171c16396a55e45a5c07073002ad1395e0cbe0003c9470b8c71a13
7
+ data.tar.gz: 8b0842d0971f1778860a71d1dab2cfc2345972f31fb8b112adb3f45b9a6948746a6cfb9683e3b6b2b81b16e42ff1bb54ae2e21c3d94a91e5b1665c0744032db9
@@ -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)
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module RubocopVersion
3
- VERSION = '0.6.0'.freeze
3
+ VERSION = '0.6.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mindaugas Mozūras