Class: Dependabot::FileUpdaters::Git::Submodules

Inherits:
Base
  • Object
show all
Defined in:
lib/dependabot/file_updaters/git/submodules.rb

Instance Attribute Summary

Attributes inherited from Base

#credentials, #dependencies, #dependency_files

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dependabot::FileUpdaters::Base

Class Method Details

.updated_files_regexObject



9
10
11
# File 'lib/dependabot/file_updaters/git/submodules.rb', line 9

def self.updated_files_regex
  []
end

Instance Method Details

#updated_dependency_filesObject



13
14
15
# File 'lib/dependabot/file_updaters/git/submodules.rb', line 13

def updated_dependency_files
  [updated_file(file: submodule, content: dependency.version)]
end