buildkite-test_collector 1.1.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +5 -5
- data/lib/buildkite/test_collector/ci.rb +3 -1
- data/lib/buildkite/test_collector/object.rb +6 -2
- data/lib/buildkite/test_collector/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 520259c47eab4e04270473067134ca2666ff118b4158ef17ae8bf832d2d4b9b5
|
4
|
+
data.tar.gz: 0baf54f0a8e69dab1d3794ba137469e9a4ce4b93108f0d69215b7f6409f92f22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bd552f37653d8e4c55fb98797fd16884fad19fe693670dfc546a6e0883d206f7db4646c0e10f4c6f02f6e39adaa70f95e6c94e21d318cf5ec64810135afc15f
|
7
|
+
data.tar.gz: 281311e6be534df2b1b6ff4fe3815683cfdeb0ab00ec2de0ad04ac9906256e0278aa8ccc5896f9a048ac7a9b87c950b5616b85b3dd1456671373f0235d2ed49e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## v1.2.4
|
4
|
+
|
5
|
+
- Fix sleep instrumentation errors without argument #153 - @JuanitoFatas
|
6
|
+
|
7
|
+
## v1.2.3
|
8
|
+
|
9
|
+
- Add ability to specify execution prefix/suffix #140 - @JuanitoFatas
|
10
|
+
|
3
11
|
## v1.1.3
|
4
12
|
- Use a private reference to JSON.parse to prevent it being mocked #149 - @ghcan
|
5
13
|
|
data/Gemfile.lock
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
buildkite-test_collector (1.
|
4
|
+
buildkite-test_collector (1.2.4)
|
5
5
|
activesupport (>= 5.2, < 8)
|
6
6
|
websocket (~> 1.2)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (7.0.
|
11
|
+
activesupport (7.0.4)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
13
|
i18n (>= 1.6, < 2)
|
14
14
|
minitest (>= 5.1)
|
15
15
|
tzinfo (~> 2.0)
|
16
16
|
concurrent-ruby (1.1.10)
|
17
17
|
diff-lcs (1.4.4)
|
18
|
-
i18n (1.
|
18
|
+
i18n (1.12.0)
|
19
19
|
concurrent-ruby (~> 1.0)
|
20
|
-
minitest (5.16.
|
20
|
+
minitest (5.16.3)
|
21
21
|
rake (13.0.6)
|
22
22
|
rspec (3.10.0)
|
23
23
|
rspec-core (~> 3.10.0)
|
@@ -32,7 +32,7 @@ GEM
|
|
32
32
|
diff-lcs (>= 1.2.0, < 2.0)
|
33
33
|
rspec-support (~> 3.10.0)
|
34
34
|
rspec-support (3.10.3)
|
35
|
-
tzinfo (2.0.
|
35
|
+
tzinfo (2.0.5)
|
36
36
|
concurrent-ruby (~> 1.0)
|
37
37
|
websocket (1.2.9)
|
38
38
|
|
@@ -35,9 +35,11 @@ class Buildkite::TestCollector::CI
|
|
35
35
|
"job_id" => ENV["BUILDKITE_ANALYTICS_JOB_ID"],
|
36
36
|
"message" => ENV["BUILDKITE_ANALYTICS_MESSAGE"],
|
37
37
|
"debug" => ENV["BUILDKITE_ANALYTICS_DEBUG_ENABLED"],
|
38
|
+
"execution_name_prefix" => ENV["BUILDKITE_ANALYTICS_EXECUTION_NAME_PREFIX"],
|
39
|
+
"execution_name_suffix" => ENV["BUILDKITE_ANALYTICS_EXECUTION_NAME_SUFFIX"],
|
38
40
|
"version" => Buildkite::TestCollector::VERSION,
|
39
41
|
"collector" => Buildkite::TestCollector::NAME,
|
40
|
-
|
42
|
+
}.compact
|
41
43
|
end
|
42
44
|
|
43
45
|
def generic
|
@@ -3,11 +3,15 @@
|
|
3
3
|
module Buildkite::TestCollector
|
4
4
|
class Object
|
5
5
|
module CustomObjectSleep
|
6
|
-
def sleep(duration)
|
6
|
+
def sleep(duration = nil)
|
7
7
|
tracer = Buildkite::TestCollector::Uploader.tracer
|
8
8
|
tracer&.enter("sleep")
|
9
9
|
|
10
|
-
|
10
|
+
if duration
|
11
|
+
super(duration)
|
12
|
+
else
|
13
|
+
super()
|
14
|
+
end
|
11
15
|
ensure
|
12
16
|
tracer&.leave
|
13
17
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildkite-test_collector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Buildkite
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
- !ruby/object:Gem::Version
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
|
-
rubygems_version: 3.
|
138
|
+
rubygems_version: 3.3.3
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Track test executions and report to Buildkite Test Analytics
|