Class: Dependabot::Bundler::MetadataFinder
- Inherits:
-
MetadataFinders::Base
- Object
- MetadataFinders::Base
- Dependabot::Bundler::MetadataFinder
- Defined in:
- lib/dependabot/bundler/metadata_finder.rb
Constant Summary collapse
- SOURCE_KEYS =
%w( source_code_uri homepage_uri wiki_uri bug_tracker_uri documentation_uri changelog_uri mailing_list_uri download_uri ).freeze
Instance Method Summary collapse
Instance Method Details
#homepage_url ⇒ Object
23 24 25 26 27 28 |
# File 'lib/dependabot/bundler/metadata_finder.rb', line 23 def homepage_url return super unless %w(default rubygems).include?(new_source_type) return super unless rubygems_api_response["homepage_uri"] rubygems_api_response["homepage_uri"] end |