appsignal 2.10.1-java → 2.10.2-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91b8e38ba07647e783d827e3b450677e989b60b9bb7bdd1c246d496ccbe1ee97
4
- data.tar.gz: 9fb5c0693f9b26a6dca4d6fc81248dbbd3a0b2869910bd523b02e89de50a57d4
3
+ metadata.gz: d916c32303b06205ace0030078f35290579311ed6ce39878393b5b357e257e16
4
+ data.tar.gz: '09d596e29a82bf7c034b484e207889540338f0d00979619b847a8483c7790fa2'
5
5
  SHA512:
6
- metadata.gz: 2592257d868f854b42af2caf1286b535f4a4417a60f076908f4358280d0585195eafdcd0cd5fae9e1f3825b3a267195aa7f09c16c794d1f96cbf9cbeb173e7b7
7
- data.tar.gz: 926afa74036918189fcb7846e9a901309415cc73a8e626311ce797bbc8330586c86566ee29c9de99555c819174ef43c6918cf0187b3d10d8c419de53e8403771
6
+ metadata.gz: 1a9b3456093a22296840fd4c3e3493c188410114c090088ee21bdf1a7dd7cf74b15f2732dad1e9f0d94d0bef1c0e8fc7e53ee79508402d6b5237d1bc99466bf6
7
+ data.tar.gz: cb35aa1310941a00a78baef9ab1318543fa84c178afbd734fde178d79efa496592b813c8a0d89536106ce8ab9b19d3b2c46f44a7eb8b3bfae802a286964a1a1f
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.10.2
4
+ - Fix wait_for test suite helper. PR #581
5
+ - Fix exception handling of config file issues. PR #582
6
+ - The improvement introduced in #517 didn't fetch the class name correctly
7
+ causing an error on most scenarios.
8
+
3
9
  ## 2.10.1
4
10
  - Update to more recent bundled SSL CA certificates. PR #577
5
11
  - Remove TLS version lock from transmitter used by diagnose command, preventing
@@ -284,7 +284,7 @@ module Appsignal
284
284
  message = "An error occured while loading the AppSignal config file." \
285
285
  " Skipping file config.\n" \
286
286
  "File: #{config_file.inspect}\n" \
287
- "#{e.name}: #{e}"
287
+ "#{e.class.name}: #{e}"
288
288
  $stderr.puts "appsignal: #{message}"
289
289
  logger.error "#{message}\n#{e.backtrace.join("\n")}"
290
290
  nil
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Appsignal
4
- VERSION = "2.10.1".freeze
4
+ VERSION = "2.10.2".freeze
5
5
  end
@@ -258,7 +258,7 @@ describe Appsignal::Config do
258
258
  message = "An error occured while loading the AppSignal config file. " \
259
259
  "Skipping file config.\n" \
260
260
  "File: #{File.join(config_path, "config", "appsignal.yml").inspect}\n" \
261
- "NotExistingConstant: uninitialized constant NotExistingConstant\n"
261
+ "KeyError: key not found"
262
262
  expect(log).to contains_log :error, message
263
263
  expect(log).to include("/appsignal/config.rb:") # Backtrace
264
264
  expect(stdout.read).to_not include("appsignal:")
@@ -1 +1 @@
1
- <%= NotExistingConstant.not_existing_method %>
1
+ <%= ENV.fetch("I AM A KEY THAT DOES NOT EXIST") %>
@@ -16,13 +16,13 @@ module WaitForHelper
16
16
  def wait_for(name)
17
17
  max_wait = 5_000
18
18
  i = 0
19
- while i <= max_wait
19
+ while i < max_wait
20
20
  break if yield
21
21
  i += 1
22
22
  sleep 0.001
23
23
  end
24
24
 
25
- return unless i == max_wait
25
+ return unless i >= max_wait
26
26
  raise "Waited 5 seconds for #{name} condition, but was not met."
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appsignal
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.1
4
+ version: 2.10.2
5
5
  platform: java
6
6
  authors:
7
7
  - Robert Beekman
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-01-10 00:00:00.000000000 Z
13
+ date: 2020-01-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rack