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-4.3.3-java lib/appsignal/hooks/rake.rb
appsignal-4.3.3 lib/appsignal/hooks/rake.rb
appsignal-4.3.2-java lib/appsignal/hooks/rake.rb
appsignal-4.3.2 lib/appsignal/hooks/rake.rb
appsignal-4.3.1-java lib/appsignal/hooks/rake.rb
appsignal-4.3.1 lib/appsignal/hooks/rake.rb
appsignal-4.3.0-java lib/appsignal/hooks/rake.rb
appsignal-4.3.0 lib/appsignal/hooks/rake.rb
appsignal-4.2.3-java lib/appsignal/hooks/rake.rb
appsignal-4.2.3 lib/appsignal/hooks/rake.rb
appsignal-4.2.2-java lib/appsignal/hooks/rake.rb
appsignal-4.2.2 lib/appsignal/hooks/rake.rb
appsignal-4.2.1-java lib/appsignal/hooks/rake.rb
appsignal-4.2.1 lib/appsignal/hooks/rake.rb
appsignal-4.2.0-java lib/appsignal/hooks/rake.rb
appsignal-4.2.0 lib/appsignal/hooks/rake.rb
appsignal-4.1.3-java lib/appsignal/hooks/rake.rb
appsignal-4.1.3 lib/appsignal/hooks/rake.rb
appsignal-4.1.2-java lib/appsignal/hooks/rake.rb
appsignal-4.1.2 lib/appsignal/hooks/rake.rb