Sha256: a473011787c2d92905915c8017b9439a1e8c3b2ea99f2dfbfba437c336a341e8

Contents?: true

Size: 337 Bytes

Versions: 2

Compression:

Stored size: 337 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do |config|
  adapter = Capistrano::Measure::Adapter.new(logger)

  on :before do
    adapter.before_task(current_task.fully_qualified_name)
  end

  on :after do
    adapter.after_task(current_task.fully_qualified_name)
  end

  config.on :exit do
    adapter.print_report
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capistrano-measure-0.8.1 lib/capistrano/measure/integration/capistrano_2.rb
capistrano-measure-0.8.0 lib/capistrano/measure/integration/capistrano_2.rb