buildkite-test_collector 1.2.3 → 1.2.4

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: 457b9dff2d6567d8be85f8a3e120500b04ef33aa93b9a1fa971c781cc8ff9471
4
- data.tar.gz: 85a55ce20a129628d2379f73a62da0e29cef6cae0359987b986e23ce71a3ed86
3
+ metadata.gz: 520259c47eab4e04270473067134ca2666ff118b4158ef17ae8bf832d2d4b9b5
4
+ data.tar.gz: 0baf54f0a8e69dab1d3794ba137469e9a4ce4b93108f0d69215b7f6409f92f22
5
5
  SHA512:
6
- metadata.gz: 6d3f6a44bcb2743e2389b1ae8fc15dfce3721aec0f161cbc147843c6759a00eb29ffa16f917665f571cb7f62ec81c059a08e67323629196fa03cc73e601155ed
7
- data.tar.gz: 9131b6ced770ab95c5a98c399cc45d108aab5bdc74d9f8e4c7a7ea9bb63d9d07126f0b93e2f759b2fad4b0b76761679ccc7bc580298c2586fbdbf33e14c8fe0d
6
+ metadata.gz: 0bd552f37653d8e4c55fb98797fd16884fad19fe693670dfc546a6e0883d206f7db4646c0e10f4c6f02f6e39adaa70f95e6c94e21d318cf5ec64810135afc15f
7
+ data.tar.gz: 281311e6be534df2b1b6ff4fe3815683cfdeb0ab00ec2de0ad04ac9906256e0278aa8ccc5896f9a048ac7a9b87c950b5616b85b3dd1456671373f0235d2ed49e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v1.2.4
4
+
5
+ - Fix sleep instrumentation errors without argument #153 - @JuanitoFatas
6
+
3
7
  ## v1.2.3
4
8
 
5
9
  - Add ability to specify execution prefix/suffix #140 - @JuanitoFatas
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- buildkite-test_collector (1.2.3)
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.3.1)
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)
@@ -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
- super
10
+ if duration
11
+ super(duration)
12
+ else
13
+ super()
14
+ end
11
15
  ensure
12
16
  tracer&.leave
13
17
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Buildkite
4
4
  module TestCollector
5
- VERSION = "1.2.3"
5
+ VERSION = "1.2.4"
6
6
  NAME = "buildkite-test_collector"
7
7
  end
8
8
  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.2.3
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-08-22 00:00:00.000000000 Z
11
+ date: 2022-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport