Skip to content

Releases: buildkite/test-collector-ruby

v1.1.3

10 Aug 04:53
v1.1.3
d685039
Compare
Choose a tag to compare

What's Changed

  • Use a private reference to JSON.parse to prevent it being mocked by @gchan in #149
  • Version 1.1.3 by @gchan in #150

Full Changelog: v1.1.2...v1.1.3

v1.1.2

10 Aug 00:46
f861373
Compare
Choose a tag to compare

What's Changed

  • Remove branch reference prefix in Github Actions by @gchan in #136
  • Make ruby collector work better for non-web app by @JuanitoFatas in #128
  • Avoid linters complaining about double quotes by @SocalNick in #137
  • Revert "Allow specifying run name prefix and suffix" by @JuanitoFatas in #139
  • Update Code of Conduct contract email address by @JuanitoFatas in #143
  • Add some design documentation to understand how the gem works by @swebb in #146
  • Suppress errors when connecting to Buildkite by @swebb in #145
  • Fix logging level from debug to error by @gchan in #147
  • Version 1.1.2 by @swebb in #148

New Contributors

Full Changelog: v1.1.1...v1.1.2

v1.1.1

30 Jun 03:41
1e1ec25
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.1.1

v1.1.0

21 Jun 01:10
25676f8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.1...v1.1.0

v1.0.1

10 Jun 06:41
f96b858
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.0.1

v1.0.0

10 Jun 06:40
9f4e811
Compare
Choose a tag to compare

🎂

Upgrading to v1.0.0

v1.0.0 contains some breaking changes. It also adds support for Logging.

What's New

This release has breaking changes.

  • We renamed the gem to Buildkite::TestCollector from RSpec::Buildkite::Analytics.
  • Supports Rails >= 5.2, < 8
  • Tokens will be read from ENV["BUILDKITE_ANALYTICS_TOKEN"] automatically. Please set it securely (link to Buildkite for example) on your CI environment.
  • Added Logging support
  • Added Minitest support

Upgrade

  • Change this at your Gemfile

    gem "buildkite-test_collector", "< 2"
  • Make changes described below

  • Run your tests and fix any error

File location changes

Change the require statement of the gem:

- require "rspec/buildkite/analytics"
+ require "buildkite/test_collector"

API Changes

RSpec::Buildkite::Analytics replaced by Buildkite::TestCollector:

Buildkite::TestCollector.configure(hook: :rspec)

and replace all occurrences of RSpec::Buildkite::Analytics.annotate with Buildkite::TestCollector.annotate.

Logging Changes

Logging has been added. By default it emits warning from WARN level. Rails’s default log level is DEBUG in all environments. To silent logs from Buildkite::Collector, set the log level to ERROR.

Buildkite::TestCollector.logger.level = Logger::ERROR

Minitest Support

Buildkite::TestCollector.configure(hook: :minitest)