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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da7a93e936ce2a43f5003c66a1c690b2a02add786ab25f620b09febeafe64859
4
- data.tar.gz: f4b5bc2e8aa1fe181900fa31b2d3d1965fdbe79e6f8a4c9122039367c4b8bf40
3
+ metadata.gz: 3ae8f99b6edb988e9ec0e6e3ee31967d754ece4edf7dce0b34d025ff20dcabc9
4
+ data.tar.gz: 77311214bb3064101a08664e794550cdcb4759c15a6739780f3aafe76f19bdb2
5
5
  SHA512:
6
- metadata.gz: 8dc10f3ea70a97280466c1d36c693bf33bb6ef3874ee9fcc42dfd2cb38af04138e7206a434a45218beded2827737e0c34eaefe3ed016acc2d0052d9b04de2465
7
- data.tar.gz: 6b0d23c664a28695748c83b4229e7321853025db183d100c3ce30ec9f3c4ce98228502fbb9e95e51ebfda22ac6849a73680854f94e4ae968ac22be0d9c0ea0da
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: "13"
19
+ postgresql: "14"
20
20
  apt:
21
21
  packages:
22
- - postgresql-13
23
- - postgresql-client-13
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
 
@@ -85,14 +85,24 @@ module AppMap
85
85
 
86
86
  @recording_count += 1
87
87
 
88
- @recordings_by_test[test.object_id] = Recording.new(test, name)
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
@@ -3,7 +3,7 @@
3
3
  module AppMap
4
4
  URL = 'https://github.com/applandinc/appmap-ruby'
5
5
 
6
- VERSION = '0.103.0'
6
+ VERSION = '1.0.0'
7
7
 
8
8
  APPMAP_FORMAT_VERSION = '1.12.0'
9
9
 
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.103.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: 2023-12-18 00:00:00.000000000 Z
11
+ date: 2024-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: method_source