Skip to content

Commit

Permalink
normalize gem name without .so or .bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Oct 18, 2023
1 parent 3b690b7 commit 46766e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundled_gems.rb
Expand Up @@ -69,7 +69,7 @@ def self.find_gem(path)
end

def self.warning?(name, specs: nil)
return if specs.to_a.map(&:name).include?(name)
return if specs.to_a.map(&:name).include?(name.sub(LIBEXT, ""))
name = name.tr("/", "-")
_t, path = $:.resolve_feature_path(name)
return unless gem = find_gem(path)
Expand Down

0 comments on commit 46766e9

Please sign in to comment.