punchlist 1.3.0 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. checksums.yaml +5 -5
  2. data/.circleci/config.yml +132 -0
  3. data/.envrc +4 -0
  4. data/.git-hooks/pre_commit/circle_ci.rb +25 -0
  5. data/.git-hooks/pre_commit/punchlist.rb +51 -0
  6. data/.git-hooks/pre_commit/solargraph_typecheck.rb +64 -0
  7. data/.gitattributes +6 -0
  8. data/.gitignore +60 -0
  9. data/.markdownlint_style.rb +3 -0
  10. data/.mdlrc +1 -0
  11. data/.overcommit.yml +87 -0
  12. data/.pronto.yml +2 -0
  13. data/.rubocop.yml +148 -0
  14. data/.solargraph.yml +26 -0
  15. data/.yamllint.yml +8 -0
  16. data/CODE_OF_CONDUCT.md +133 -0
  17. data/CONTRIBUTING.rst +75 -0
  18. data/ChangeLog.md +8 -0
  19. data/DEVELOPMENT.md +31 -0
  20. data/Gemfile +26 -0
  21. data/Gemfile.lock +186 -0
  22. data/LICENSE +22 -0
  23. data/Makefile +104 -0
  24. data/README.md +27 -0
  25. data/Rakefile +2 -49
  26. data/bin/bump +29 -0
  27. data/bin/overcommit +29 -0
  28. data/bin/rake +29 -0
  29. data/bin/rubocop +27 -0
  30. data/bin/solargraph +27 -0
  31. data/bin/yard +27 -0
  32. data/config/env.1p +0 -0
  33. data/docs/.gitignore +3 -0
  34. data/docs/cookiecutter_input.json +16 -0
  35. data/feature/expected/mixed_types_of_source_files_results.txt +2 -0
  36. data/feature/expected/no_files_results.txt +0 -0
  37. data/feature/expected/non_source_file_with_pis_results.txt +0 -0
  38. data/feature/expected/one_source_file_with_cis_results.txt +1 -0
  39. data/feature/expected/scala_file_to_be_ignored_results.txt +1 -0
  40. data/feature/expected/source_file_with_no_items_results.txt +0 -0
  41. data/feature/feature_helper.rb +41 -0
  42. data/feature/pronto_punchlist_use_spec.rb +26 -0
  43. data/feature/punchlist_cli_spec.rb +63 -0
  44. data/feature/samples/mixed_types_of_source_files/lib/bar.scala +1 -0
  45. data/feature/samples/mixed_types_of_source_files/lib/foo.rb +4 -0
  46. data/feature/samples/no_files/.ignore +0 -0
  47. data/feature/samples/non_source_file_with_pis/foo.doc +5 -0
  48. data/feature/samples/one_source_file_with_cis/app/foo.rb +4 -0
  49. data/feature/samples/scala_file_to_be_ignored/lib/bar.scala +1 -0
  50. data/feature/samples/scala_file_to_be_ignored/lib/foo.rb +4 -0
  51. data/feature/samples/source_file_with_no_items/foo.rb +3 -0
  52. data/fix.sh +411 -0
  53. data/lib/punchlist/inspector.rb +27 -7
  54. data/lib/punchlist/version.rb +1 -1
  55. data/lib/punchlist.rb +1 -0
  56. data/metrics/brakeman_high_water_mark +1 -0
  57. data/metrics/flake8_high_water_mark +1 -0
  58. data/metrics/jscs_high_water_mark +1 -0
  59. data/metrics/punchlist_high_water_mark +1 -0
  60. data/metrics/pycodestyle_high_water_mark +1 -0
  61. data/metrics/rails_best_practices_high_water_mark +1 -0
  62. data/metrics/scalastyle_high_water_mark +1 -0
  63. data/metrics/shellcheck_high_water_mark +1 -0
  64. data/package.json +9 -0
  65. data/punchlist.gemspec +25 -31
  66. data/rakelib/citest.rake +4 -0
  67. data/rakelib/clear_metrics.rake +9 -0
  68. data/rakelib/console.rake +6 -0
  69. data/rakelib/default.rake +4 -0
  70. data/rakelib/doc.rake +6 -0
  71. data/rakelib/feature.rake +10 -0
  72. data/rakelib/gem_tasks.rake +3 -0
  73. data/rakelib/localtest.rake +4 -0
  74. data/rakelib/overcommit.rake +6 -0
  75. data/rakelib/quality.rake +4 -0
  76. data/rakelib/repl.rake +4 -0
  77. data/rakelib/spec.rake +9 -0
  78. data/rakelib/undercover.rake +8 -0
  79. data/requirements_dev.txt +2 -0
  80. metadata +88 -114
  81. data/License.txt +0 -20
  82. /data/{bin → exe}/punchlist +0 -0
@@ -0,0 +1,2 @@
1
+ pip==23.3.1
2
+ yamllint==1.35.1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: punchlist
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz
8
- autorequire:
9
- bindir: bin
8
+ autorequire:
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-24 00:00:00.000000000 Z
11
+ date: 2024-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: source_finder
@@ -24,105 +24,7 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2'
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: pronto
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: pronto-rubocop
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: quality
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '36'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '36'
83
- - !ruby/object:Gem::Dependency
84
- name: rake
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: rspec
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: simplecov
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
- description: punchlist lists your annotation comments--things like 'LATER/HACK/FIXIT'
27
+ description:
126
28
  email:
127
29
  - vince@broz.cc
128
30
  executables:
@@ -130,9 +32,58 @@ executables:
130
32
  extensions: []
131
33
  extra_rdoc_files: []
132
34
  files:
133
- - License.txt
35
+ - ".circleci/config.yml"
36
+ - ".envrc"
37
+ - ".git-hooks/pre_commit/circle_ci.rb"
38
+ - ".git-hooks/pre_commit/punchlist.rb"
39
+ - ".git-hooks/pre_commit/solargraph_typecheck.rb"
40
+ - ".gitattributes"
41
+ - ".gitignore"
42
+ - ".markdownlint_style.rb"
43
+ - ".mdlrc"
44
+ - ".overcommit.yml"
45
+ - ".pronto.yml"
46
+ - ".rubocop.yml"
47
+ - ".solargraph.yml"
48
+ - ".yamllint.yml"
49
+ - CODE_OF_CONDUCT.md
50
+ - CONTRIBUTING.rst
51
+ - ChangeLog.md
52
+ - DEVELOPMENT.md
53
+ - Gemfile
54
+ - Gemfile.lock
55
+ - LICENSE
56
+ - Makefile
57
+ - README.md
134
58
  - Rakefile
135
- - bin/punchlist
59
+ - bin/bump
60
+ - bin/overcommit
61
+ - bin/rake
62
+ - bin/rubocop
63
+ - bin/solargraph
64
+ - bin/yard
65
+ - config/env.1p
66
+ - docs/.gitignore
67
+ - docs/cookiecutter_input.json
68
+ - exe/punchlist
69
+ - feature/expected/mixed_types_of_source_files_results.txt
70
+ - feature/expected/no_files_results.txt
71
+ - feature/expected/non_source_file_with_pis_results.txt
72
+ - feature/expected/one_source_file_with_cis_results.txt
73
+ - feature/expected/scala_file_to_be_ignored_results.txt
74
+ - feature/expected/source_file_with_no_items_results.txt
75
+ - feature/feature_helper.rb
76
+ - feature/pronto_punchlist_use_spec.rb
77
+ - feature/punchlist_cli_spec.rb
78
+ - feature/samples/mixed_types_of_source_files/lib/bar.scala
79
+ - feature/samples/mixed_types_of_source_files/lib/foo.rb
80
+ - feature/samples/no_files/.ignore
81
+ - feature/samples/non_source_file_with_pis/foo.doc
82
+ - feature/samples/one_source_file_with_cis/app/foo.rb
83
+ - feature/samples/scala_file_to_be_ignored/lib/bar.scala
84
+ - feature/samples/scala_file_to_be_ignored/lib/foo.rb
85
+ - feature/samples/source_file_with_no_items/foo.rb
86
+ - fix.sh
136
87
  - lib/punchlist.rb
137
88
  - lib/punchlist/config.rb
138
89
  - lib/punchlist/inspector.rb
@@ -140,12 +91,36 @@ files:
140
91
  - lib/punchlist/option_parser.rb
141
92
  - lib/punchlist/renderer.rb
142
93
  - lib/punchlist/version.rb
94
+ - metrics/brakeman_high_water_mark
95
+ - metrics/flake8_high_water_mark
96
+ - metrics/jscs_high_water_mark
97
+ - metrics/punchlist_high_water_mark
98
+ - metrics/pycodestyle_high_water_mark
99
+ - metrics/rails_best_practices_high_water_mark
100
+ - metrics/scalastyle_high_water_mark
101
+ - metrics/shellcheck_high_water_mark
102
+ - package.json
143
103
  - punchlist.gemspec
144
- homepage: http://github.com/apiology/punchlist
104
+ - rakelib/citest.rake
105
+ - rakelib/clear_metrics.rake
106
+ - rakelib/console.rake
107
+ - rakelib/default.rake
108
+ - rakelib/doc.rake
109
+ - rakelib/feature.rake
110
+ - rakelib/gem_tasks.rake
111
+ - rakelib/localtest.rake
112
+ - rakelib/overcommit.rake
113
+ - rakelib/quality.rake
114
+ - rakelib/repl.rake
115
+ - rakelib/spec.rake
116
+ - rakelib/undercover.rake
117
+ - requirements_dev.txt
118
+ homepage: https://github.com/apiology/punchlist
145
119
  licenses:
146
- - MIT
147
- metadata: {}
148
- post_install_message:
120
+ - MIT license
121
+ metadata:
122
+ rubygems_mfa_required: 'true'
123
+ post_install_message:
149
124
  rdoc_options: []
150
125
  require_paths:
151
126
  - lib
@@ -153,16 +128,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
153
128
  requirements:
154
129
  - - ">="
155
130
  - !ruby/object:Gem::Version
156
- version: '0'
131
+ version: '3.0'
157
132
  required_rubygems_version: !ruby/object:Gem::Requirement
158
133
  requirements:
159
134
  - - ">="
160
135
  - !ruby/object:Gem::Version
161
136
  version: '0'
162
137
  requirements: []
163
- rubyforge_project:
164
- rubygems_version: 2.6.14.4
165
- signing_key:
138
+ rubygems_version: 3.4.10
139
+ signing_key:
166
140
  specification_version: 4
167
- summary: Finds largest source files in a project
141
+ summary: Counts the number of 'todo' comments in your code
168
142
  test_files: []
data/License.txt DELETED
@@ -1,20 +0,0 @@
1
- Copyright (c) 2015 Vincent Broz
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
File without changes