appmap 0.63.0 → 0.64.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/appmap/service/validator/config_validator.rb +3 -3
- data/lib/appmap/version.rb +1 -1
- data/test/agent_setup_validate_test.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0df13ca1b5fd3d0dbba13b97bdb28e5fd3e37a62763282769d370fd1c7f3d9bc
|
4
|
+
data.tar.gz: d2cf8db5e9fdbd0c9802a514d9a35f19caa305fad9eeb7ecef42fb6d195a8735
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 327795a4c2903e30f487ec12c3e989a79d42f9c3b9d4dcd1ef3d5e863cbdefecc189f157a61cd3652c985f92a39d94f915eeee52db5d41ed6ac1f9fa8befc0cf
|
7
|
+
data.tar.gz: cc3a9a103df311b1060050207557bd76f898314295562d6913279924ad13983fcb720bacefd553857b551e07f4ec0b308334ae944adafd72ba624487d61b5031
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [0.64.0](https://github.com/applandinc/appmap-ruby/compare/v0.63.0...v0.64.0) (2021-08-24)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* Show config file name in validation messages ([95520f8](https://github.com/applandinc/appmap-ruby/commit/95520f83a2b27fae6a3d5751cc1a4a1180c2dc25))
|
7
|
+
|
1
8
|
# [0.63.0](https://github.com/applandinc/appmap-ruby/compare/v0.62.1...v0.63.0) (2021-08-24)
|
2
9
|
|
3
10
|
|
@@ -39,7 +39,7 @@ module AppMap
|
|
39
39
|
rescue Psych::SyntaxError => e
|
40
40
|
@violations << Violation.error(
|
41
41
|
filename: @config_file,
|
42
|
-
message:
|
42
|
+
message: "AppMap configuration #{@config_file} is not valid YAML",
|
43
43
|
detailed_message: e.message
|
44
44
|
)
|
45
45
|
nil
|
@@ -52,7 +52,7 @@ module AppMap
|
|
52
52
|
rescue StandardError => e
|
53
53
|
@violations << Violation.error(
|
54
54
|
filename: @config_file,
|
55
|
-
message:
|
55
|
+
message: "AppMap configuration #{@config_file} could not be loaded",
|
56
56
|
detailed_message: e.message
|
57
57
|
)
|
58
58
|
nil
|
@@ -62,7 +62,7 @@ module AppMap
|
|
62
62
|
unless present?
|
63
63
|
@violations << Violation.error(
|
64
64
|
filename: @config_file,
|
65
|
-
message:
|
65
|
+
message: "AppMap configuration #{@config_file} file does not exist"
|
66
66
|
)
|
67
67
|
end
|
68
68
|
end
|
data/lib/appmap/version.rb
CHANGED
@@ -30,7 +30,7 @@ class AgentSetupValidateTest < Minitest::Test
|
|
30
30
|
{
|
31
31
|
level: :error,
|
32
32
|
filename: NON_EXISTING_CONFIG_FILENAME,
|
33
|
-
message:
|
33
|
+
message: "AppMap configuration #{NON_EXISTING_CONFIG_FILENAME} file does not exist"
|
34
34
|
}
|
35
35
|
])
|
36
36
|
assert_equal expected, output.strip
|
@@ -47,7 +47,7 @@ class AgentSetupValidateTest < Minitest::Test
|
|
47
47
|
{
|
48
48
|
level: :error,
|
49
49
|
filename: INVALID_YAML_CONFIG_FILENAME,
|
50
|
-
message:
|
50
|
+
message: "AppMap configuration #{INVALID_YAML_CONFIG_FILENAME} is not valid YAML",
|
51
51
|
detailed_message: "(#{INVALID_YAML_CONFIG_FILENAME}): " \
|
52
52
|
'did not find expected key while parsing a block mapping at line 1 column 1'
|
53
53
|
}
|
@@ -66,7 +66,7 @@ class AgentSetupValidateTest < Minitest::Test
|
|
66
66
|
{
|
67
67
|
level: :error,
|
68
68
|
filename: INVALID_CONFIG_FILENAME,
|
69
|
-
message:
|
69
|
+
message: "AppMap configuration #{INVALID_CONFIG_FILENAME} could not be loaded",
|
70
70
|
detailed_message: "no implicit conversion of String into Integer"
|
71
71
|
}
|
72
72
|
])
|