Skip to content

Commit e4b28a4

Browse files
Merge pull request #465 from wordpress-mobile/update/buildkite-test-collector
Update `buildkite-test_collector` to `2.2.0`
2 parents 1fd7171 + 921240b commit e4b28a4

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ _None_
2323
- Add the branch information to the 'This is not a release branch' error that's thrown from complete code freeze lane. [#461]
2424
- Update `octokit` to `5.6.1` This is a major version bump from version `4.18`, but is not a breaking change for the Release Toolkit because it doesn't change any public APIs for clients. [#464]
2525
- Update `danger` to `9.3.0`. This is an internal-only change and is not a breaking change for clients. [#464]
26+
- Replace `rspec-buildkite-analytics` with `buildkite-test_collector` (Buildkite renamed the gem) and update it to `2.2.0`. This is another internal-only change and is not a breaking change for clients. [#465]
2627
- Adds `ignore_pipeline_branch_filters=true` parameter to the API call triggering a Buildkite build [#468]
2728

2829
## 7.0.0

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ gem 'codecov', require: false
99
gem 'webmock', require: false
1010
gem 'yard'
1111

12-
gem 'rspec-buildkite-analytics', '~> 0.8.1'
12+
gem 'buildkite-test_collector', '~> 2.2'

Gemfile.lock

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ GEM
5555
bigdecimal (1.4.4)
5656
buildkit (1.5.0)
5757
sawyer (>= 0.6)
58+
buildkite-test_collector (2.2.0)
59+
activesupport (>= 4.2)
5860
chroma (0.2.0)
5961
claide (1.1.0)
6062
claide-plugins (0.9.2)
@@ -323,11 +325,6 @@ GEM
323325
rspec-core (~> 3.12.0)
324326
rspec-expectations (~> 3.12.0)
325327
rspec-mocks (~> 3.12.0)
326-
rspec-buildkite-analytics (0.8.2)
327-
activesupport (>= 5.2, < 8)
328-
rspec-core (~> 3.10)
329-
rspec-expectations (~> 3.10)
330-
websocket (~> 1.2)
331328
rspec-core (3.12.2)
332329
rspec-support (~> 3.12.0)
333330
rspec-expectations (3.12.3)
@@ -398,7 +395,6 @@ GEM
398395
crack (>= 0.3.2)
399396
hashdiff (>= 0.4.0, < 2.0.0)
400397
webrick (1.8.1)
401-
websocket (1.2.9)
402398
word_wrap (1.0.0)
403399
xcodeproj (1.22.0)
404400
CFPropertyList (>= 2.3.3, < 4.0)
@@ -417,6 +413,7 @@ PLATFORMS
417413
ruby
418414

419415
DEPENDENCIES
416+
buildkite-test_collector (~> 2.1)
420417
bundler (~> 2.0)
421418
cocoapods (~> 1.10)
422419
codecov
@@ -427,7 +424,6 @@ DEPENDENCIES
427424
pry (~> 0.12.2)
428425
rmagick (~> 4.1)
429426
rspec (~> 3.8)
430-
rspec-buildkite-analytics (~> 0.8.1)
431427
rspec_junit_formatter (~> 0.4.1)
432428
rubocop (~> 1.0)
433429
rubocop-require_tools (~> 0.1.2)

spec/spec_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require 'simplecov'
44
require 'codecov'
55
require 'webmock/rspec'
6-
require 'rspec/buildkite/analytics'
6+
require 'buildkite/test_collector'
77

88
# SimpleCov.minimum_coverage 95
99
SimpleCov.start
@@ -15,7 +15,7 @@
1515

1616
# Buildkite Test Analytics
1717
WebMock.disable_net_connect!(allow: 'analytics-api.buildkite.com')
18-
RSpec::Buildkite::Analytics.configure(token: ENV['BUILDKITE_ANALYTICS_TOKEN'])
18+
Buildkite::TestCollector.configure(hook: :rspec)
1919

2020
# This module is only used to check the environment is currently a testing env
2121
module SpecHelper

0 commit comments

Comments
 (0)