standard 1.43.0 → 1.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +3 -3
- data/config/base.yml +16 -0
- data/config/ruby-2.4.yml +3 -0
- data/lib/ruby_lsp/standard/addon.rb +1 -1
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +1 -1
- metadata +5 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ee0e74f6cfd7408d24356f8fa836ac18c29195c06c01ae1018abb0aca395990
|
4
|
+
data.tar.gz: 23da8da2abdab699a7ed14039292677eb6c75a0167fe98acddd74e5cf63a0829
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 337e1473e99a7b6ef5b46215ff0442fb860a2602407836dbb3e67c6a949468b6601cc2eef9499a3e4c3a09da227a9f4fbf9da1cb0ea4ab4e68d582f3079552cc
|
7
|
+
data.tar.gz: 353ff9f93558477fd4ec1e4435013e91405cc9dd062ecfec59d706b5b8764f71103eec2323b941ca18c91c9825f7415b867c81d7a4e967ad728099db3f8f28c5
|
data/.github/workflows/test.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.45.0
|
4
|
+
|
5
|
+
* Updates rubocop to [1.71.0](https://github.com/rubocop/rubocop/tree/v1.71.0)
|
6
|
+
|
7
|
+
## 1.44.0
|
8
|
+
|
9
|
+
* Updates rubocop to [1.70.0](https://github.com/rubocop/rubocop/tree/v1.70.0)
|
10
|
+
|
3
11
|
## 1.43.0
|
4
12
|
|
5
13
|
* Updates rubocop to [1.69.1](https://github.com/rubocop/rubocop/tree/v1.69.1)
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
standard (1.
|
4
|
+
standard (1.45.0)
|
5
5
|
language_server-protocol (~> 3.17.0.2)
|
6
6
|
lint_roller (~> 1.0)
|
7
|
-
rubocop (~> 1.
|
7
|
+
rubocop (~> 1.71.0)
|
8
8
|
standard-custom (~> 1.0.0)
|
9
9
|
standard-performance (~> 1.6)
|
10
10
|
|
@@ -34,7 +34,7 @@ GEM
|
|
34
34
|
rbs (3.5.2)
|
35
35
|
logger
|
36
36
|
regexp_parser (2.9.3)
|
37
|
-
rubocop (1.
|
37
|
+
rubocop (1.71.0)
|
38
38
|
json (~> 2.3)
|
39
39
|
language_server-protocol (>= 3.17.0)
|
40
40
|
parallel (~> 1.10)
|
data/config/base.yml
CHANGED
@@ -439,6 +439,10 @@ Lint/AmbiguousRange:
|
|
439
439
|
Lint/AmbiguousRegexpLiteral:
|
440
440
|
Enabled: true
|
441
441
|
|
442
|
+
Lint/ArrayLiteralInRegexp:
|
443
|
+
Enabled: true
|
444
|
+
AutoCorrect: false
|
445
|
+
|
442
446
|
Lint/AssignmentInCondition:
|
443
447
|
Enabled: true
|
444
448
|
AllowSafeAssignment: true
|
@@ -464,6 +468,9 @@ Lint/ConstantDefinitionInBlock:
|
|
464
468
|
Lint/ConstantOverwrittenInRescue:
|
465
469
|
Enabled: true
|
466
470
|
|
471
|
+
Lint/ConstantReassignment:
|
472
|
+
Enabled: true
|
473
|
+
|
467
474
|
Lint/ConstantResolution:
|
468
475
|
Enabled: false
|
469
476
|
|
@@ -777,6 +784,9 @@ Lint/ShadowedException:
|
|
777
784
|
Lint/ShadowingOuterLocalVariable:
|
778
785
|
Enabled: false
|
779
786
|
|
787
|
+
Lint/SharedMutableDefault:
|
788
|
+
Enabled: true
|
789
|
+
|
780
790
|
Lint/StructNewOverride:
|
781
791
|
Enabled: false
|
782
792
|
|
@@ -1273,6 +1283,9 @@ Style/HashExcept:
|
|
1273
1283
|
Style/HashLikeCase:
|
1274
1284
|
Enabled: false
|
1275
1285
|
|
1286
|
+
Style/HashSlice:
|
1287
|
+
Enabled: true
|
1288
|
+
|
1276
1289
|
Style/HashSyntax:
|
1277
1290
|
Enabled: true
|
1278
1291
|
EnforcedStyle: ruby19_no_mixed_keys
|
@@ -1323,6 +1336,9 @@ Style/InvertibleUnlessCondition:
|
|
1323
1336
|
Style/IpAddresses:
|
1324
1337
|
Enabled: false
|
1325
1338
|
|
1339
|
+
Style/ItAssignment:
|
1340
|
+
Enabled: true
|
1341
|
+
|
1326
1342
|
Style/KeywordArgumentsMerging:
|
1327
1343
|
Enabled: false
|
1328
1344
|
|
data/config/ruby-2.4.yml
CHANGED
@@ -11,7 +11,7 @@ module RubyLsp
|
|
11
11
|
def activate(global_state, message_queue)
|
12
12
|
@logger = ::Standard::Lsp::Logger.new(prefix: "[Standard Ruby]")
|
13
13
|
@logger.puts "Activating Standard Ruby LSP addon v#{::Standard::VERSION}"
|
14
|
-
RuboCop::LSP.enable
|
14
|
+
::RuboCop::LSP.enable
|
15
15
|
@wraps_built_in_lsp_standardizer = WrapsBuiltinLspStandardizer.new
|
16
16
|
global_state.register_formatter("standard", @wraps_built_in_lsp_standardizer)
|
17
17
|
register_additional_file_watchers(global_state, message_queue)
|
data/lib/standard/version.rb
CHANGED
data/standard.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
spec.metadata["rubygems_mfa_required"] = "true"
|
23
23
|
|
24
|
-
spec.add_dependency "rubocop", "~> 1.
|
24
|
+
spec.add_dependency "rubocop", "~> 1.71.0"
|
25
25
|
|
26
26
|
spec.add_dependency "lint_roller", "~> 1.0"
|
27
27
|
spec.add_dependency "standard-custom", "~> 1.0.0"
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.45.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Searls
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-11 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: rubocop
|
@@ -16,14 +15,14 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
18
|
+
version: 1.71.0
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - "~>"
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
25
|
+
version: 1.71.0
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: lint_roller
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,7 +79,6 @@ dependencies:
|
|
80
79
|
- - "~>"
|
81
80
|
- !ruby/object:Gem::Version
|
82
81
|
version: 3.17.0.2
|
83
|
-
description:
|
84
82
|
email:
|
85
83
|
- searls@gmail.com
|
86
84
|
executables:
|
@@ -174,7 +172,6 @@ metadata:
|
|
174
172
|
source_code_uri: https://github.com/standardrb/standard
|
175
173
|
changelog_uri: https://github.com/standardrb/standard/blob/main/CHANGELOG.md
|
176
174
|
rubygems_mfa_required: 'true'
|
177
|
-
post_install_message:
|
178
175
|
rdoc_options: []
|
179
176
|
require_paths:
|
180
177
|
- lib
|
@@ -189,8 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
186
|
- !ruby/object:Gem::Version
|
190
187
|
version: '0'
|
191
188
|
requirements: []
|
192
|
-
rubygems_version: 3.
|
193
|
-
signing_key:
|
189
|
+
rubygems_version: 3.6.2
|
194
190
|
specification_version: 4
|
195
191
|
summary: Ruby Style Guide, with linter & automatic code fixer
|
196
192
|
test_files: []
|