Skip to content

Commit

Permalink
Remove no longer needed code
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Aug 19, 2022
1 parent 7f00e9f commit 05666d5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/warbler/gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ def specs(gem_dependencies)
# Add a single gem to WEB-INF/gems
def find_single_gem_files(gem_dependencies, gem_pattern, version = nil)
gem_spec_class = Gem::Specification
gem_spec_class = Gem::BasicSpecification if Gem.const_defined?(:BasicSpecification)
# Gem::Specification < Gem::BasicSpecification (since RGs 2.1)
case gem_pattern
when gem_spec_class
return BundlerHelper.to_spec(gem_pattern)
Expand Down

0 comments on commit 05666d5

Please sign in to comment.