summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/include_spec.rb
diff options
context:
space:
mode:
authorStan Lo <stan001212@gmail.com>2024-11-28 20:18:06 +0800
committergit <svn-admin@ruby-lang.org>2024-11-28 12:18:11 +0000
commit36ed9c2fc9674c79f38dce9cabbea77b5ef3e40c (patch)
tree0ab579ac12e019ef30aeac122dac2297ec28795c /spec/ruby/core/string/include_spec.rb
parentde89bff122c65cabd92ad5e6f59ca9b8cbc121a4 (diff)
[ruby/rdoc] Improve how gemspec's files are defined
(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 ``` https://github.com/ruby/rdoc/commit/ac2a151f10
Diffstat (limited to 'spec/ruby/core/string/include_spec.rb')
0 files changed, 0 insertions, 0 deletions