Releases: buildkite/test-collector-ruby
Releases · buildkite/test-collector-ruby
v1.1.3
v1.1.2
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
- @SocalNick made their first contribution in #137
Full Changelog: v1.1.1...v1.1.2
v1.1.1
What's Changed
- Remove whitespace characters from ANALYTICS_TOKEN to avoid multi-line headers by @gchan in #127
- Allow specifying run name prefix and suffix by @JuanitoFatas in #130
- Use
after_teardown
instead ofbefore_teardown
in MiniTest by @davidstosik in #133 - Use the private reference trick to get time instead by @JuanitoFatas in #132
- Release v1.1.1 by @JuanitoFatas in #134
New Contributors
- @gchan made their first contribution in #127
- @davidstosik made their first contribution in #133
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
- Remove warnings by @JuanitoFatas in #116
- Remove unused debug_filepath by @JuanitoFatas in #115
- Update rspec-buildkite-analytics with buildkite-test_collector by @JuanitoFatas in #117
- Use new Minitest spelling by @JuanitoFatas in #118
- Loading minitest without initializing the plugin should work by @paulca in #125
- Release v1.1.0 by @JuanitoFatas in #120
Full Changelog: v1.0.1...v1.1.0
v1.0.1
What's Changed
- Fix
project_dir
issue expecting a string, not aPathname
by @paulca in #112 - Add codeowners by @blaknite in #110
- Bump version to v1.0.1 by @JuanitoFatas in #114
New Contributors
Full Changelog: v1.0.0...v1.0.1
v1.0.0
🎂
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
fromRSpec::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)