pronto-rubocop 0.2.3 → 0.2.4

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: 9534e732aa86f0d4a68f6fe068677c931513f1d1
4
- data.tar.gz: f4948d7a0bd0e630759276dcb27842da65a1d8ef
3
+ metadata.gz: ff077936fda94c69ae6e4db24df26119151419d0
4
+ data.tar.gz: cc35a329b3799388cdf39724dceee8a0fcb36436
5
5
  SHA512:
6
- metadata.gz: 8a8223a12e6064ca15032cd99652f190aa8cc3c4495618245b246a08e8b9e6bef22b3e0cf78ef63fc7da6738f512c93cda127bbd39b2e8f6897e0cdce7c0a30c
7
- data.tar.gz: 8de1e54a4fd8b52070183fe47be678ba0bbc06d2e1deaa7609d5a58c7d5ec935f4785004d0c91011de992dd01f0f52b327aaf5a1da38585ab1ef7abcd65ca314
6
+ metadata.gz: 6bbf9d80d622045cfcf2da32db4cadc087d35d1079a87ae53f7e26fd1ca26fd3a9a8c93a0ceb4b67e3ac9efc078d128a6e2ef82c67c1134c7bef918023dd0f63
7
+ data.tar.gz: 95171b6babd6edfffe0c8e3cbc8b6131757d03834974ce2c56926bc45730bde98bb79bc2994dee3e70d506ed7f288775b97b1a8022a868050aca54134ad609b2
@@ -4,8 +4,8 @@ require 'rubocop'
4
4
  module Pronto
5
5
  class Rubocop < Runner
6
6
  def initialize
7
- @inspector = ::Rubocop::FileInspector.new({})
8
- @config_store = ::Rubocop::ConfigStore.new
7
+ @inspector = ::RuboCop::FileInspector.new({})
8
+ @config_store = ::RuboCop::ConfigStore.new
9
9
  end
10
10
 
11
11
  def run(patches, _)
@@ -18,7 +18,7 @@ module Pronto
18
18
  end
19
19
 
20
20
  def inspect(patch)
21
- processed_source = ::Rubocop::SourceParser.parse_file(patch.new_file_full_path)
21
+ processed_source = ::RuboCop::SourceParser.parse_file(patch.new_file_full_path)
22
22
  offences = @inspector.send(:inspect_file, processed_source, @config_store).first
23
23
 
24
24
  offences.map do |offence|
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module RubocopVersion
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.4'
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.2.3
4
+ version: 0.2.4
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: 2014-04-22 00:00:00.000000000 Z
11
+ date: 2014-06-16 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.20.0
19
+ version: 0.23.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.20.0
26
+ version: 0.23.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pronto
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,10 +72,10 @@ executables: []
72
72
  extensions: []
73
73
  extra_rdoc_files: []
74
74
  files:
75
- - lib/pronto/rubocop/version.rb
76
- - lib/pronto/rubocop.rb
77
75
  - LICENSE
78
76
  - README.md
77
+ - lib/pronto/rubocop.rb
78
+ - lib/pronto/rubocop/version.rb
79
79
  homepage: http://github.org/mmozuras/pronto-rubocop
80
80
  licenses:
81
81
  - MIT
@@ -96,9 +96,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  version: 1.3.6
97
97
  requirements: []
98
98
  rubyforge_project:
99
- rubygems_version: 2.0.7
99
+ rubygems_version: 2.2.2
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: Pronto runner for Rubocop, ruby code analyzer
103
103
  test_files: []
104
- has_rdoc: