diff options
author | Go MAEDA <maeda@farend.jp> | 2023-11-18 04:18:59 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-11-18 04:18:59 +0000 |
commit | 72dcb6a570dde4c90434d6397804a59ce8ae95f2 (patch) | |
tree | 74cc616b8f13ecaae0f30f0202a7b11e979f9086 /lib/tasks | |
parent | 635e31a95239387dcb74350689a6e6674dc983bb (diff) | |
download | redmine-72dcb6a570dde4c90434d6397804a59ce8ae95f2.tar.gz redmine-72dcb6a570dde4c90434d6397804a59ce8ae95f2.zip |
Fix `rake yard` does not work with Ruby >= 3.2 due to nested array issue (#39576).
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22456 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/yardoc.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/yardoc.rake b/lib/tasks/yardoc.rake index 60d3a644a..efa05fd1f 100644 --- a/lib/tasks/yardoc.rake +++ b/lib/tasks/yardoc.rake @@ -3,7 +3,7 @@ begin YARD::Rake::YardocTask.new do |t| files = ['app/**/*.rb'] - files << Dir['lib/**/*.rb', 'plugins/**/*.rb'].reject {|f| f.match(/test/) } + files += Dir['lib/**/*.rb', 'plugins/**/*.rb'].reject {|f| f.match(/test/)} t.files = files static_files = ['doc/CHANGELOG', |