pronto-rubocop 0.11.2 → 0.11.3

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
  SHA256:
3
- metadata.gz: 9966d2906f3d406926909048fe99e8814afa4b58e4a54963553652a1d502092b
4
- data.tar.gz: d8be4f7a23e51f8c98debc7a41440289f34b2b11c3a52ae7af5507e8e628ff70
3
+ metadata.gz: 756b96b9e8df77b37193360fe3fe6ecf809b78da8aa71b3efe7a87926dfc4607
4
+ data.tar.gz: e9a6a56746f4fd1b4ed40679b9233a5d364d0663a9249fd57ba43c03a988a954
5
5
  SHA512:
6
- metadata.gz: a69bc7d7de258f3bfe7b000b5d7a0c1dde7fa1075d0d665d7e695cf325fe6c4ff771178c7bc70b24c77175361fbd0320d33daa6d68415ee529efd3446c9b778f
7
- data.tar.gz: 32042282d15f1e5b65c34efb771918f19a6db84dbcc4e6ce8d04dd54b21dee5131bc5f4a6893832eb30b2fe99ffff07ba021a338c0dbc999b57c9dd2ebc02d90
6
+ metadata.gz: 66ee070e5860a174b28e19e36e52b76465fba4b0ea87497c13b4acf5a321c5a49381c97dbe5689fa4aa9666b2efff1a1e52258ec85b1762f504dec8cf99aaf61
7
+ data.tar.gz: d3ee6497d266630e4a38cfed9561ad13562a40b3662c340877086e35a8b8962dbf9bcab607391becde855545804b27655603dfd5aa40e78ad605609fe5e9128b
@@ -15,7 +15,7 @@ jobs:
15
15
  strategy:
16
16
  matrix:
17
17
  ruby: ['2.4', '2.5', '2.6', '2.7', '3.0']
18
- rubocop: ['0.63.1', '0.81.0', '0.84.0', '0.85.0', '0.86.0', '0.87.0', '< 1.0', '1.0.0', '1.29.1', '1.30.0', '< 2.0']
18
+ rubocop: ['0.63.1', '0.81.0', '0.84.0', '0.85.0', '0.86.0', '0.87.0', '< 1.0', '1.0.0', '1.29.1', '1.30.0', '1.38.0', '< 2.0']
19
19
  include:
20
20
  - ruby: '2.3'
21
21
  rubocop: '0.63.1'
@@ -26,10 +26,14 @@ jobs:
26
26
  rubocop: '1.29.1'
27
27
  - ruby: '2.4'
28
28
  rubocop: '1.30.0'
29
+ - ruby: '2.4'
30
+ rubocop: '1.38.0'
29
31
  - ruby: '2.5'
30
32
  rubocop: '1.29.1'
31
33
  - ruby: '2.5'
32
34
  rubocop: '1.30.0'
35
+ - ruby: '2.5'
36
+ rubocop: '1.38.0'
33
37
  fail-fast: false
34
38
  steps:
35
39
  - uses: actions/checkout@v2
@@ -22,10 +22,15 @@ module Pronto
22
22
  end
23
23
 
24
24
  def processed_source
25
- @processed_source ||= ::RuboCop::ProcessedSource.from_file(
26
- path,
27
- rubocop_config.target_ruby_version
28
- )
25
+ @processed_source ||= begin
26
+ processed_source = ::RuboCop::ProcessedSource.from_file(
27
+ path,
28
+ rubocop_config.target_ruby_version
29
+ )
30
+ processed_source.registry = registry if processed_source.respond_to?(:registry=)
31
+ processed_source.config = rubocop_config if processed_source.respond_to?(:config=)
32
+ processed_source
33
+ end
29
34
  end
30
35
 
31
36
  def registry
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Pronto
4
4
  module RubocopVersion
5
- VERSION = '0.11.2'
5
+ VERSION = '0.11.3'
6
6
  end
7
7
  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.11.2
4
+ version: 0.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mindaugas Mozūras
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-29 00:00:00.000000000 Z
11
+ date: 2022-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pronto
@@ -86,7 +86,7 @@ dependencies:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: '1.2'
89
- description:
89
+ description:
90
90
  email: mindaugas.mozuras@gmail.com
91
91
  executables: []
92
92
  extensions: []
@@ -107,7 +107,7 @@ homepage: http://github.com/mmozuras/pronto-rubocop
107
107
  licenses:
108
108
  - MIT
109
109
  metadata: {}
110
- post_install_message:
110
+ post_install_message:
111
111
  rdoc_options: []
112
112
  require_paths:
113
113
  - lib
@@ -122,8 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  requirements: []
125
- rubygems_version: 3.0.3.1
126
- signing_key:
125
+ rubygems_version: 3.3.15
126
+ signing_key:
127
127
  specification_version: 4
128
128
  summary: Pronto runner for Rubocop, ruby code analyzer
129
129
  test_files: []