Sha256: dcffc8207fc377d57f757eb1bd49ce75aec480430a69e50d8cba8bf1cbc21c7f

Contents?: true

Size: 391 Bytes

Versions: 110

Compression:

Stored size: 391 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.send(:prepend, Appsignal::Integrations::RakeIntegration)
      end
    end
  end
end

Version data entries

110 entries across 110 versions & 1 rubygems

Version Path
appsignal-3.3.11-java lib/appsignal/hooks/rake.rb
appsignal-3.3.11 lib/appsignal/hooks/rake.rb
appsignal-3.4.0-java lib/appsignal/hooks/rake.rb
appsignal-3.4.0 lib/appsignal/hooks/rake.rb
appsignal-3.3.10-java lib/appsignal/hooks/rake.rb
appsignal-3.3.10 lib/appsignal/hooks/rake.rb
appsignal-3.3.9-java lib/appsignal/hooks/rake.rb
appsignal-3.3.9 lib/appsignal/hooks/rake.rb
appsignal-3.3.8-java lib/appsignal/hooks/rake.rb
appsignal-3.3.8 lib/appsignal/hooks/rake.rb
appsignal-3.3.7-java lib/appsignal/hooks/rake.rb
appsignal-3.3.7 lib/appsignal/hooks/rake.rb
appsignal-3.3.6-java lib/appsignal/hooks/rake.rb
appsignal-3.3.6 lib/appsignal/hooks/rake.rb
appsignal-3.3.5-java lib/appsignal/hooks/rake.rb
appsignal-3.3.5 lib/appsignal/hooks/rake.rb
appsignal-3.3.4-java lib/appsignal/hooks/rake.rb
appsignal-3.3.4 lib/appsignal/hooks/rake.rb
appsignal-3.3.3-java lib/appsignal/hooks/rake.rb
appsignal-3.3.3 lib/appsignal/hooks/rake.rb