pronto-rubocop 0.4.1 → 0.4.2
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 +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bfbbc6a629968928a175b508e6c83d6f8de91d9
|
4
|
+
data.tar.gz: 4ba38e2d643b26dc7441822a756f0bf68cd71ecb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cef49c6e0fd0cb536d0caeb71b7d1ea298f01afff9c919ce64b262211b18930451e74ea7a819f833634d08cb9e0fa152fb522480fa085446e6f79a6b3801fb47
|
7
|
+
data.tar.gz: 986f81bc125b8bf0ca47a5177588d486a948f39b293adc8aba2d26ca370ec0c2c51e6c7afef0f8c002f4a6039d11a07c5a590f0dbebfbd4d8decf1aad2c1959f
|
data/lib/pronto/rubocop.rb
CHANGED
@@ -21,7 +21,7 @@ module Pronto
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def inspect(patch)
|
24
|
-
processed_source = ::RuboCop::ProcessedSource.from_file(patch.new_file_full_path)
|
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
27
|
offences.map do |offence|
|
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.2
|
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-
|
11
|
+
date: 2015-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.30.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.30.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pronto
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -110,9 +110,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: 1.3.6
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.
|
113
|
+
rubygems_version: 2.4.5
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Pronto runner for Rubocop, ruby code analyzer
|
117
117
|
test_files: []
|
118
|
-
has_rdoc:
|