standard 1.25.0 → 1.25.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/lib/standard/runners/rubocop.rb +14 -1
- data/lib/standard/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1aeeafd87f77c4ff9e85dfb6a1bd37cb31126086348e99e429fedfd09683723
|
4
|
+
data.tar.gz: 647e17d2a36f4260e6fb66122f92328b6ad374bc25408b06a4923b75f2b4211d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3761917ccc794b141953b287307db706f911d7fba8aaed24222916c50d66fc0c24e24a8e8669ab05e2b3ce2820e2b1094257a963b3b724ce575681ff9dd4a8d8
|
7
|
+
data.tar.gz: 50f7c207a9935792796d2ac8fa9797f1afda8062c4ac54482390f62ae46b3d34f5c2a4533dddaad7d12dad8f7201179bf06ea09f1f35d6ff70f8b78396dac63f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.25.1
|
4
|
+
|
5
|
+
* When in `stdin` mode, don't invoke the RuboCop runner with `parallel: true` to
|
6
|
+
avoid an interaction that breaks auto-fixing
|
7
|
+
[#530](https://github.com/testdouble/standard/issues/530),
|
8
|
+
[#536](https://github.com/testdouble/standard/issues/536)
|
9
|
+
|
3
10
|
## 1.25.0
|
4
11
|
|
5
12
|
* Update rubocop-performance from 1.15.2 to [1.16.0](https://github.com/rubocop/rubocop-performance/releases/tag/v1.16.0)
|
data/Gemfile.lock
CHANGED
@@ -6,7 +6,7 @@ module Standard
|
|
6
6
|
def call(config)
|
7
7
|
rubocop_runner = RuboCop::CLI::Command::ExecuteRunner.new(
|
8
8
|
RuboCop::CLI::Environment.new(
|
9
|
-
config.rubocop_options,
|
9
|
+
without_parallelizing_in_stdin_mode(config.rubocop_options),
|
10
10
|
config.rubocop_config_store,
|
11
11
|
config.paths
|
12
12
|
)
|
@@ -14,6 +14,19 @@ module Standard
|
|
14
14
|
|
15
15
|
rubocop_runner.run
|
16
16
|
end
|
17
|
+
|
18
|
+
private
|
19
|
+
|
20
|
+
# This is a workaround for an issue with how `parallel` and `stdin`
|
21
|
+
# interact when invoked in this way. See:
|
22
|
+
# https://github.com/testdouble/standard/issues/536
|
23
|
+
def without_parallelizing_in_stdin_mode(options)
|
24
|
+
if options[:stdin]
|
25
|
+
options.delete(:parallel)
|
26
|
+
end
|
27
|
+
|
28
|
+
options
|
29
|
+
end
|
17
30
|
end
|
18
31
|
end
|
19
32
|
end
|
data/lib/standard/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.25.
|
4
|
+
version: 1.25.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Searls
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 3.17.0.2
|
55
|
-
description:
|
55
|
+
description:
|
56
56
|
email:
|
57
57
|
- searls@gmail.com
|
58
58
|
executables:
|
@@ -123,7 +123,7 @@ files:
|
|
123
123
|
homepage: https://github.com/testdouble/standard
|
124
124
|
licenses: []
|
125
125
|
metadata: {}
|
126
|
-
post_install_message:
|
126
|
+
post_install_message:
|
127
127
|
rdoc_options: []
|
128
128
|
require_paths:
|
129
129
|
- lib
|
@@ -138,8 +138,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
|
-
rubygems_version: 3.
|
142
|
-
signing_key:
|
141
|
+
rubygems_version: 3.4.6
|
142
|
+
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Ruby Style Guide, with linter & automatic code fixer
|
145
145
|
test_files: []
|