makandra-rubocop 6.1.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/Gemfile.lock +1 -1
- data/lib/makandra_rubocop/support/rubocop_spec.rb +3 -3
- data/lib/makandra_rubocop/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 971fab26cb30baaf1d55688257511cefde34e0dc57c10e02ec85615847e41503
|
4
|
+
data.tar.gz: 149c349a25dc128a613ef58fc99704d2c3c55a2ff3edd4208328edb227344b47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3f28b134d26a8e8aef1faabb8d7e4c664a24fa2545cd6ee1afe4c46307537a1f3306542abd9da4357016fc6d2dd8b172e6eb4dc81534641490e4230ccfd343b
|
7
|
+
data.tar.gz: 222230ed722ba70d485e2d52379e953e302b6f00178868499a8022bb81e09571b7fa91593f37b92ef2c7823e452da358fc486e0e7b91ad9d474734dedb237537
|
data/CHANGELOG.md
CHANGED
@@ -8,6 +8,50 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
8
8
|
|
9
9
|
### Compatible changes
|
10
10
|
|
11
|
+
## 6.2.0 - 2021-06-20
|
12
|
+
|
13
|
+
### Compatible changes
|
14
|
+
|
15
|
+
- Use the format `simple` output, and not `progress`.
|
16
|
+
- Also output stdout if stderr is present. Otherwise warnings like
|
17
|
+
whitequark/parser will block the actual offenses message to be skipped.
|
18
|
+
Originally we thought the only stderr message will be a failure of
|
19
|
+
rubocop itself, so there would be never a stdout, too.
|
20
|
+
|
21
|
+
**Before**:
|
22
|
+
|
23
|
+
```
|
24
|
+
1) rubocop has no offenses
|
25
|
+
Failure/Error: example.run
|
26
|
+
|
27
|
+
warning: parser/current is loading parser/ruby26, which recognizes
|
28
|
+
warning: 2.6.7-compliant syntax, but you are running 2.6.5.
|
29
|
+
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
|
30
|
+
# ./spec/support/with_power.rb:11:in `block (2 levels) in <top (required)>'
|
31
|
+
# ./spec/support/vcr.rb:16:in `block (2 levels) in <top (required)>'
|
32
|
+
# ./spec/support/database_cleaner.rb:21:in `block (2 levels) in <top (required)>'
|
33
|
+
```
|
34
|
+
|
35
|
+
**After:**
|
36
|
+
|
37
|
+
```
|
38
|
+
1) rubocop has no offenses
|
39
|
+
Failure/Error: example.run
|
40
|
+
|
41
|
+
warning: parser/current is loading parser/ruby26, which recognizes
|
42
|
+
warning: 2.6.7-compliant syntax, but you are running 2.6.5.
|
43
|
+
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
|
44
|
+
|
45
|
+
== app/user/search.rb ==
|
46
|
+
C: 5: 3: [Correctable] Layout/IndentationWidth: Use 2 (not 5) spaces for indentation.
|
47
|
+
|
48
|
+
1016 files inspected, 1 offense detected, 1 offense auto-correctable
|
49
|
+
# ./spec/support/with_power.rb:11:in `block (2 levels) in <main>'
|
50
|
+
# ./spec/support/vcr.rb:16:in `block (2 levels) in <main>'
|
51
|
+
# ./spec/support/database_cleaner.rb:21:in `block (2 levels) in <main>'
|
52
|
+
```
|
53
|
+
|
54
|
+
|
11
55
|
|
12
56
|
## 6.1.0 - 2021-04-30
|
13
57
|
|
data/Gemfile.lock
CHANGED
@@ -3,9 +3,9 @@ require 'open3'
|
|
3
3
|
RSpec.describe 'rubocop' do
|
4
4
|
it 'should not be offended' do
|
5
5
|
command = self.class.description
|
6
|
-
stdout, stderr, status = Open3.capture3('bundle', 'exec', command)
|
7
|
-
|
6
|
+
stdout, stderr, status = Open3.capture3('bundle', 'exec', command, '--format', 'simple')
|
7
|
+
failure_message = [stderr, stdout].reject(&:empty?).join("\n\n")
|
8
8
|
|
9
|
-
expect(status.success?).to eq(true),
|
9
|
+
expect(status.success?).to eq(true), failure_message
|
10
10
|
end
|
11
11
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: makandra-rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arne Hartherz
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-07-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rubocop
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: '0'
|
128
128
|
requirements: []
|
129
|
-
rubygems_version: 3.
|
129
|
+
rubygems_version: 3.2.19
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: makandra's default Rubocop configuration
|