Class: LicenseFinder::Bower
Instance Method Summary
collapse
#active?, #command_exists?, #current_packages_with_relations, #detected_package_path, id, #initialize, #installed?, #prepare, #project_root?, takes_priority_over
Instance Method Details
#current_packages ⇒ Object
7
8
9
10
11
|
# File 'lib/license_finder/package_managers/bower.rb', line 7
def current_packages
bower_output.map do |package|
BowerPackage.new(package, logger: logger)
end
end
|
#package_management_command ⇒ Object
13
14
15
|
# File 'lib/license_finder/package_managers/bower.rb', line 13
def package_management_command
'bower'
end
|
#possible_package_paths ⇒ Object
21
22
23
|
# File 'lib/license_finder/package_managers/bower.rb', line 21
def possible_package_paths
[project_path.join('bower.json')]
end
|
#prepare_command ⇒ Object
17
18
19
|
# File 'lib/license_finder/package_managers/bower.rb', line 17
def prepare_command
'bower install'
end
|