File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -224,18 +224,7 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat
224
224
s . files << "lib/rdoc/rd/block_parser.rb" << "lib/rdoc/rd/inline_parser.rb" << "lib/rdoc/markdown.rb" << "lib/rdoc/markdown/literals.rb"
225
225
226
226
s . rdoc_options = [ "--main" , "README.rdoc" ]
227
- s . extra_rdoc_files += %w[
228
- CVE-2013-0256.rdoc
229
- CONTRIBUTING.rdoc
230
- ExampleMarkdown.md
231
- ExampleRDoc.rdoc
232
- History.rdoc
233
- LEGAL.rdoc
234
- LICENSE.rdoc
235
- README.rdoc
236
- RI.rdoc
237
- TODO.rdoc
238
- ]
227
+ s . extra_rdoc_files += s . files . grep ( %r[\A [^\/ ]+\. (?:rdoc|md)\z ] )
239
228
240
229
s . required_ruby_version = Gem ::Requirement . new ( ">= 2.5.0" )
241
230
s . required_rubygems_version = Gem ::Requirement . new ( ">= 2.2" )
You can’t perform that action at this time.
0 commit comments