todo_agent 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +3 -0
- data/.github/workflows/standard.rb +13 -0
- data/.github/workflows/tests.yml +19 -0
- data/.story_branch.yml +1 -1
- data/Gemfile +0 -5
- data/Gemfile.lock +38 -37
- data/lib/todo_agent/command.rb +1 -1
- data/lib/todo_agent/parsers/ruby.rb +1 -1
- data/lib/todo_agent/version.rb +1 -1
- data/todo_agent.gemspec +14 -6
- metadata +72 -12
- data/.rubocop.yml +0 -49
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f06b75e7c7eff9b14267f20d3f2bb6c2fa066a6307c17ebfd795a6f10bc0f7e
|
4
|
+
data.tar.gz: f8c8f8a9242a5716026476a4b547ef3ead29835f863ad2531116072cb24fcb99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f833add3700dd7fd2e769313b59dfa27c3f51a36021ee7a1ce424647bab472ade2f43f09f67fa0a53fec46f4fccd47d1517bf9425d906f1de65e8ccd6d925070
|
7
|
+
data.tar.gz: bdc004473a275ccc0b326584817b2cd6d5a894f26b8691f45bbe81a69336b6b294218aa55b1fbdf8976c0323da3f689b1ce0098cdb1148303a5b2f3aa6d44416
|
data/.github/FUNDING.yml
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on: [push]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
test:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
steps:
|
9
|
+
- name: Checkout
|
10
|
+
uses: actions/checkout@v3
|
11
|
+
|
12
|
+
- name: Setup Ruby
|
13
|
+
uses: ruby/setup-ruby@v1
|
14
|
+
with:
|
15
|
+
ruby-version: 2.7
|
16
|
+
bundler-cache: true
|
17
|
+
|
18
|
+
- name: Run tests
|
19
|
+
run: bundle exec rake test
|
data/.story_branch.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,56 +1,57 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
todo_agent (0.1.
|
4
|
+
todo_agent (0.1.1)
|
5
|
+
thor (~> 1.2)
|
5
6
|
|
6
7
|
GEM
|
7
8
|
remote: https://rubygems.org/
|
8
9
|
specs:
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
ansi (1.5.0)
|
11
|
+
ast (2.4.2)
|
12
|
+
builder (3.2.4)
|
13
|
+
json (2.6.2)
|
14
|
+
minitest (5.16.2)
|
15
|
+
minitest-reporters (1.5.0)
|
16
|
+
ansi
|
17
|
+
builder
|
18
|
+
minitest (>= 5.0)
|
19
|
+
ruby-progressbar
|
20
|
+
parallel (1.22.1)
|
21
|
+
parser (3.1.2.1)
|
14
22
|
ast (~> 2.4.1)
|
15
|
-
rainbow (3.
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
rspec-core (~> 3.9.0)
|
21
|
-
rspec-expectations (~> 3.9.0)
|
22
|
-
rspec-mocks (~> 3.9.0)
|
23
|
-
rspec-core (3.9.2)
|
24
|
-
rspec-support (~> 3.9.3)
|
25
|
-
rspec-expectations (3.9.2)
|
26
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
27
|
-
rspec-support (~> 3.9.0)
|
28
|
-
rspec-mocks (3.9.1)
|
29
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
30
|
-
rspec-support (~> 3.9.0)
|
31
|
-
rspec-support (3.9.3)
|
32
|
-
rubocop (0.88.0)
|
23
|
+
rainbow (3.1.1)
|
24
|
+
regexp_parser (2.5.0)
|
25
|
+
rexml (3.2.5)
|
26
|
+
rubocop (1.33.0)
|
27
|
+
json (~> 2.3)
|
33
28
|
parallel (~> 1.10)
|
34
|
-
parser (>=
|
29
|
+
parser (>= 3.1.0.0)
|
35
30
|
rainbow (>= 2.2.2, < 4.0)
|
36
|
-
regexp_parser (>= 1.
|
37
|
-
rexml
|
38
|
-
rubocop-ast (>=
|
31
|
+
regexp_parser (>= 1.8, < 3.0)
|
32
|
+
rexml (>= 3.2.5, < 4.0)
|
33
|
+
rubocop-ast (>= 1.19.1, < 2.0)
|
39
34
|
ruby-progressbar (~> 1.7)
|
40
|
-
unicode-display_width (>= 1.4.0, <
|
41
|
-
rubocop-ast (
|
42
|
-
parser (>=
|
43
|
-
|
44
|
-
|
35
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
36
|
+
rubocop-ast (1.21.0)
|
37
|
+
parser (>= 3.1.1.0)
|
38
|
+
rubocop-performance (1.14.3)
|
39
|
+
rubocop (>= 1.7.0, < 2.0)
|
40
|
+
rubocop-ast (>= 0.4.0)
|
41
|
+
ruby-progressbar (1.11.0)
|
42
|
+
standard (1.15.0)
|
43
|
+
rubocop (= 1.33.0)
|
44
|
+
rubocop-performance (= 1.14.3)
|
45
|
+
thor (1.2.1)
|
46
|
+
unicode-display_width (2.2.0)
|
45
47
|
|
46
48
|
PLATFORMS
|
47
49
|
ruby
|
48
50
|
|
49
51
|
DEPENDENCIES
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
rubocop
|
52
|
+
minitest (~> 5.16)
|
53
|
+
minitest-reporters (~> 1.5)
|
54
|
+
standard (~> 1.15)
|
54
55
|
todo_agent!
|
55
56
|
|
56
57
|
BUNDLED WITH
|
data/lib/todo_agent/command.rb
CHANGED
@@ -9,7 +9,7 @@ module TodoAgent
|
|
9
9
|
class Ruby
|
10
10
|
def self.parse(file)
|
11
11
|
regex_str = TodoAgent::Parsers::RegexBuilder.regex
|
12
|
-
regexp = Regexp.new("^\\s*##{regex_str}$",
|
12
|
+
regexp = Regexp.new("^\\s*##{regex_str}$", Regexp::MULTILINE | Regexp::IGNORECASE)
|
13
13
|
comments = []
|
14
14
|
|
15
15
|
# TODO: This logic belongs out of the specific ruby parser
|
data/lib/todo_agent/version.rb
CHANGED
data/todo_agent.gemspec
CHANGED
@@ -10,15 +10,17 @@ Gem::Specification.new do |spec|
|
|
10
10
|
|
11
11
|
spec.summary = "Transform tags into tickets"
|
12
12
|
spec.description = "Search for specific keywords in the codebase and create tickets in the tracker"
|
13
|
-
spec.homepage = "https://github.com/story-branch/
|
13
|
+
spec.homepage = "https://github.com/story-branch/todo_agent"
|
14
14
|
spec.license = "MIT"
|
15
15
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
17
|
+
spec.metadata = {
|
18
|
+
"bug_tracker_uri" => "https://github.com/story-branch/todo_agent/issues",
|
19
|
+
"changelog_uri" => "https://github.com/story-branch/todo_agent/blob/master/Changelog.md",
|
20
|
+
"documentation_uri" => "https://github.com/story-branch/todo_agent/blob/master/README.md",
|
21
|
+
"source_code_uri" => "https://github.com/story-branch/todo_agent",
|
22
|
+
"homepage_uri" => spec.homepage
|
23
|
+
}
|
22
24
|
|
23
25
|
# Specify which files should be added to the gem when it is released.
|
24
26
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -28,4 +30,10 @@ Gem::Specification.new do |spec|
|
|
28
30
|
spec.bindir = "exe"
|
29
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
32
|
spec.require_paths = ["lib"]
|
33
|
+
|
34
|
+
spec.add_dependency "thor", "~> 1.2"
|
35
|
+
|
36
|
+
spec.add_development_dependency "minitest", "~> 5.16"
|
37
|
+
spec.add_development_dependency "minitest-reporters", "~> 1.5"
|
38
|
+
spec.add_development_dependency "standard", "~> 1.15"
|
31
39
|
end
|
metadata
CHANGED
@@ -1,15 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: todo_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rui Baltazar
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
11
|
+
date: 2023-04-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: minitest
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5.16'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5.16'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest-reporters
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.5'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.5'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: standard
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.15'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.15'
|
13
69
|
description: Search for specific keywords in the codebase and create tickets in the
|
14
70
|
tracker
|
15
71
|
email:
|
@@ -19,9 +75,11 @@ executables:
|
|
19
75
|
extensions: []
|
20
76
|
extra_rdoc_files: []
|
21
77
|
files:
|
78
|
+
- ".github/FUNDING.yml"
|
79
|
+
- ".github/workflows/standard.rb"
|
80
|
+
- ".github/workflows/tests.yml"
|
22
81
|
- ".gitignore"
|
23
82
|
- ".rspec"
|
24
|
-
- ".rubocop.yml"
|
25
83
|
- ".story_branch.yml"
|
26
84
|
- ".travis.yml"
|
27
85
|
- CODE_OF_CONDUCT.md
|
@@ -48,14 +106,16 @@ files:
|
|
48
106
|
- lib/todo_agent/templates/analyze/.gitkeep
|
49
107
|
- lib/todo_agent/version.rb
|
50
108
|
- todo_agent.gemspec
|
51
|
-
homepage: https://github.com/story-branch/
|
109
|
+
homepage: https://github.com/story-branch/todo_agent
|
52
110
|
licenses:
|
53
111
|
- MIT
|
54
112
|
metadata:
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
113
|
+
bug_tracker_uri: https://github.com/story-branch/todo_agent/issues
|
114
|
+
changelog_uri: https://github.com/story-branch/todo_agent/blob/master/Changelog.md
|
115
|
+
documentation_uri: https://github.com/story-branch/todo_agent/blob/master/README.md
|
116
|
+
source_code_uri: https://github.com/story-branch/todo_agent
|
117
|
+
homepage_uri: https://github.com/story-branch/todo_agent
|
118
|
+
post_install_message:
|
59
119
|
rdoc_options: []
|
60
120
|
require_paths:
|
61
121
|
- lib
|
@@ -70,8 +130,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
130
|
- !ruby/object:Gem::Version
|
71
131
|
version: '0'
|
72
132
|
requirements: []
|
73
|
-
rubygems_version: 3.1.
|
74
|
-
signing_key:
|
133
|
+
rubygems_version: 3.1.6
|
134
|
+
signing_key:
|
75
135
|
specification_version: 4
|
76
136
|
summary: Transform tags into tickets
|
77
137
|
test_files: []
|
data/.rubocop.yml
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
Style/StringLiterals:
|
2
|
-
EnforcedStyle: double_quotes
|
3
|
-
|
4
|
-
Layout/EmptyLinesAroundAttributeAccessor:
|
5
|
-
Enabled: true
|
6
|
-
Layout/SpaceAroundMethodCallOperator:
|
7
|
-
Enabled: true
|
8
|
-
Lint/DeprecatedOpenSSLConstant:
|
9
|
-
Enabled: true
|
10
|
-
Lint/DuplicateElsifCondition:
|
11
|
-
Enabled: true
|
12
|
-
Lint/MixedRegexpCaptureTypes:
|
13
|
-
Enabled: true
|
14
|
-
Lint/RaiseException:
|
15
|
-
Enabled: true
|
16
|
-
Lint/StructNewOverride:
|
17
|
-
Enabled: true
|
18
|
-
Style/AccessorGrouping:
|
19
|
-
Enabled: true
|
20
|
-
Style/ArrayCoercion:
|
21
|
-
Enabled: true
|
22
|
-
Style/BisectedAttrAccessor:
|
23
|
-
Enabled: true
|
24
|
-
Style/CaseLikeIf:
|
25
|
-
Enabled: true
|
26
|
-
Style/ExponentialNotation:
|
27
|
-
Enabled: true
|
28
|
-
Style/HashAsLastArrayItem:
|
29
|
-
Enabled: true
|
30
|
-
Style/HashEachMethods:
|
31
|
-
Enabled: true
|
32
|
-
Style/HashLikeCase:
|
33
|
-
Enabled: true
|
34
|
-
Style/HashTransformKeys:
|
35
|
-
Enabled: true
|
36
|
-
Style/HashTransformValues:
|
37
|
-
Enabled: true
|
38
|
-
Style/RedundantAssignment:
|
39
|
-
Enabled: true
|
40
|
-
Style/RedundantFetchBlock:
|
41
|
-
Enabled: true
|
42
|
-
Style/RedundantFileExtensionInRequire:
|
43
|
-
Enabled: true
|
44
|
-
Style/RedundantRegexpCharacterClass:
|
45
|
-
Enabled: true
|
46
|
-
Style/RedundantRegexpEscape:
|
47
|
-
Enabled: true
|
48
|
-
Style/SlicingWithRange:
|
49
|
-
Enabled: true
|