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.8.1-java lib/appsignal/hooks/rake.rb
appsignal-3.8.1 lib/appsignal/hooks/rake.rb
appsignal-3.8.0-java lib/appsignal/hooks/rake.rb
appsignal-3.8.0 lib/appsignal/hooks/rake.rb
appsignal-3.7.6-java lib/appsignal/hooks/rake.rb
appsignal-3.7.6 lib/appsignal/hooks/rake.rb
appsignal-3.7.2-java lib/appsignal/hooks/rake.rb
appsignal-3.7.2 lib/appsignal/hooks/rake.rb
appsignal-3.7.1-java lib/appsignal/hooks/rake.rb
appsignal-3.7.1 lib/appsignal/hooks/rake.rb
appsignal-3.7.0-java lib/appsignal/hooks/rake.rb
appsignal-3.7.0 lib/appsignal/hooks/rake.rb
appsignal-3.6.5-java lib/appsignal/hooks/rake.rb
appsignal-3.6.5 lib/appsignal/hooks/rake.rb
appsignal-3.6.4-java lib/appsignal/hooks/rake.rb
appsignal-3.6.4 lib/appsignal/hooks/rake.rb
appsignal-3.6.3-java lib/appsignal/hooks/rake.rb
appsignal-3.6.3 lib/appsignal/hooks/rake.rb
appsignal-3.6.2-java lib/appsignal/hooks/rake.rb
appsignal-3.6.2 lib/appsignal/hooks/rake.rb