mirror of
https://github.com/ruby/ruby.git
synced 2025-08-28 15:36:16 +02:00
![]() (https://github.com/ruby/rdoc/pull/1212)
Currently, the gemspec's files are defined by hand, which is error-prone.
For example: https://github.com/ruby/rdoc/pull/1211
This commit uses `Dir.glob` where possible to reduce the risk of that
happening again.
- Additional files added with this approach:
```
# This should have been added by only captured by this commit
lib/rdoc/parser/prism_ruby.rb
# These are folders and can be included/ignored either way
lib/rdoc/generator/template/darkfish
lib/rdoc/generator/template/darkfish/css
lib/rdoc/generator/template/darkfish/fonts
lib/rdoc/generator/template/darkfish/images
lib/rdoc/generator/template/darkfish/js
lib/rdoc/generator/template/json_index
lib/rdoc/generator/template/json_index/js
```
- Files that are ignored after this change:
```
# They make no difference on documentation generation
# Probably can be removed
lib/rdoc/generator/template/darkfish/.document
lib/rdoc/generator/template/json_index/.document
```
|
||
---|---|---|
.. | ||
code_object | ||
generator | ||
i18n | ||
markdown | ||
markup | ||
parser | ||
rd | ||
ri | ||
stats | ||
.document | ||
code_object.rb | ||
code_objects.rb | ||
comment.rb | ||
cross_reference.rb | ||
encoding.rb | ||
erb_partial.rb | ||
erbio.rb | ||
generator.rb | ||
i18n.rb | ||
known_classes.rb | ||
markdown.rb | ||
markup.rb | ||
options.rb | ||
parser.rb | ||
rd.rb | ||
rdoc.gemspec | ||
rdoc.rb | ||
ri.rb | ||
rubygems_hook.rb | ||
servlet.rb | ||
stats.rb | ||
store.rb | ||
task.rb | ||
text.rb | ||
token_stream.rb | ||
tom_doc.rb | ||
version.rb |