mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix files for gemspec files direct-under lib
Collected `files` lacked `lib` prefix.
This commit is contained in:
parent
f2423be49d
commit
0bb5525eb2
Notes:
git
2022-08-07 17:01:48 +09:00
Merged: https://github.com/ruby/ruby/pull/6219 Merged-By: nobu <nobu@ruby-lang.org>
1 changed files with 1 additions and 1 deletions
|
@ -773,7 +773,7 @@ module RbInstall
|
|||
remove_prefix(prefix, ruby_source)
|
||||
end
|
||||
else
|
||||
[File.basename(@gemspec, '.gemspec') + '.rb']
|
||||
[@gemspec[%r[(?:[^/]+/)?[^/]+(?=\.gemspec\z)]] + '.rb']
|
||||
end
|
||||
|
||||
case File.basename(@gemspec, ".gemspec")
|
||||
|
|
Loading…
Add table
Reference in a new issue