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

- old
+ new

@@ -7,18 +7,13 @@ license_url: @license_url, project_url: @project_url } end - def name_without_version - return @name unless @name.include?('-') - @name.split('-')[0..-2].join('-') - end - def self.introspected Bundler.load.specs.map do |spec| # bundler versions aren't controlled by the Gemfile - if spec.name == "bundler" + if spec.name == 'bundler' spec.name else "#{spec.name}-#{spec.version}" end end