Sha256: 1496f719d3b746861fa072ed6bef7df762eb6032bf77d1ddae4fa389c466183c

Contents?: true

Size: 307 Bytes

Versions: 102

Compression:

Stored size: 307 Bytes

Contents

class AppsignalMock
  attr_reader :gauges

  def initialize(hostname: nil)
    @hostname = hostname
    @gauges = []
  end

  def config
    ConfigHelpers.project_fixture_config.tap do |conf|
      conf[:hostname] = @hostname if @hostname
    end
  end

  def set_gauge(*args)
    @gauges << args
  end
end

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
appsignal-3.11.0-java spec/support/mocks/appsignal_mock.rb
appsignal-3.11.0 spec/support/mocks/appsignal_mock.rb
appsignal-3.10.0-java spec/support/mocks/appsignal_mock.rb
appsignal-3.10.0 spec/support/mocks/appsignal_mock.rb
appsignal-3.9.3-java spec/support/mocks/appsignal_mock.rb
appsignal-3.9.3 spec/support/mocks/appsignal_mock.rb
appsignal-3.9.2-java spec/support/mocks/appsignal_mock.rb
appsignal-3.9.2 spec/support/mocks/appsignal_mock.rb
appsignal-3.9.1-java spec/support/mocks/appsignal_mock.rb
appsignal-3.9.1 spec/support/mocks/appsignal_mock.rb
appsignal-3.9.0-java spec/support/mocks/appsignal_mock.rb
appsignal-3.9.0 spec/support/mocks/appsignal_mock.rb
appsignal-3.8.1-java spec/support/mocks/appsignal_mock.rb
appsignal-3.8.1 spec/support/mocks/appsignal_mock.rb
appsignal-3.8.0-java spec/support/mocks/appsignal_mock.rb
appsignal-3.8.0 spec/support/mocks/appsignal_mock.rb
appsignal-3.7.6-java spec/support/mocks/appsignal_mock.rb
appsignal-3.7.6 spec/support/mocks/appsignal_mock.rb
appsignal-3.7.2-java spec/support/mocks/appsignal_mock.rb
appsignal-3.7.2 spec/support/mocks/appsignal_mock.rb