smart_todo 1.9.0 → 1.9.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: 170d33c5c9e48fbfe0ee1507a0f3f2ead41a6c931f25730205e62451cabe4eec
4
- data.tar.gz: 1f549b5af2613e3ea18cb42e00c01c97edf2d0f48ccf0b25d47a4695798ce945
3
+ metadata.gz: 8d203126f1877df2db5e717ea31690fc81f42efe1da8c3286ac619e946f6bd75
4
+ data.tar.gz: cd9e9bbc4ab3a93db418d16296a9c634f55b571ad5dfe159ed8b25b6ec37cc22
5
5
  SHA512:
6
- metadata.gz: f51affefbc4906000a4e767d8d610f609e627a51258ae249b186e231e67e531d165fa03a0a7385e50b7ef8d96ea3f990c7cc98f42cb1519f2d94f82f24c54e72
7
- data.tar.gz: a4d608772b81419a7c5d46a14b11ed4b862ce5f22c67c39d64dca9b1aa8c54a88e6e5256c5527ca5b9bb940dd9c5fd565ca9cca42566383b1f27c9c1ee692d61
6
+ metadata.gz: 89fc8bb08ed5ea7be2590b8bcfc38bd2e5cc75e2da96c200b70a4a7308a77b2ab2592d8190433d1d9a97e649e20f2bc6a965fb48161223e9b3d9d93e32ae4c30
7
+ data.tar.gz: cc43abab984dfb7bfd1c97fdcfb0ea7bf045522ee328f46527fb15cfe899e64bd62ead2f63a9a5135f881a4ad757d84948aea23f7a89271e314241a5d8d3e9cf
@@ -0,0 +1,20 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "bundler"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
7
+ labels:
8
+ - "dependencies"
9
+ groups:
10
+ minor-and-patch:
11
+ update-types:
12
+ - "minor"
13
+ - "patch"
14
+ open-pull-requests-limit: 100
15
+ - package-ecosystem: "github-actions"
16
+ directory: "/"
17
+ schedule:
18
+ interval: "weekly"
19
+ labels:
20
+ - "dependencies"
data/Gemfile.lock CHANGED
@@ -1,32 +1,34 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smart_todo (1.9.0)
4
+ smart_todo (1.9.1)
5
5
  prism (~> 1.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- addressable (2.8.0)
11
- public_suffix (>= 2.0.2, < 5.0)
10
+ addressable (2.8.7)
11
+ public_suffix (>= 2.0.2, < 7.0)
12
12
  ast (2.4.2)
13
- crack (0.4.5)
13
+ bigdecimal (3.1.9)
14
+ crack (1.0.0)
15
+ bigdecimal
14
16
  rexml
15
- hashdiff (1.0.1)
17
+ hashdiff (1.1.2)
16
18
  json (2.7.1)
17
19
  language_server-protocol (3.17.0.3)
18
- minitest (5.14.4)
20
+ minitest (5.25.4)
19
21
  parallel (1.24.0)
20
22
  parser (3.3.0.5)
21
23
  ast (~> 2.4.1)
22
24
  racc
23
25
  prism (1.0.0)
24
- public_suffix (4.0.6)
26
+ public_suffix (6.0.1)
25
27
  racc (1.7.3)
26
28
  rainbow (3.1.1)
27
29
  rake (13.0.6)
28
30
  regexp_parser (2.9.0)
29
- rexml (3.2.6)
31
+ rexml (3.4.0)
30
32
  rubocop (1.62.1)
31
33
  json (~> 2.3)
32
34
  language_server-protocol (>= 3.17.0)
@@ -44,8 +46,8 @@ GEM
44
46
  rubocop (~> 1.51)
45
47
  ruby-progressbar (1.13.0)
46
48
  unicode-display_width (2.5.0)
47
- webmock (3.11.2)
48
- addressable (>= 2.3.6)
49
+ webmock (3.24.0)
50
+ addressable (>= 2.8.0)
49
51
  crack (>= 0.3.2)
50
52
  hashdiff (>= 0.4.0, < 2.0.0)
51
53
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SmartTodo
4
- VERSION = "1.9.0"
4
+ VERSION = "1.9.1"
5
5
  end
@@ -9,13 +9,13 @@ module RuboCop
9
9
  # This Cop does not run by default. It should be added to the RuboCop host's configuration file.
10
10
  #
11
11
  # @see https://rubocop.readthedocs.io/en/latest/extensions/#loading-extensions
12
- class SmartTodoCop < Cop
12
+ class SmartTodoCop < Base
13
13
  HELP = "For more info please look at https://github.com/Shopify/smart_todo/wiki/Syntax"
14
14
  MSG = "Don't write regular TODO comments. Write SmartTodo compatible syntax comments. #{HELP}"
15
15
 
16
16
  # @param processed_source [RuboCop::ProcessedSource]
17
17
  # @return [void]
18
- def investigate(processed_source)
18
+ def on_new_investigation
19
19
  processed_source.comments.each do |comment|
20
20
  next unless /^#\sTODO/.match?(comment.text)
21
21
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_todo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-08-29 00:00:00.000000000 Z
10
+ date: 2025-02-04 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: prism
@@ -92,6 +91,7 @@ extensions: []
92
91
  extra_rdoc_files: []
93
92
  files:
94
93
  - ".devcontainer/devcontainer.json"
94
+ - ".github/dependabot.yml"
95
95
  - ".github/workflows/build.yml"
96
96
  - ".github/workflows/cla.yml"
97
97
  - ".github/workflows/rubocop.yml"
@@ -133,7 +133,6 @@ metadata:
133
133
  source_code_uri: https://github.com/shopify/smart_todo
134
134
  changelog_uri: https://github.com/shopify/smart_todo/releases
135
135
  allowed_push_host: https://rubygems.org
136
- post_install_message:
137
136
  rdoc_options: []
138
137
  require_paths:
139
138
  - lib
@@ -148,8 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
147
  - !ruby/object:Gem::Version
149
148
  version: '0'
150
149
  requirements: []
151
- rubygems_version: 3.5.17
152
- signing_key:
150
+ rubygems_version: 3.6.3
153
151
  specification_version: 4
154
152
  summary: Enhance todo's comments in your codebase.
155
153
  test_files: []