appmap 0.103.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -3
- data/CHANGELOG.md +12 -0
- data/lib/appmap/minitest.rb +12 -2
- data/lib/appmap/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ae8f99b6edb988e9ec0e6e3ee31967d754ece4edf7dce0b34d025ff20dcabc9
|
4
|
+
data.tar.gz: 77311214bb3064101a08664e794550cdcb4759c15a6739780f3aafe76f19bdb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4ea141233301848f5de54bce11a59a69545f364e82dc984c4e6588088350a0ca5f1479acbc4595829c90bf0533ae17aea53b067da9f11bd1488c53b3068ebc6
|
7
|
+
data.tar.gz: 0c3486071282f8edfbca7bedd3e72efd0f77753c721e48f2e375f65ed8c57c2b8d29558cf0f4d8805309e243f1805417a9d6c66126003124831b2a4f03879343
|
data/.travis.yml
CHANGED
@@ -16,11 +16,15 @@ rvm:
|
|
16
16
|
- 3.2.0
|
17
17
|
|
18
18
|
addons:
|
19
|
-
postgresql: "
|
19
|
+
postgresql: "14"
|
20
20
|
apt:
|
21
21
|
packages:
|
22
|
-
- postgresql-
|
23
|
-
- postgresql-client-
|
22
|
+
- postgresql-14
|
23
|
+
- postgresql-client-14
|
24
|
+
env:
|
25
|
+
global:
|
26
|
+
- PGPORT=5433
|
27
|
+
- PGUSER=travis
|
24
28
|
|
25
29
|
before_deploy:
|
26
30
|
- nvm install lts/*
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
# [1.0.0](https://github.com/getappmap/appmap-ruby/compare/v0.103.0...v1.0.0) (2024-02-06)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* disable recording for tests tagged :noappmap ([0278ad9](https://github.com/getappmap/appmap-ruby/commit/0278ad982d72e8fc229f5f5c0ebf6fb607488018))
|
7
|
+
|
8
|
+
|
9
|
+
### BREAKING CHANGES
|
10
|
+
|
11
|
+
* bump to version 1.0.0
|
12
|
+
|
1
13
|
# [0.103.0](https://github.com/getappmap/appmap-ruby/compare/v0.102.2...v0.103.0) (2023-12-18)
|
2
14
|
|
3
15
|
|
data/lib/appmap/minitest.rb
CHANGED
@@ -85,14 +85,24 @@ module AppMap
|
|
85
85
|
|
86
86
|
@recording_count += 1
|
87
87
|
|
88
|
-
|
88
|
+
recording = if defined?(::Minitest::Tagz) && disabled_by_tag(test, name)
|
89
|
+
:disabled
|
90
|
+
else
|
91
|
+
Recording.new(test, name)
|
92
|
+
end
|
93
|
+
@recordings_by_test[test.object_id] = recording
|
94
|
+
end
|
95
|
+
|
96
|
+
def disabled_by_tag(test, name)
|
97
|
+
tags = ::Minitest::Tagz.tag_map[::Minitest::Tagz.serialize(test.class, name)]
|
98
|
+
tags && tags.include?("noappmap")
|
89
99
|
end
|
90
100
|
|
91
101
|
def end_test(test, exception:)
|
92
102
|
recording = @recordings_by_test.delete(test.object_id)
|
93
103
|
return warn "No recording found for #{test}" unless recording
|
94
104
|
|
95
|
-
recording.finish test.failures || [], exception
|
105
|
+
recording.finish test.failures || [], exception unless recording == :disabled
|
96
106
|
end
|
97
107
|
|
98
108
|
def config
|
data/lib/appmap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appmap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Gilpin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: method_source
|