Class: Dependabot::Maven::FileFetcher
- Inherits:
-
FileFetchers::Base
- Object
- FileFetchers::Base
- Dependabot::Maven::FileFetcher
- Defined in:
- lib/dependabot/maven/file_fetcher.rb
Constant Summary collapse
- MODULE_SELECTOR =
"project > modules > module, "\ "profile > modules > module"
Class Method Summary collapse
Class Method Details
.required_files_in?(filenames) ⇒ Boolean
13 14 15 |
# File 'lib/dependabot/maven/file_fetcher.rb', line 13 def self.required_files_in?(filenames) (%w(pom.xml) - filenames).empty? end |
.required_files_message ⇒ Object
17 18 19 |
# File 'lib/dependabot/maven/file_fetcher.rb', line 17 def self. "Repo must contain a pom.xml." end |