Class: Dependabot::FileUpdaters::VendorUpdater
- Inherits:
-
ArtifactUpdater
- Object
- ArtifactUpdater
- Dependabot::FileUpdaters::VendorUpdater
- Extended by:
- T::Helpers, T::Sig
- Defined in:
- lib/dependabot/file_updaters/vendor_updater.rb
Instance Method Summary collapse
-
#initialize(repo_contents_path:, vendor_dir:) ⇒ VendorUpdater
constructor
A new instance of VendorUpdater.
- #updated_vendor_cache_files(base_directory:, only_paths: nil) ⇒ Object
Methods inherited from ArtifactUpdater
Constructor Details
#initialize(repo_contents_path:, vendor_dir:) ⇒ VendorUpdater
Returns a new instance of VendorUpdater.
24 25 26 27 28 |
# File 'lib/dependabot/file_updaters/vendor_updater.rb', line 24 def initialize(repo_contents_path:, vendor_dir:) @repo_contents_path = repo_contents_path @vendor_dir = vendor_dir super(repo_contents_path: @repo_contents_path, target_directory: @vendor_dir) end |
Instance Method Details
#updated_vendor_cache_files(base_directory:, only_paths: nil) ⇒ Object
34 35 36 |
# File 'lib/dependabot/file_updaters/vendor_updater.rb', line 34 def updated_vendor_cache_files(base_directory:, only_paths: nil) updated_files(base_directory: base_directory, only_paths: only_paths) end |