Sha256: 1126fa705c00bc4ee1795f07aef97390b9d5ee96b52d220e7d65df9841a8412f

Contents?: true

Size: 345 Bytes

Versions: 3

Compression:

Stored size: 345 Bytes

Contents

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

  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

3 entries across 3 versions & 1 rubygems

Version Path
capistrano-measure-0.10.0 lib/capistrano/measure/integration/capistrano_2.rb
capistrano-measure-0.9.1 lib/capistrano/measure/integration/capistrano_2.rb
capistrano-measure-0.9.0 lib/capistrano/measure/integration/capistrano_2.rb