Sha256: a152ca96448926edcc069bf35c79abca1c124e6990a432da08de5baefe798f46

Contents?: true

Size: 133 Bytes

Versions: 428

Compression:

Stored size: 133 Bytes

Contents

module SystemHelpers
  def recognize_as_heroku
    ENV["DYNO"] = "dyno1"
    value = yield
    ENV.delete "DYNO"
    value
  end
end

Version data entries

428 entries across 428 versions & 1 rubygems

Version Path
appsignal-2.5.1.beta.1-java spec/support/helpers/system_helpers.rb
appsignal-2.5.1.beta.1 spec/support/helpers/system_helpers.rb
appsignal-2.5.0-java spec/support/helpers/system_helpers.rb
appsignal-2.5.0 spec/support/helpers/system_helpers.rb
appsignal-2.5.0.beta.1-java spec/support/helpers/system_helpers.rb
appsignal-2.5.0.beta.1 spec/support/helpers/system_helpers.rb
appsignal-2.5.0.alpha.1-java spec/support/helpers/system_helpers.rb
appsignal-2.5.0.alpha.1 spec/support/helpers/system_helpers.rb
appsignal-2.4.3 spec/support/helpers/system_helpers.rb
appsignal-2.4.2 spec/support/helpers/system_helpers.rb
appsignal-2.4.1 spec/support/helpers/system_helpers.rb
appsignal-2.4.0 spec/support/helpers/system_helpers.rb
appsignal-2.4.0.alpha.1 spec/support/helpers/system_helpers.rb
appsignal-2.3.7 spec/support/helpers/system_helpers.rb
appsignal-2.3.6 spec/support/helpers/system_helpers.rb
appsignal-2.3.6.beta.1 spec/support/helpers/system_helpers.rb
appsignal-2.3.4 spec/support/helpers/system_helpers.rb
appsignal-2.3.3 spec/support/helpers/system_helpers.rb
appsignal-2.3.3.beta.1 spec/support/helpers/system_helpers.rb
appsignal-2.3.2 spec/support/helpers/system_helpers.rb