lib/papers/dependency_specification/gem.rb in papers-1.1.0 vs lib/papers/dependency_specification/gem.rb in papers-1.2.0

- old
+ new

@@ -9,11 +9,13 @@ } end def self.introspected Bundler.load.specs.map do |spec| - # bundler versions aren't controlled by the Gemfile + # Bundler versions aren't controlled by the Gemfile if spec.name == 'bundler' + spec.name + elsif spec.licenses.include?(Papers.config.version_whitelisted_license) spec.name else "#{spec.name}-#{spec.version}" end end