Module: PatchedDependencies

Defined in:
lib/patched/dependencies.rb

Instance Method Summary collapse

Instance Method Details

#fetch(gems) ⇒ Array

Monkeypatch to run a gem syncing service in the background after fetches.

Parameters:

  • gems (Array)

    An array of gems to fetch.

Returns:

  • (Array)


26
27
28
29
30
# File 'lib/patched/dependencies.rb', line 26

def fetch gems
  fetched = super gems
  Google::Cloud::Gemserver::Backend::StorageSync.run
  fetched
end