standard 1.25.0 → 1.25.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/Gemfile.lock +1 -1
- data/config/base.yml +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: 38e0d9ee5414f1b426d6ebf6576344c0cb4e11230006a2abc4d0747c773d81cb
|
4
|
+
data.tar.gz: f5cbad01395c8935b31644131edcf7935c4ef016275f12b40e8ff9a399fede08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 793810774f3dae6d6bdc2fe3a3de9f09e5d8a858c189a4853895efca2cea29050862fa863f1100822f160cf647c0865d4c7a67093d854d0a0907d3273a5bc590
|
7
|
+
data.tar.gz: 643f5bfe2714f9f68f064fa706af04b25190e32e4d4e5bddb0819297ead92856015484ff063cacb0790b53cebd55f53e6e95d2b080b3d7e5e9980ee57fab1a55
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.25.2
|
4
|
+
|
5
|
+
* Disable Style/RedundantFetchBlock due to concerns the performance benefit
|
6
|
+
isn't worth the inconsistency it causes and the fact it is incompatible with
|
7
|
+
ActiveSupport [#527](https://github.com/testdouble/standard/issues/527)
|
8
|
+
|
9
|
+
## 1.25.1
|
10
|
+
|
11
|
+
* When in `stdin` mode, don't invoke the RuboCop runner with `parallel: true` to
|
12
|
+
avoid an interaction that breaks auto-fixing
|
13
|
+
[#530](https://github.com/testdouble/standard/issues/530),
|
14
|
+
[#536](https://github.com/testdouble/standard/issues/536)
|
15
|
+
|
3
16
|
## 1.25.0
|
4
17
|
|
5
18
|
* 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
data/config/base.yml
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.2
|
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-19 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: []
|