Sha256: f63aee165c9228ff31859ee7ea56c5bf28144074281d6efd4b0e2e05e21b2d89

Contents?: true

Size: 220 Bytes

Versions: 14

Compression:

Stored size: 220 Bytes

Contents

Rake::Task.class_eval do
  alias_method :original_execute, :execute

  def execute(*args)
    rake = CapistranoSentinel::RequestHooks.new(self)
    rake.automatic_hooks do
      original_execute(*args)
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
capistrano_sentinel-0.0.17 lib/capistrano_sentinel/patches/rake.rb
capistrano_sentinel-0.0.16 lib/capistrano_sentinel/patches/rake.rb
capistrano_sentinel-0.0.15 lib/capistrano_sentinel/patches/rake.rb
capistrano_sentinel-0.0.14 lib/capistrano_sentinel/patches/rake.rb
capistrano_sentinel-0.0.12 lib/capistrano_sentinel/patches/rake.rb
capistrano_sentinel-0.0.10 lib/capistrano_sentinel/patches/rake.rb
capistrano_sentinel-0.0.9 lib/capistrano_sentinel/patches/rake.rb
capistrano_sentinel-0.0.8 lib/capistrano_sentinel/patches/rake.rb
capistrano_sentinel-0.0.7 lib/capistrano_sentinel/patches/rake.rb
capistrano_sentinel-0.0.6 lib/capistrano_sentinel/patches/rake.rb
capistrano_sentinel-0.0.5 lib/capistrano_sentinel/patches/rake.rb
capistrano_sentinel-0.0.3 lib/capistrano_sentinel/patches/rake.rb
capistrano_sentinel-0.0.2 lib/capistrano_sentinel/patches/rake.rb
capistrano_sentinel-0.0.1 lib/capistrano_sentinel/patches/rake.rb