yard-junk 0.0.10 → 0.1.0
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.
- checksums.yaml +4 -4
- data/Changelog.md +5 -0
- data/LICENSE.txt +21 -0
- data/examples/doc/A.html +350 -0
- data/examples/doc/B/C.html +132 -0
- data/examples/doc/Bar/Baz.html +132 -0
- data/examples/doc/Foo.html +234 -0
- data/examples/doc/_index.html +111 -0
- data/examples/doc/class_list.html +51 -0
- data/examples/doc/css/common.css +1 -0
- data/examples/doc/css/full_list.css +58 -0
- data/examples/doc/css/style.css +492 -0
- data/examples/doc/file.README.html +97 -0
- data/examples/doc/file_list.html +51 -0
- data/examples/doc/frames.html +17 -0
- data/examples/doc/index.html +111 -0
- data/examples/doc/js/app.js +248 -0
- data/examples/doc/js/full_list.js +216 -0
- data/examples/doc/js/jquery.js +4 -0
- data/examples/doc/method_list.html +83 -0
- data/examples/doc/top-level-namespace.html +110 -0
- data/lib/yard-junk/janitor/base_reporter.rb +1 -1
- data/lib/yard-junk/janitor.rb +0 -2
- data/lib/yard-junk/logger.rb +0 -2
- data/lib/yard-junk/rake.rb +1 -1
- data/lib/yard-junk/version.rb +3 -3
- data/lib/yard-junk.rb +1 -1
- metadata +55 -18
- data/.github/workflows/ci.yml +0 -32
- data/Gemfile.lock +0 -114
- data/yard-junk.gemspec +0 -53
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yard-junk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Victor Shepelev
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: yard
|
|
@@ -25,21 +24,21 @@ dependencies:
|
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
25
|
version: '0'
|
|
27
26
|
- !ruby/object:Gem::Dependency
|
|
28
|
-
name:
|
|
27
|
+
name: rainbow
|
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
|
30
29
|
requirements:
|
|
31
30
|
- - ">="
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
32
|
+
version: '0'
|
|
34
33
|
type: :runtime
|
|
35
34
|
prerelease: false
|
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
36
|
requirements:
|
|
38
37
|
- - ">="
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
39
|
+
version: '0'
|
|
41
40
|
- !ruby/object:Gem::Dependency
|
|
42
|
-
name:
|
|
41
|
+
name: ostruct
|
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
|
44
43
|
requirements:
|
|
45
44
|
- - ">="
|
|
@@ -53,7 +52,7 @@ dependencies:
|
|
|
53
52
|
- !ruby/object:Gem::Version
|
|
54
53
|
version: '0'
|
|
55
54
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name:
|
|
55
|
+
name: benchmark
|
|
57
56
|
requirement: !ruby/object:Gem::Requirement
|
|
58
57
|
requirements:
|
|
59
58
|
- - ">="
|
|
@@ -108,6 +107,20 @@ dependencies:
|
|
|
108
107
|
- - ">="
|
|
109
108
|
- !ruby/object:Gem::Version
|
|
110
109
|
version: '0'
|
|
110
|
+
- !ruby/object:Gem::Dependency
|
|
111
|
+
name: rubocop-rake
|
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
|
113
|
+
requirements:
|
|
114
|
+
- - ">="
|
|
115
|
+
- !ruby/object:Gem::Version
|
|
116
|
+
version: '0'
|
|
117
|
+
type: :development
|
|
118
|
+
prerelease: false
|
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
120
|
+
requirements:
|
|
121
|
+
- - ">="
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: '0'
|
|
111
124
|
- !ruby/object:Gem::Dependency
|
|
112
125
|
name: rspec-its
|
|
113
126
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -123,7 +136,7 @@ dependencies:
|
|
|
123
136
|
- !ruby/object:Gem::Version
|
|
124
137
|
version: '1'
|
|
125
138
|
- !ruby/object:Gem::Dependency
|
|
126
|
-
name:
|
|
139
|
+
name: moarspec
|
|
127
140
|
requirement: !ruby/object:Gem::Requirement
|
|
128
141
|
requirements:
|
|
129
142
|
- - ">="
|
|
@@ -226,13 +239,33 @@ email: zverok.offline@gmail.com
|
|
|
226
239
|
executables:
|
|
227
240
|
- yard-junk
|
|
228
241
|
extensions: []
|
|
229
|
-
extra_rdoc_files:
|
|
242
|
+
extra_rdoc_files:
|
|
243
|
+
- Changelog.md
|
|
244
|
+
- LICENSE.txt
|
|
245
|
+
- README.md
|
|
230
246
|
files:
|
|
231
|
-
- ".github/workflows/ci.yml"
|
|
232
247
|
- Changelog.md
|
|
233
|
-
-
|
|
248
|
+
- LICENSE.txt
|
|
234
249
|
- README.md
|
|
235
250
|
- examples/bare_log.rb
|
|
251
|
+
- examples/doc/A.html
|
|
252
|
+
- examples/doc/B/C.html
|
|
253
|
+
- examples/doc/Bar/Baz.html
|
|
254
|
+
- examples/doc/Foo.html
|
|
255
|
+
- examples/doc/_index.html
|
|
256
|
+
- examples/doc/class_list.html
|
|
257
|
+
- examples/doc/css/common.css
|
|
258
|
+
- examples/doc/css/full_list.css
|
|
259
|
+
- examples/doc/css/style.css
|
|
260
|
+
- examples/doc/file.README.html
|
|
261
|
+
- examples/doc/file_list.html
|
|
262
|
+
- examples/doc/frames.html
|
|
263
|
+
- examples/doc/index.html
|
|
264
|
+
- examples/doc/js/app.js
|
|
265
|
+
- examples/doc/js/full_list.js
|
|
266
|
+
- examples/doc/js/jquery.js
|
|
267
|
+
- examples/doc/method_list.html
|
|
268
|
+
- examples/doc/top-level-namespace.html
|
|
236
269
|
- examples/formatted_log.rb
|
|
237
270
|
- examples/input/circular_ref.rb
|
|
238
271
|
- examples/input/lot_of_errors.rb
|
|
@@ -251,28 +284,32 @@ files:
|
|
|
251
284
|
- lib/yard-junk/logger/spellcheck.rb
|
|
252
285
|
- lib/yard-junk/rake.rb
|
|
253
286
|
- lib/yard-junk/version.rb
|
|
254
|
-
- yard-junk.gemspec
|
|
255
287
|
homepage: https://github.com/zverok/yard-junk
|
|
256
288
|
licenses:
|
|
257
289
|
- MIT
|
|
258
290
|
metadata: {}
|
|
259
|
-
|
|
260
|
-
|
|
291
|
+
rdoc_options:
|
|
292
|
+
- "--title"
|
|
293
|
+
- yard-junk - Get rid of the junk in your YARD docs
|
|
294
|
+
- "--main"
|
|
295
|
+
- README.md
|
|
296
|
+
- "--line-numbers"
|
|
297
|
+
- "--inline-source"
|
|
298
|
+
- "--quiet"
|
|
261
299
|
require_paths:
|
|
262
300
|
- lib
|
|
263
301
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
264
302
|
requirements:
|
|
265
303
|
- - ">="
|
|
266
304
|
- !ruby/object:Gem::Version
|
|
267
|
-
version:
|
|
305
|
+
version: 3.1.0
|
|
268
306
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
269
307
|
requirements:
|
|
270
308
|
- - ">="
|
|
271
309
|
- !ruby/object:Gem::Version
|
|
272
310
|
version: '0'
|
|
273
311
|
requirements: []
|
|
274
|
-
rubygems_version:
|
|
275
|
-
signing_key:
|
|
312
|
+
rubygems_version: 4.0.2
|
|
276
313
|
specification_version: 4
|
|
277
314
|
summary: Get rid of the junk in your YARD docs
|
|
278
315
|
test_files: []
|
data/.github/workflows/ci.yml
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: [ master ]
|
|
6
|
-
pull_request:
|
|
7
|
-
branches: [ master ]
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
main:
|
|
11
|
-
name: >-
|
|
12
|
-
${{ matrix.ruby }}
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
strategy:
|
|
15
|
-
fail-fast: false
|
|
16
|
-
matrix:
|
|
17
|
-
ruby: [ 2.7, "3.0", "3.1", "3.2", "3.3", head ]
|
|
18
|
-
|
|
19
|
-
steps:
|
|
20
|
-
- name: checkout
|
|
21
|
-
uses: actions/checkout@v2
|
|
22
|
-
- name: set up Ruby
|
|
23
|
-
uses: ruby/setup-ruby@v1
|
|
24
|
-
with:
|
|
25
|
-
ruby-version: ${{ matrix.ruby }}
|
|
26
|
-
|
|
27
|
-
- name: install dependencies
|
|
28
|
-
run: bundle install --jobs 3 --retry 3
|
|
29
|
-
- name: spec
|
|
30
|
-
run: bundle exec rake spec
|
|
31
|
-
- name: rubocop
|
|
32
|
-
run: bundle exec rake rubocop
|
data/Gemfile.lock
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
yard-junk (0.0.10)
|
|
5
|
-
backports (>= 3.18)
|
|
6
|
-
ostruct
|
|
7
|
-
rainbow
|
|
8
|
-
yard
|
|
9
|
-
|
|
10
|
-
GEM
|
|
11
|
-
remote: https://rubygems.org/
|
|
12
|
-
specs:
|
|
13
|
-
ast (2.4.2)
|
|
14
|
-
backports (3.25.0)
|
|
15
|
-
diff-lcs (1.5.1)
|
|
16
|
-
docile (1.4.1)
|
|
17
|
-
fakefs (2.5.0)
|
|
18
|
-
io-console (0.7.2)
|
|
19
|
-
io-console (0.7.2-java)
|
|
20
|
-
irb (1.14.0)
|
|
21
|
-
rdoc (>= 4.0.0)
|
|
22
|
-
reline (>= 0.4.2)
|
|
23
|
-
jar-dependencies (0.4.1)
|
|
24
|
-
json (2.7.2)
|
|
25
|
-
json (2.7.2-java)
|
|
26
|
-
kramdown (2.4.0)
|
|
27
|
-
rexml
|
|
28
|
-
language_server-protocol (3.17.0.3)
|
|
29
|
-
ostruct (0.6.0)
|
|
30
|
-
parallel (1.26.3)
|
|
31
|
-
parser (3.3.5.0)
|
|
32
|
-
ast (~> 2.4.1)
|
|
33
|
-
racc
|
|
34
|
-
psych (5.1.2)
|
|
35
|
-
stringio
|
|
36
|
-
psych (5.1.2-java)
|
|
37
|
-
jar-dependencies (>= 0.1.7)
|
|
38
|
-
racc (1.8.1)
|
|
39
|
-
racc (1.8.1-java)
|
|
40
|
-
rainbow (3.1.1)
|
|
41
|
-
rake (13.2.1)
|
|
42
|
-
rdoc (6.7.0)
|
|
43
|
-
psych (>= 4.0.0)
|
|
44
|
-
regexp_parser (2.9.2)
|
|
45
|
-
reline (0.5.10)
|
|
46
|
-
io-console (~> 0.5)
|
|
47
|
-
rexml (3.3.7)
|
|
48
|
-
rspec (3.13.0)
|
|
49
|
-
rspec-core (~> 3.13.0)
|
|
50
|
-
rspec-expectations (~> 3.13.0)
|
|
51
|
-
rspec-mocks (~> 3.13.0)
|
|
52
|
-
rspec-core (3.13.1)
|
|
53
|
-
rspec-support (~> 3.13.0)
|
|
54
|
-
rspec-expectations (3.13.2)
|
|
55
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
56
|
-
rspec-support (~> 3.13.0)
|
|
57
|
-
rspec-its (1.3.0)
|
|
58
|
-
rspec-core (>= 3.0.0)
|
|
59
|
-
rspec-expectations (>= 3.0.0)
|
|
60
|
-
rspec-mocks (3.13.1)
|
|
61
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
62
|
-
rspec-support (~> 3.13.0)
|
|
63
|
-
rspec-support (3.13.1)
|
|
64
|
-
rubocop (1.66.1)
|
|
65
|
-
json (~> 2.3)
|
|
66
|
-
language_server-protocol (>= 3.17.0)
|
|
67
|
-
parallel (~> 1.10)
|
|
68
|
-
parser (>= 3.3.0.2)
|
|
69
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
70
|
-
regexp_parser (>= 2.4, < 3.0)
|
|
71
|
-
rubocop-ast (>= 1.32.2, < 2.0)
|
|
72
|
-
ruby-progressbar (~> 1.7)
|
|
73
|
-
unicode-display_width (>= 2.4.0, < 3.0)
|
|
74
|
-
rubocop-ast (1.32.3)
|
|
75
|
-
parser (>= 3.3.1.0)
|
|
76
|
-
rubocop-rspec (3.0.4)
|
|
77
|
-
rubocop (~> 1.61)
|
|
78
|
-
ruby-progressbar (1.13.0)
|
|
79
|
-
ruby2_keywords (0.0.5)
|
|
80
|
-
rubygems-tasks (0.2.6)
|
|
81
|
-
irb (~> 1.0)
|
|
82
|
-
rake (>= 10.0.0)
|
|
83
|
-
saharspec (0.0.10)
|
|
84
|
-
ruby2_keywords
|
|
85
|
-
simplecov (0.22.0)
|
|
86
|
-
docile (~> 1.1)
|
|
87
|
-
simplecov-html (~> 0.11)
|
|
88
|
-
simplecov_json_formatter (~> 0.1)
|
|
89
|
-
simplecov-html (0.12.3)
|
|
90
|
-
simplecov_json_formatter (0.1.4)
|
|
91
|
-
stringio (3.1.1)
|
|
92
|
-
unicode-display_width (2.5.0)
|
|
93
|
-
yard (0.9.37)
|
|
94
|
-
|
|
95
|
-
PLATFORMS
|
|
96
|
-
java
|
|
97
|
-
ruby
|
|
98
|
-
|
|
99
|
-
DEPENDENCIES
|
|
100
|
-
fakefs
|
|
101
|
-
kramdown
|
|
102
|
-
rake
|
|
103
|
-
rspec (>= 3)
|
|
104
|
-
rspec-its (~> 1)
|
|
105
|
-
rubocop
|
|
106
|
-
rubocop-rspec
|
|
107
|
-
rubygems-tasks
|
|
108
|
-
saharspec
|
|
109
|
-
simplecov (~> 0.9)
|
|
110
|
-
yard
|
|
111
|
-
yard-junk!
|
|
112
|
-
|
|
113
|
-
BUNDLED WITH
|
|
114
|
-
2.4.22
|
data/yard-junk.gemspec
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
require_relative 'lib/yard-junk/version'
|
|
2
|
-
|
|
3
|
-
Gem::Specification.new do |s|
|
|
4
|
-
s.name = 'yard-junk'
|
|
5
|
-
s.version = YardJunk::VERSION
|
|
6
|
-
s.authors = ['Victor Shepelev']
|
|
7
|
-
s.email = 'zverok.offline@gmail.com'
|
|
8
|
-
s.homepage = 'https://github.com/zverok/yard-junk'
|
|
9
|
-
|
|
10
|
-
s.summary = 'Get rid of the junk in your YARD docs'
|
|
11
|
-
s.description = <<-EOF
|
|
12
|
-
YardJunk is structured logger/error validator plugin for YARD documentation gem.
|
|
13
|
-
EOF
|
|
14
|
-
s.licenses = ['MIT']
|
|
15
|
-
|
|
16
|
-
s.required_ruby_version = '>= 2.7.0'
|
|
17
|
-
|
|
18
|
-
s.files = `git ls-files`.split($RS).reject do |file|
|
|
19
|
-
file =~ /^(?:
|
|
20
|
-
spec\/.*
|
|
21
|
-
|Gemfile
|
|
22
|
-
|Rakefile
|
|
23
|
-
|\.codeclimate.yml
|
|
24
|
-
|\.rspec
|
|
25
|
-
|\.gitignore
|
|
26
|
-
|\.rubocop.yml
|
|
27
|
-
|\.rubocop_todo.yml
|
|
28
|
-
|\.travis.yml
|
|
29
|
-
|\.yardopts
|
|
30
|
-
)$/x
|
|
31
|
-
end
|
|
32
|
-
s.require_paths = ["lib"]
|
|
33
|
-
s.bindir = 'exe'
|
|
34
|
-
s.executables << 'yard-junk'
|
|
35
|
-
|
|
36
|
-
s.add_dependency 'yard'
|
|
37
|
-
s.add_dependency 'did_you_mean' if RUBY_VERSION < '2.3'
|
|
38
|
-
s.add_dependency 'backports', '>= 3.18'
|
|
39
|
-
s.add_dependency 'rainbow'
|
|
40
|
-
s.add_dependency 'ostruct'
|
|
41
|
-
|
|
42
|
-
s.add_development_dependency 'rubocop'
|
|
43
|
-
s.add_development_dependency 'rspec', '>= 3'
|
|
44
|
-
s.add_development_dependency 'rubocop-rspec'
|
|
45
|
-
s.add_development_dependency 'rspec-its', '~> 1'
|
|
46
|
-
s.add_development_dependency 'saharspec'
|
|
47
|
-
s.add_development_dependency 'fakefs'
|
|
48
|
-
s.add_development_dependency 'simplecov', '~> 0.9'
|
|
49
|
-
s.add_development_dependency 'rake'
|
|
50
|
-
s.add_development_dependency 'rubygems-tasks'
|
|
51
|
-
s.add_development_dependency 'yard'
|
|
52
|
-
s.add_development_dependency 'kramdown'
|
|
53
|
-
end
|