Sha256: fc6f7590f9ec19a366229aaf62fa3b3bdffe600d9e83d75ea981bf763f242fb8
Contents?: true
Size: 366 Bytes
Versions: 2
Compression:
Stored size: 366 Bytes
Contents
require 'json' module LicenseFinder class Bower < PackageManager def current_packages output = `bower list --json` json = JSON(output) json.fetch("dependencies",[]).map do |package| BowerPackage.new(package[1], logger: logger) end end private def package_path Pathname.new('bower.json') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
license_finder-1.2 | lib/license_finder/package_managers/bower.rb |
license_finder-1.2-java | lib/license_finder/package_managers/bower.rb |