standard 1.32.0 → 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: 06be5bec519e9ecb1ce36e61736d8e23ac6290f46c9c7f28a49e75e615377491
4
- data.tar.gz: e2a4ecedee742279718f8709ac7e99aa4898a2a4707a44de85a89a89dd83b897
3
+ metadata.gz: cc2fe16b90280011abe341a176a2f3214c6c4c05955a013b6b536534fdfd1c9e
4
+ data.tar.gz: 4b7bf51389d3d612127ececff2f798069de5b61863cad426d3209ee064e17158
5
5
  SHA512:
6
- metadata.gz: a47ae405579c9c39605cc0fe583b725923d71839c5344277140c45f0b8987404e3641553d9d084f239de17118eea08a729cee6003a14c684fd8f028f1199c5d2
7
- data.tar.gz: e5fb5f657b7f41155707be28e77975683a97a7f02056d5d4d99ac442876c6a922d56ed7986b4cfee7bee0660719cb1611dc1dc8e27084efc648d27e744847042
6
+ metadata.gz: 4bbe989b44bdca0fe39287c04acd3a73f7df88e4262c7508d8dabdd1a8fa75315a9feaa937f7c2f1bf321c00d5835d422cea2657c5b438f53c283607cb52d176
7
+ data.tar.gz: a8fa56f7eb9f0a2260b7831c08c23138ba12d8463d2815989d3fa3a86acb5dc1fff64400236e753f57554e036d0c00c17ad8740495b819b9a4b8fa9be6645707
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ## 1.32.0
4
8
 
5
9
  * Updates rubocop to [1.57.2](https://github.com/rubocop/rubocop/releases/tag/v1.57.2)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.32.0)
4
+ standard (1.32.1)
5
5
  language_server-protocol (~> 3.17.0.2)
6
6
  lint_roller (~> 1.0)
7
7
  rubocop (~> 1.57.2)
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/)
@@ -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.32.0")
2
+ VERSION = Gem::Version.new("1.32.1")
3
3
  end
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.32.0
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-11-07 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
@@ -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: []