Class: Dependabot::Pub::FileUpdater
- Inherits:
-
FileUpdaters::Base
- Object
- FileUpdaters::Base
- Dependabot::Pub::FileUpdater
- Extended by:
- T::Sig
- Includes:
- Helpers
- Defined in:
- lib/dependabot/pub/file_updater.rb
Instance Attribute Summary
Attributes included from Helpers
#credentials, #dependency_files, #options
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Helpers
pub_helpers_path, run_infer_sdk_versions
Class Method Details
.updated_files_regex ⇒ Object
17 18 19 20 21 22 |
# File 'lib/dependabot/pub/file_updater.rb', line 17 def self.updated_files_regex [ %r{^(.*/)?pubspec\.yaml$}, %r{^(.*/)?pubspec\.lock$} ] end |
Instance Method Details
#updated_dependency_files ⇒ Object
25 26 27 |
# File 'lib/dependabot/pub/file_updater.rb', line 25 def updated_dependency_files dependency_services_apply(@dependencies) end |