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.7.1-java spec/support/mocks/appsignal_mock.rb
appsignal-3.7.1 spec/support/mocks/appsignal_mock.rb
appsignal-3.7.0-java spec/support/mocks/appsignal_mock.rb
appsignal-3.7.0 spec/support/mocks/appsignal_mock.rb
appsignal-3.6.5-java spec/support/mocks/appsignal_mock.rb
appsignal-3.6.5 spec/support/mocks/appsignal_mock.rb
appsignal-3.6.4-java spec/support/mocks/appsignal_mock.rb
appsignal-3.6.4 spec/support/mocks/appsignal_mock.rb
appsignal-3.6.3-java spec/support/mocks/appsignal_mock.rb
appsignal-3.6.3 spec/support/mocks/appsignal_mock.rb
appsignal-3.6.2-java spec/support/mocks/appsignal_mock.rb
appsignal-3.6.2 spec/support/mocks/appsignal_mock.rb
appsignal-3.6.1-java spec/support/mocks/appsignal_mock.rb
appsignal-3.6.1 spec/support/mocks/appsignal_mock.rb
appsignal-3.6.0-java spec/support/mocks/appsignal_mock.rb
appsignal-3.6.0 spec/support/mocks/appsignal_mock.rb
appsignal-3.5.6-java spec/support/mocks/appsignal_mock.rb
appsignal-3.5.6 spec/support/mocks/appsignal_mock.rb
appsignal-3.5.5-java spec/support/mocks/appsignal_mock.rb
appsignal-3.5.5 spec/support/mocks/appsignal_mock.rb