Skip to content

Commit

Permalink
Merge pull request #170 from buildkite/pie-1365-update-ruby-collector…
Browse files Browse the repository at this point in the history
…-name-to-be

[PIE-1365] Update ruby collector API payload
  • Loading branch information
KatieWright26 authored Jan 19, 2023
2 parents 58577ea + 1919ac4 commit 6420d36
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v1.4.2

- Update collector argument in the Analytics::API payload #170 - @KatieWright26

## v1.4.1
- Add in support to create file with trace data #167

Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
PATH
remote: .
specs:
buildkite-test_collector (1.4.1)
buildkite-test_collector (1.4.2)
activesupport (>= 4.2)
websocket (~> 1.2)

GEM
remote: https://rubygems.org/
specs:
activesupport (7.0.4)
activesupport (7.0.4.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
Expand All @@ -17,7 +17,7 @@ GEM
diff-lcs (1.4.4)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
minitest (5.16.3)
minitest (5.17.0)
rake (13.0.6)
rspec (3.10.0)
rspec-core (~> 3.10.0)
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,20 @@ See [DESIGN.md](DESIGN.md) for an overview of the design of this gem.

Bug reports and pull requests are welcome on GitHub at https://github.com/buildkite/test-collector-ruby

## 🚀 Releasing

1. Bump the version in `version.rb` and run `bundle` to update the `Gemfile.lock`.
1. Update the CHANGELOG.md with your new version and a description of your changes.
1. Git tag your changes and push
```
git tag v.x.x.x
git push --tags
```
Once your PR is merged to `main`:

1. Run `rake release` from `main`.
1. Create a [new release in github](https://github.com/buildkite/test-collector-ruby/releases).

## 📜 MIT License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
2 changes: 1 addition & 1 deletion lib/buildkite/test_collector/ci.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def analytics_env
"execution_name_prefix" => ENV["BUILDKITE_ANALYTICS_EXECUTION_NAME_PREFIX"],
"execution_name_suffix" => ENV["BUILDKITE_ANALYTICS_EXECUTION_NAME_SUFFIX"],
"version" => Buildkite::TestCollector::VERSION,
"collector" => Buildkite::TestCollector::NAME,
"collector" => "ruby-#{Buildkite::TestCollector::NAME}",
}.compact
end

Expand Down
2 changes: 1 addition & 1 deletion lib/buildkite/test_collector/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module Buildkite
module TestCollector
VERSION = "1.4.1"
VERSION = "1.4.2"
NAME = "buildkite-test_collector"
end
end
2 changes: 1 addition & 1 deletion spec/test_collector/ci_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
let(:message) { "bananas are tasty" }
let(:debug) { "true" }
let(:version) { Buildkite::TestCollector::VERSION }
let(:name) { Buildkite::TestCollector::NAME }
let(:name) { "ruby-#{Buildkite::TestCollector::NAME}" }
let(:test_value) { "test_value" }

before do
Expand Down

0 comments on commit 6420d36

Please sign in to comment.