Class: Dependabot::GitSubmodules::FileUpdater

Inherits:
FileUpdaters::Base
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/dependabot/git_submodules/file_updater.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.updated_files_regexObject



15
16
17
18
19
# File 'lib/dependabot/git_submodules/file_updater.rb', line 15

def self.updated_files_regex
  [
    /^.*/
  ]
end

Instance Method Details

#updated_dependency_filesObject



22
23
24
# File 'lib/dependabot/git_submodules/file_updater.rb', line 22

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