lib/plain_apm/hooks/deploy.rb in plain_apm-0.7.1 vs lib/plain_apm/hooks/deploy.rb in plain_apm-0.8.0

- old
+ new

@@ -12,15 +12,19 @@ # Collect once, immediately on install. def install collect end + def uninstall + # NOOP + end + def collect result = git_revision || hg_revision || return _, attrs = attributes_from_deploy(*result) - Agent.collect(attrs) + ::PlainApm.agent.collect(attrs) end private # TODO: other deploy mechanisms