standard 1.28.4 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 336a74c43a1586b848e35590fa8a7fe902d9b43ad673decdb5fb0df757cbc143
4
- data.tar.gz: 8259654132f8c8340d84b4f06f91411704ee372c73c2e55b4ffcc8fd61d3ac65
3
+ metadata.gz: d0beb51ce9976fc9de3f3daad988e62190aaf87c9641850bcd6f0b0e2503745b
4
+ data.tar.gz: 94cffff45294c2b64124c0b655fbe448d314e5bd1aa7d30dbde08f75326ff413
5
5
  SHA512:
6
- metadata.gz: 7f48f8174a34e6131fd321c6d55b4f2344620449f7856dc1c3047f55912c740930391730d797cbc2046ee5f30fa181f227ae54cb94b70c19c8a09a6be0445312
7
- data.tar.gz: '08df5f51287d8540393352a60f0e8bca80c2270e1d10703ff338ed9964447f32480966ecbf48bb441f30a596920370c9a70c69aebba2c6a8af33e3d05e16f6c6'
6
+ metadata.gz: e5a7d941184da2cc685816c9f1b7a895686b4c915502455e6576a317d1451f3eb2cf696d9891c835a2e929c090053d25450da8548f6efd95043de114b5a36441
7
+ data.tar.gz: 0efce415cf6e84eff032d114ee0c25de76cf964c56359c1e018325c6d4dfb8c2de0afca63549ba6754fff18825fd50151018fee4bc3c95d78d3c7213dfb7f083
@@ -16,7 +16,7 @@ jobs:
16
16
  strategy:
17
17
  matrix:
18
18
  os: [ubuntu-latest]
19
- ruby-version: [2.6, 2.7, '3.0', 3.1, 3.2, head]
19
+ ruby-version: [2.7, '3.0', 3.1, 3.2, head]
20
20
 
21
21
  runs-on: ${{ matrix.os }}
22
22
 
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.29.0
4
+
5
+ * Updates standard-performance to [1.1.0](https://github.com/standardrb/standard-performacne/releases/tag/v1.1.0)
6
+ * Updates rubocop to [1.52.0](https://github.com/rubocop/rubocop/releases/tag/v1.52.0)
7
+ * Enables Style/ExactRegexpMatch, Style/RedundantArrayConstructor, Style/RedundantFilterChain, Style/RedundantRegexpConstructor
8
+
9
+ ## 1.28.5
10
+
11
+ * Make LSP behave more nicely with nvim-lspconfig [#564](https://github.com/standardrb/standard/pull/564)
12
+
3
13
  ## 1.28.4
4
14
 
5
15
  * Fix [standard-rails#7](https://github.com/standardrb/standard-rails/issues/7#issuecomment-1563505365)
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.28.4)
4
+ standard (1.29.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
6
  lint_roller (~> 1.0)
7
- rubocop (~> 1.50.2)
7
+ rubocop (~> 1.52.0)
8
8
  standard-custom (~> 1.0.0)
9
- standard-performance (~> 1.0.1)
9
+ standard-performance (~> 1.1.0)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
@@ -29,7 +29,7 @@ GEM
29
29
  rake (13.0.6)
30
30
  regexp_parser (2.8.0)
31
31
  rexml (3.2.5)
32
- rubocop (1.50.2)
32
+ rubocop (1.52.0)
33
33
  json (~> 2.3)
34
34
  parallel (~> 1.10)
35
35
  parser (>= 3.2.0.0)
@@ -39,9 +39,9 @@ GEM
39
39
  rubocop-ast (>= 1.28.0, < 2.0)
40
40
  ruby-progressbar (~> 1.7)
41
41
  unicode-display_width (>= 2.4.0, < 3.0)
42
- rubocop-ast (1.28.1)
42
+ rubocop-ast (1.29.0)
43
43
  parser (>= 3.2.1.0)
44
- rubocop-performance (1.16.0)
44
+ rubocop-performance (1.18.0)
45
45
  rubocop (>= 1.7.0, < 2.0)
46
46
  rubocop-ast (>= 0.4.0)
47
47
  ruby-progressbar (1.13.0)
@@ -53,9 +53,9 @@ GEM
53
53
  simplecov_json_formatter (0.1.4)
54
54
  standard-custom (1.0.0)
55
55
  lint_roller (~> 1.0)
56
- standard-performance (1.0.1)
56
+ standard-performance (1.1.0)
57
57
  lint_roller (~> 1.0)
58
- rubocop-performance (~> 1.16.0)
58
+ rubocop-performance (~> 1.18.0)
59
59
  unicode-display_width (2.4.2)
60
60
 
61
61
  PLATFORMS
data/config/base.yml CHANGED
@@ -1153,6 +1153,8 @@ Style/EvalWithLocation:
1153
1153
  Style/EvenOdd:
1154
1154
  Enabled: false
1155
1155
 
1156
+ Style/ExactRegexpMatch:
1157
+ Enabled: true
1156
1158
  Style/ExpandPathArguments:
1157
1159
  Enabled: false
1158
1160
 
@@ -1498,6 +1500,9 @@ Style/RandomWithOffset:
1498
1500
  Style/RedundantArgument:
1499
1501
  Enabled: false
1500
1502
 
1503
+ Style/RedundantArrayConstructor:
1504
+ Enabled: true
1505
+
1501
1506
  Style/RedundantAssignment:
1502
1507
  Enabled: true
1503
1508
 
@@ -1531,6 +1536,9 @@ Style/RedundantFetchBlock:
1531
1536
  Style/RedundantFileExtensionInRequire:
1532
1537
  Enabled: true
1533
1538
 
1539
+ Style/RedundantFilterChain:
1540
+ Enabled: false
1541
+
1534
1542
  Style/RedundantFreeze:
1535
1543
  Enabled: true
1536
1544
 
@@ -1555,6 +1563,9 @@ Style/RedundantPercentQ:
1555
1563
  Style/RedundantRegexpCharacterClass:
1556
1564
  Enabled: true
1557
1565
 
1566
+ Style/RedundantRegexpConstructor:
1567
+ Enabled: true
1568
+
1558
1569
  Style/RedundantRegexpEscape:
1559
1570
  Enabled: true
1560
1571
 
data/config/ruby-1.9.yml CHANGED
@@ -5,3 +5,7 @@ Style/Encoding:
5
5
 
6
6
  Style/HashConversion:
7
7
  Enabled: false
8
+
9
+ # Percent delimiters are not supported until Ruby 2.0
10
+ Style/PercentLiteralDelimiters:
11
+ Enabled: false
@@ -75,6 +75,10 @@ module Standard
75
75
  @writer.write({id: request[:id], result: format_file(uri)})
76
76
  end
77
77
 
78
+ handle "workspace/didChangeConfiguration" do |_request|
79
+ @logger.puts "Ignoring workspace/didChangeConfiguration"
80
+ end
81
+
78
82
  handle "workspace/didChangeWatchedFiles" do |request|
79
83
  if request[:params][:changes].any? { |change| change[:uri].end_with?(".standard.yml") }
80
84
  @logger.puts "Configuration file changed; restart required"
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.28.4")
2
+ VERSION = Gem::Version.new("1.29.0")
3
3
  end
data/standard.gemspec CHANGED
@@ -23,11 +23,11 @@ Gem::Specification.new do |spec|
23
23
  spec.require_paths = ["lib"]
24
24
  spec.metadata["rubygems_mfa_required"] = "true"
25
25
 
26
- spec.add_dependency "rubocop", "~> 1.50.2"
26
+ spec.add_dependency "rubocop", "~> 1.52.0"
27
27
 
28
28
  spec.add_dependency "lint_roller", "~> 1.0"
29
29
  spec.add_dependency "standard-custom", "~> 1.0.0"
30
- spec.add_dependency "standard-performance", "~> 1.0.1"
30
+ spec.add_dependency "standard-performance", "~> 1.1.0"
31
31
 
32
32
  # not semver: first three are lsp protocol version, last is patch
33
33
  spec.add_dependency "language_server-protocol", "~> 3.17.0.2"
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.28.4
4
+ version: 1.29.0
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-05-26 00:00:00.000000000 Z
11
+ date: 2023-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.50.2
19
+ version: 1.52.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.50.2
26
+ version: 1.52.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: lint_roller
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.0.1
61
+ version: 1.1.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.0.1
68
+ version: 1.1.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: language_server-protocol
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 3.17.0.2
83
- description:
83
+ description:
84
84
  email:
85
85
  - searls@gmail.com
86
86
  executables:
@@ -167,7 +167,7 @@ metadata:
167
167
  source_code_uri: https://github.com/standardrb/standard
168
168
  changelog_uri: https://github.com/standardrb/standard/blob/main/CHANGELOG.md
169
169
  rubygems_mfa_required: 'true'
170
- post_install_message:
170
+ post_install_message:
171
171
  rdoc_options: []
172
172
  require_paths:
173
173
  - lib
@@ -182,8 +182,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  - !ruby/object:Gem::Version
183
183
  version: '0'
184
184
  requirements: []
185
- rubygems_version: 3.4.10
186
- signing_key:
185
+ rubygems_version: 3.1.6
186
+ signing_key:
187
187
  specification_version: 4
188
188
  summary: Ruby Style Guide, with linter & automatic code fixer
189
189
  test_files: []