Sha256: f8735163c060547f9ca4106b367c19c40d2cb50edb6e1096fad63a58089863ec

Contents?: true

Size: 383 Bytes

Versions: 150

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true

module Appsignal
  class Hooks
    # @api private
    class RakeHook < Appsignal::Hooks::Hook
      register :rake

      def dependencies_present?
        defined?(::Rake::Task)
      end

      def install
        require "appsignal/integrations/rake"
        ::Rake::Task.prepend Appsignal::Integrations::RakeIntegration
      end
    end
  end
end

Version data entries

150 entries across 150 versions & 1 rubygems

Version Path
appsignal-3.12.3-java lib/appsignal/hooks/rake.rb
appsignal-3.12.3 lib/appsignal/hooks/rake.rb
appsignal-3.12.2-java lib/appsignal/hooks/rake.rb
appsignal-3.12.2 lib/appsignal/hooks/rake.rb
appsignal-3.12.1-java lib/appsignal/hooks/rake.rb
appsignal-3.12.1 lib/appsignal/hooks/rake.rb
appsignal-3.12.0-java lib/appsignal/hooks/rake.rb
appsignal-3.12.0 lib/appsignal/hooks/rake.rb
appsignal-3.11.0-java lib/appsignal/hooks/rake.rb
appsignal-3.11.0 lib/appsignal/hooks/rake.rb
appsignal-3.10.0-java lib/appsignal/hooks/rake.rb
appsignal-3.10.0 lib/appsignal/hooks/rake.rb
appsignal-3.9.3-java lib/appsignal/hooks/rake.rb
appsignal-3.9.3 lib/appsignal/hooks/rake.rb
appsignal-3.9.2-java lib/appsignal/hooks/rake.rb
appsignal-3.9.2 lib/appsignal/hooks/rake.rb
appsignal-3.9.1-java lib/appsignal/hooks/rake.rb
appsignal-3.9.1 lib/appsignal/hooks/rake.rb
appsignal-3.9.0-java lib/appsignal/hooks/rake.rb
appsignal-3.9.0 lib/appsignal/hooks/rake.rb