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>
@ -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…
x
Reference in New Issue
Block a user