standard 1.43.0 → 1.44.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 +4 -0
- data/Gemfile.lock +3 -3
- data/config/base.yml +9 -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: '04918992d9b58c817d0721df32755f11ab74f786a53677107c27948b8a4cf622'
|
4
|
+
data.tar.gz: ae1b3e3635588893ac5ef45915c93d3b56ab70c0e3c20638842a69835cee2243
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dacde9282ca5358769cf0118da0a07c5e20ec53306ef83988d36c57ed05508ce1cad69be57d55b1a7bfda88300207133190d9cd150c9d6d229ecd58c273d7fcb
|
7
|
+
data.tar.gz: 8cae0bfd2fe8aeb55987fbeb64362ed7a15422ce44bda5f6d615f7ce792571cd6ed8b450423f00b77f218ce0c456cd48a095d08012578d1fee679e0533401719
|
data/.github/workflows/test.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
standard (1.
|
4
|
+
standard (1.44.0)
|
5
5
|
language_server-protocol (~> 3.17.0.2)
|
6
6
|
lint_roller (~> 1.0)
|
7
|
-
rubocop (~> 1.
|
7
|
+
rubocop (~> 1.70.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.70.0)
|
38
38
|
json (~> 2.3)
|
39
39
|
language_server-protocol (>= 3.17.0)
|
40
40
|
parallel (~> 1.10)
|
data/config/base.yml
CHANGED
@@ -464,6 +464,9 @@ Lint/ConstantDefinitionInBlock:
|
|
464
464
|
Lint/ConstantOverwrittenInRescue:
|
465
465
|
Enabled: true
|
466
466
|
|
467
|
+
Lint/ConstantReassignment:
|
468
|
+
Enabled: true
|
469
|
+
|
467
470
|
Lint/ConstantResolution:
|
468
471
|
Enabled: false
|
469
472
|
|
@@ -777,6 +780,9 @@ Lint/ShadowedException:
|
|
777
780
|
Lint/ShadowingOuterLocalVariable:
|
778
781
|
Enabled: false
|
779
782
|
|
783
|
+
Lint/SharedMutableDefault:
|
784
|
+
Enabled: true
|
785
|
+
|
780
786
|
Lint/StructNewOverride:
|
781
787
|
Enabled: false
|
782
788
|
|
@@ -1323,6 +1329,9 @@ Style/InvertibleUnlessCondition:
|
|
1323
1329
|
Style/IpAddresses:
|
1324
1330
|
Enabled: false
|
1325
1331
|
|
1332
|
+
Style/ItAssignment:
|
1333
|
+
Enabled: true
|
1334
|
+
|
1326
1335
|
Style/KeywordArgumentsMerging:
|
1327
1336
|
Enabled: false
|
1328
1337
|
|
@@ -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.70.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.44.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-01-14 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.70.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.70.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: []
|