pronto-rubocop 0.5.1 → 0.5.2

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: fd09d9c4afc779f037a9d9dafce1cec56e84f356
4
- data.tar.gz: ef3f83809692510042811a4022a4e16805c43bf8
3
+ metadata.gz: 83ecd9ea50c007ab55be13785e8f315dcea2e5f9
4
+ data.tar.gz: 430ac71fdebbb89a77ae300bae277f590325eb0d
5
5
  SHA512:
6
- metadata.gz: c9f6e4e932660e4a8f1b25d04181d8f76cef00faca8120561ec8ba520ac0c4029967a7b35dbc649b22a4786756b2409f5e0f3db710fc1dba67257c8dfae0d593
7
- data.tar.gz: a6b1dce9c259629e1956cbcef341343f3ee2d8fba78cb34e2ce212d7fddfa34a87175dfd47facd74e1a17ad4515ecd5c9b47ae0200599e1bd46a449fa9cf1af2
6
+ metadata.gz: bd5b37c6e19b7056cceee602dd10ee2d263c7457183fdb00d8a99038af5ff51bc045f716ba2409a971af7faed2f963a3941002e61a784aced6f14bc3a4052f54
7
+ data.tar.gz: 7de6ae4d2b9fadfdd6187521bd3c4bed55729258e8c417b153e06475aee0813b9bf0e2d2665e89cf1a6727ba0795b437cf160a934ba0c13081aa72ddbde45d6c
@@ -53,7 +53,7 @@ module Pronto
53
53
 
54
54
  def processed_source_for(patch)
55
55
  path = patch.new_file_full_path.to_s
56
- ::RuboCop::ProcessedSource.from_file(path)
56
+ ::RuboCop::ProcessedSource.from_file(path, RUBY_VERSION[0..2].to_f)
57
57
  end
58
58
 
59
59
  def level(severity)
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module RubocopVersion
3
- VERSION = '0.5.1'
3
+ VERSION = '0.5.2'
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.5.1
4
+ version: 0.5.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: 2016-01-17 00:00:00.000000000 Z
11
+ date: 2016-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop