Skip to content

issue with sneakers when using kicks instead #1617

@fdsxcvgb

Description

@fdsxcvgb

Describe the bug

sneakers is not maintained anymore. it has been replace by kicks

Steps to reproduce

replace sneakers by kicks

then you get an error

NoMethodError: undefined method 'version' for nil (NoMethodError)

        Gem.loaded_specs['sneakers'].version >= Gem::Version.create('2.12.0')

because of this

module ElasticAPM
  # @api private
  module Spies
    # @api private
    class SneakersSpy
      include Logging

      def self.supported_version?
        Gem.loaded_specs['sneakers'].version >= Gem::Version.create('2.12.0')
      end

Expected behavior

no error when using kicks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions