lib/indexer/conversion/gemspec_exporter.rb in indexer-0.1.0 vs lib/indexer/conversion/gemspec_exporter.rb in indexer-0.2.0
- old
+ new
@@ -153,10 +153,11 @@
def licenses
metadata['copyrights'].map{ |c| c['license'] }.compact
end
def require_paths
- metadata['load_path'] || ['lib']
+ paths = metadata['paths'] || {}
+ paths['load'] || ['lib']
end
#
# Convert to gemnspec.
#