standard 1.31.2 → 1.32.1

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: ff1662e1a50bb257c6717c09c7e8d44dd3c4f810c46bcfce151fc6ec4cba4f1d
4
- data.tar.gz: dd2e2ae6bb5394c05e8b6821c74739cc45c249f370a7f1b57d7374413c490d57
3
+ metadata.gz: cc2fe16b90280011abe341a176a2f3214c6c4c05955a013b6b536534fdfd1c9e
4
+ data.tar.gz: 4b7bf51389d3d612127ececff2f798069de5b61863cad426d3209ee064e17158
5
5
  SHA512:
6
- metadata.gz: a313836f54681eb73ab82e6b3291f4663ecbe18a57d05ba4107386b6969af0af7d86fa08277ed0a18aa7bddf02dc56a5b90e6e0f2aeb873735e1899c913eb411
7
- data.tar.gz: 2a37da0c2145fa0e7e48c120051ce30238aba1cd17080ae9c9ae6f7273671cef546a77cc7d804c015648c3fa95a632aa1b5b6d420a3d32f46ce7b5a21ec50a15
6
+ metadata.gz: 4bbe989b44bdca0fe39287c04acd3a73f7df88e4262c7508d8dabdd1a8fa75315a9feaa937f7c2f1bf321c00d5835d422cea2657c5b438f53c283607cb52d176
7
+ data.tar.gz: a8fa56f7eb9f0a2260b7831c08c23138ba12d8463d2815989d3fa3a86acb5dc1fff64400236e753f57554e036d0c00c17ad8740495b819b9a4b8fa9be6645707
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.32.1
4
+
5
+ * Fixes regeneration of TODO files ot avoid missing already-ignored rules [#587](https://github.com/standardrb/standard/pull/587)
6
+
7
+ ## 1.32.0
8
+
9
+ * Updates rubocop to [1.57.2](https://github.com/rubocop/rubocop/releases/tag/v1.57.2)
10
+
3
11
  ## 1.31.2
4
12
 
5
13
  * Updates rubocop to [1.52.4](https://github.com/rubocop/rubocop/releases/tag/v1.52.4)
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.31.2)
4
+ standard (1.32.1)
5
5
  language_server-protocol (~> 3.17.0.2)
6
6
  lint_roller (~> 1.0)
7
- rubocop (~> 1.56.4)
7
+ rubocop (~> 1.57.2)
8
8
  standard-custom (~> 1.0.0)
9
9
  standard-performance (~> 1.2)
10
10
 
@@ -12,17 +12,16 @@ GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
14
  ast (2.4.2)
15
- base64 (0.1.1)
16
15
  docile (1.4.0)
17
16
  gimme (0.5.0)
18
17
  json (2.6.3)
19
18
  language_server-protocol (3.17.0.3)
20
19
  lint_roller (1.1.0)
21
- m (1.6.1)
20
+ m (1.6.2)
22
21
  method_source (>= 0.6.7)
23
22
  rake (>= 0.9.2.2)
24
23
  method_source (1.0.0)
25
- minitest (5.19.0)
24
+ minitest (5.20.0)
26
25
  parallel (1.23.0)
27
26
  parser (3.2.2.4)
28
27
  ast (~> 2.4.1)
@@ -32,12 +31,11 @@ GEM
32
31
  rake (13.0.6)
33
32
  regexp_parser (2.8.2)
34
33
  rexml (3.2.6)
35
- rubocop (1.56.4)
36
- base64 (~> 0.1.1)
34
+ rubocop (1.57.2)
37
35
  json (~> 2.3)
38
36
  language_server-protocol (>= 3.17.0)
39
37
  parallel (~> 1.10)
40
- parser (>= 3.2.2.3)
38
+ parser (>= 3.2.2.4)
41
39
  rainbow (>= 2.2.2, < 4.0)
42
40
  regexp_parser (>= 1.8, < 3.0)
43
41
  rexml (>= 3.2.5, < 4.0)
@@ -78,4 +76,4 @@ DEPENDENCIES
78
76
  standard!
79
77
 
80
78
  BUNDLED WITH
81
- 2.3.26
79
+ 2.4.21
data/README.md CHANGED
@@ -494,6 +494,7 @@ Here are a few examples of Ruby Standard-compliant teams & projects:
494
494
  * [Rebase Interactive](https://www.rebaseinteractive.com/)
495
495
  * [Renuo](https://www.renuo.ch/)
496
496
  * [RubyCI](https://ruby.ci)
497
+ * [SearchApi](https://www.searchapi.io/)
497
498
  * [Spinal](https://spinalcms.com/)
498
499
  * [Teamtailor](https://www.teamtailor.com/)
499
500
  * [thoughtbot](https://thoughtbot.com/)
data/config/base.yml CHANGED
@@ -1659,6 +1659,9 @@ Style/SingleArgumentDig:
1659
1659
  Style/SingleLineBlockParams:
1660
1660
  Enabled: false
1661
1661
 
1662
+ Style/SingleLineDoEndBlock:
1663
+ Enabled: false
1664
+
1662
1665
  Style/SingleLineMethods:
1663
1666
  Enabled: true
1664
1667
  AllowIfMethodIsEmpty: false
@@ -15,7 +15,13 @@ module Standard
15
15
 
16
16
  def call(argv, search_path = Dir.pwd)
17
17
  standard_yaml_path = @resolves_yaml_option.call(argv, search_path, "--config", ".standard.yml")
18
- todo_yaml_path = @resolves_yaml_option.call(argv, search_path, "--todo", ".standard_todo.yml")
18
+
19
+ # Don't load the existing todo file when generating a new todo file. Otherwise the
20
+ # new todo file won't have the ignore rules in the existing file.
21
+ todo_yaml_path = unless argv.include?("--generate-todo")
22
+ @resolves_yaml_option.call(argv, search_path, "--todo", ".standard_todo.yml")
23
+ end
24
+
19
25
  standard_config = @loads_yaml_config.call(standard_yaml_path, todo_yaml_path)
20
26
 
21
27
  settings = @merges_settings.call(argv, standard_config)
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.31.2")
2
+ VERSION = Gem::Version.new("1.32.1")
3
3
  end
data/standard.gemspec CHANGED
@@ -23,7 +23,7 @@ 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.56.4"
26
+ spec.add_dependency "rubocop", "~> 1.57.2"
27
27
 
28
28
  spec.add_dependency "lint_roller", "~> 1.0"
29
29
  spec.add_dependency "standard-custom", "~> 1.0.0"
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.31.2
4
+ version: 1.32.1
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-10-10 00:00:00.000000000 Z
11
+ date: 2023-12-04 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.56.4
19
+ version: 1.57.2
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.56.4
26
+ version: 1.57.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: lint_roller
29
29
  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:
@@ -168,7 +168,7 @@ metadata:
168
168
  source_code_uri: https://github.com/standardrb/standard
169
169
  changelog_uri: https://github.com/standardrb/standard/blob/main/CHANGELOG.md
170
170
  rubygems_mfa_required: 'true'
171
- post_install_message:
171
+ post_install_message:
172
172
  rdoc_options: []
173
173
  require_paths:
174
174
  - lib
@@ -183,8 +183,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0'
185
185
  requirements: []
186
- rubygems_version: 3.1.6
187
- signing_key:
186
+ rubygems_version: 3.4.21
187
+ signing_key:
188
188
  specification_version: 4
189
189
  summary: Ruby Style Guide, with linter & automatic code fixer
190
190
  test_files: []