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 +4 -4
- data/lib/pronto/rubocop.rb +1 -1
- data/lib/pronto/rubocop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bec80a7235e959814713c3d8542bbb21027e4a71
|
4
|
+
data.tar.gz: ac22f1fa393226b10f8ed295260302e36b08e18d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58f00f8781bc51de8143b8f3437f834d53a513610c61dc6c8ca2978e9c0a3c5a71bcba2cba7e8956cb5a0d2cef004470415533fd57d6e463a5bd15c1839051b1
|
7
|
+
data.tar.gz: 5ef79b2ed7f64854fa215103131ec7a19bc7aea385345d2a3ac31c1aa862cfed2bff746c2ab46d835d7c62f4ddccb31db88ff5af0406180169478d8c90564fb3
|
data/lib/pronto/rubocop.rb
CHANGED
@@ -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
|
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.
|
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-
|
11
|
+
date: 2015-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|