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 +4 -4
- data/.github/dependabot.yml +20 -0
- data/Gemfile.lock +12 -10
- data/lib/smart_todo/version.rb +1 -1
- data/lib/smart_todo_cop.rb +2 -2
- metadata +4 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d203126f1877df2db5e717ea31690fc81f42efe1da8c3286ac619e946f6bd75
|
4
|
+
data.tar.gz: cd9e9bbc4ab3a93db418d16296a9c634f55b571ad5dfe159ed8b25b6ec37cc22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
11
|
-
public_suffix (>= 2.0.2, <
|
10
|
+
addressable (2.8.7)
|
11
|
+
public_suffix (>= 2.0.2, < 7.0)
|
12
12
|
ast (2.4.2)
|
13
|
-
|
13
|
+
bigdecimal (3.1.9)
|
14
|
+
crack (1.0.0)
|
15
|
+
bigdecimal
|
14
16
|
rexml
|
15
|
-
hashdiff (1.
|
17
|
+
hashdiff (1.1.2)
|
16
18
|
json (2.7.1)
|
17
19
|
language_server-protocol (3.17.0.3)
|
18
|
-
minitest (5.
|
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 (
|
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.
|
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.
|
48
|
-
addressable (>= 2.
|
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
|
|
data/lib/smart_todo/version.rb
CHANGED
data/lib/smart_todo_cop.rb
CHANGED
@@ -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 <
|
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
|
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.
|
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:
|
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.
|
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: []
|