pronto-rubocop 0.4.5 → 0.4.6

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: 7f14a27df7feb1b37fa605c6efb571e547671c07
4
- data.tar.gz: c4e142deb258cedfd6c08d3925ed78d4acceb684
3
+ metadata.gz: bec80a7235e959814713c3d8542bbb21027e4a71
4
+ data.tar.gz: ac22f1fa393226b10f8ed295260302e36b08e18d
5
5
  SHA512:
6
- metadata.gz: 928018e4ab29a861b9b3739bada0ca45263e0f3885b73459591f262b981b9b7de514c436e544115d20cb8f9ceeb3e71df56d72163eb2d72a5b5590ac511b4696
7
- data.tar.gz: 7be2216b5fd64ff1d660e5f9a3ea600da6b778a3e1b51f0ea9ea27b06313ad18c95a9d01aab92acfba3946b73203f3d03f62ed9b389fd930b38aff20cf5ac86a
6
+ metadata.gz: 58f00f8781bc51de8143b8f3437f834d53a513610c61dc6c8ca2978e9c0a3c5a71bcba2cba7e8956cb5a0d2cef004470415533fd57d6e463a5bd15c1839051b1
7
+ data.tar.gz: 5ef79b2ed7f64854fa215103131ec7a19bc7aea385345d2a3ac31c1aa862cfed2bff746c2ab46d835d7c62f4ddccb31db88ff5af0406180169478d8c90564fb3
@@ -24,7 +24,7 @@ module Pronto
24
24
  processed_source = ::RuboCop::ProcessedSource.from_file(patch.new_file_full_path.to_s)
25
25
  offences = @inspector.send(:inspect_file, processed_source).first
26
26
 
27
- offences.map do |offence|
27
+ offences.sort.reject(&:disabled?).map do |offence|
28
28
  patch.added_lines.select { |line| line.new_lineno == offence.line }
29
29
  .map { |line| new_message(offence, line) }
30
30
  end
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module RubocopVersion
3
- VERSION = '0.4.5'
3
+ VERSION = '0.4.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mindaugas Mozūras
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-05 00:00:00.000000000 Z
11
+ date: 2015-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop