standard 1.42.1 → 1.44.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/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +7 -1
- data/Gemfile.lock +12 -12
- data/README.md +1 -0
- data/config/base.yml +27 -0
- data/config/ruby-1.9.yml +3 -0
- data/lib/ruby_lsp/standard/addon.rb +1 -1
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +2 -2
- metadata +7 -11
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,12 +1,12 @@
|
|
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
|
-
standard-performance (~> 1.
|
9
|
+
standard-performance (~> 1.6)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
@@ -33,20 +33,20 @@ GEM
|
|
33
33
|
rake (13.0.6)
|
34
34
|
rbs (3.5.2)
|
35
35
|
logger
|
36
|
-
regexp_parser (2.
|
37
|
-
rubocop (1.
|
36
|
+
regexp_parser (2.9.3)
|
37
|
+
rubocop (1.70.0)
|
38
38
|
json (~> 2.3)
|
39
39
|
language_server-protocol (>= 3.17.0)
|
40
40
|
parallel (~> 1.10)
|
41
41
|
parser (>= 3.3.0.2)
|
42
42
|
rainbow (>= 2.2.2, < 4.0)
|
43
|
-
regexp_parser (>= 2.
|
44
|
-
rubocop-ast (>= 1.
|
43
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
44
|
+
rubocop-ast (>= 1.36.2, < 2.0)
|
45
45
|
ruby-progressbar (~> 1.7)
|
46
|
-
unicode-display_width (>= 2.4.0, <
|
47
|
-
rubocop-ast (1.
|
46
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
47
|
+
rubocop-ast (1.36.2)
|
48
48
|
parser (>= 3.3.1.0)
|
49
|
-
rubocop-performance (1.
|
49
|
+
rubocop-performance (1.23.0)
|
50
50
|
rubocop (>= 1.48.1, < 2.0)
|
51
51
|
rubocop-ast (>= 1.31.1, < 2.0)
|
52
52
|
ruby-lsp (0.17.7)
|
@@ -65,9 +65,9 @@ GEM
|
|
65
65
|
standard-custom (1.0.2)
|
66
66
|
lint_roller (~> 1.0)
|
67
67
|
rubocop (~> 1.50)
|
68
|
-
standard-performance (1.
|
68
|
+
standard-performance (1.6.0)
|
69
69
|
lint_roller (~> 1.1)
|
70
|
-
rubocop-performance (~> 1.
|
70
|
+
rubocop-performance (~> 1.23.0)
|
71
71
|
unicode-display_width (2.5.0)
|
72
72
|
|
73
73
|
PLATFORMS
|
data/README.md
CHANGED
@@ -160,6 +160,7 @@ We've added a number of editing guides for getting started:
|
|
160
160
|
- [emacs](https://www.flycheck.org/en/latest/languages.html#syntax-checker-ruby-standard)
|
161
161
|
- [Helix](https://github.com/helix-editor/helix/wiki/External-formatter-configuration#standardrb)
|
162
162
|
- [Atom](https://github.com/standardrb/standard/wiki/IDE:-Atom)
|
163
|
+
- [Nova](https://codeberg.org/edwardloveall/nova-standard)
|
163
164
|
|
164
165
|
If you'd like to help by creating a guide, please draft one [in an
|
165
166
|
issue](https://github.com/standardrb/standard/issues/new) and we'll get it
|
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
|
|
@@ -570,6 +573,9 @@ Lint/FormatParameterMismatch:
|
|
570
573
|
Lint/HashCompareByIdentity:
|
571
574
|
Enabled: false
|
572
575
|
|
576
|
+
Lint/HashNewWithKeywordArgumentsAsDefault:
|
577
|
+
Enabled: true
|
578
|
+
|
573
579
|
Lint/HeredocMethodCallPosition:
|
574
580
|
Enabled: false
|
575
581
|
|
@@ -653,6 +659,9 @@ Lint/NumberConversion:
|
|
653
659
|
Lint/NumberedParameterAssignment:
|
654
660
|
Enabled: true
|
655
661
|
|
662
|
+
Lint/NumericOperationWithConstantResult:
|
663
|
+
Enabled: false
|
664
|
+
|
656
665
|
Lint/OrAssignmentToConstant:
|
657
666
|
Enabled: true
|
658
667
|
|
@@ -771,6 +780,9 @@ Lint/ShadowedException:
|
|
771
780
|
Lint/ShadowingOuterLocalVariable:
|
772
781
|
Enabled: false
|
773
782
|
|
783
|
+
Lint/SharedMutableDefault:
|
784
|
+
Enabled: true
|
785
|
+
|
774
786
|
Lint/StructNewOverride:
|
775
787
|
Enabled: false
|
776
788
|
|
@@ -837,6 +849,9 @@ Lint/UselessAccessModifier:
|
|
837
849
|
Lint/UselessAssignment:
|
838
850
|
Enabled: true
|
839
851
|
|
852
|
+
Lint/UselessDefined:
|
853
|
+
Enabled: true
|
854
|
+
|
840
855
|
Lint/UselessElseWithoutRescue:
|
841
856
|
Enabled: false
|
842
857
|
|
@@ -1119,6 +1134,9 @@ Style/DateTime:
|
|
1119
1134
|
Style/DefWithParentheses:
|
1120
1135
|
Enabled: true
|
1121
1136
|
|
1137
|
+
Style/DigChain:
|
1138
|
+
Enabled: true
|
1139
|
+
|
1122
1140
|
Style/Dir:
|
1123
1141
|
Enabled: true
|
1124
1142
|
|
@@ -1208,9 +1226,15 @@ Style/FetchEnvVar:
|
|
1208
1226
|
Style/FileEmpty:
|
1209
1227
|
Enabled: false
|
1210
1228
|
|
1229
|
+
Style/FileNull:
|
1230
|
+
Enabled: true
|
1231
|
+
|
1211
1232
|
Style/FileRead:
|
1212
1233
|
Enabled: true
|
1213
1234
|
|
1235
|
+
Style/FileTouch:
|
1236
|
+
Enabled: false
|
1237
|
+
|
1214
1238
|
Style/FileWrite:
|
1215
1239
|
Enabled: true
|
1216
1240
|
|
@@ -1305,6 +1329,9 @@ Style/InvertibleUnlessCondition:
|
|
1305
1329
|
Style/IpAddresses:
|
1306
1330
|
Enabled: false
|
1307
1331
|
|
1332
|
+
Style/ItAssignment:
|
1333
|
+
Enabled: true
|
1334
|
+
|
1308
1335
|
Style/KeywordArgumentsMerging:
|
1309
1336
|
Enabled: false
|
1310
1337
|
|
data/config/ruby-1.9.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,11 +21,11 @@ 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"
|
28
|
-
spec.add_dependency "standard-performance", "~> 1.
|
28
|
+
spec.add_dependency "standard-performance", "~> 1.6"
|
29
29
|
|
30
30
|
# not semver: first three are lsp protocol version, last is patch
|
31
31
|
spec.add_dependency "language_server-protocol", "~> 3.17.0.2"
|
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
|
@@ -58,14 +57,14 @@ dependencies:
|
|
58
57
|
requirements:
|
59
58
|
- - "~>"
|
60
59
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1.
|
60
|
+
version: '1.6'
|
62
61
|
type: :runtime
|
63
62
|
prerelease: false
|
64
63
|
version_requirements: !ruby/object:Gem::Requirement
|
65
64
|
requirements:
|
66
65
|
- - "~>"
|
67
66
|
- !ruby/object:Gem::Version
|
68
|
-
version: '1.
|
67
|
+
version: '1.6'
|
69
68
|
- !ruby/object:Gem::Dependency
|
70
69
|
name: language_server-protocol
|
71
70
|
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: []
|