Skip to content

Commit

Permalink
Ensure that the rate_limited gem adheres to the naming convention of …
Browse files Browse the repository at this point in the history
…using snake_case
  • Loading branch information
gillesbergerp committed Nov 20, 2023
1 parent dcaccc2 commit d071542
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-contrib-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
matrix:
gem:
- hierarchical
- rate-limited
- rate_limited
os:
- ubuntu-latest
- macos-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
matrix:
gem:
- hierarchical
- rate-limited
- rate_limited
os:
- ubuntu-latest
name: "sampling-${{ matrix.gem }} / ${{ matrix.os }}"
Expand Down
2 changes: 1 addition & 1 deletion .toys/.data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,6 @@ gems:
directory: sampling/hierarchical
version_constant: [OpenTelemetry, Sampling, Hierarchical, VERSION]

- name: opentelemetry-sampling-rate-limited
- name: opentelemetry-sampling-rate_limited
directory: sampling/rate_limited
version_constant: [OpenTelemetry, Sampling, Rate Limited, VERSION]
2 changes: 1 addition & 1 deletion sampling/rate_limited/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Release History: opentelemetry-sampling-rate-limited
# Release History: opentelemetry-sampling-rate_limited
10 changes: 5 additions & 5 deletions sampling/rate_limited/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# opentelemetry-sampling-rate_limited

The `opentelemetry-sampling-rate-limited` gem allows for specifying sampling frequencies based on a rate limit.
The `opentelemetry-sampling-rate_limited` gem allows for specifying sampling frequencies based on a rate limit.

## What is OpenTelemetry?

Expand All @@ -17,20 +17,20 @@ This gem can be used with any OpenTelemetry SDK implementation. This can be the
Install the gem using:

```
gem install opentelemetry-sampling-rate-limited
gem install opentelemetry-sampling-rate_limited
```

Or, if you use [bundler][bundler-home], include `opentelemetry-sampling-rate-limited` in your `Gemfile`.
Or, if you use [bundler][bundler-home], include `opentelemetry-sampling-rate_limited` in your `Gemfile`.

## How can I get involved?

The `opentelemetry-sampling-rate-limited` gem source is [on github][repo-github], along with related gems including `opentelemetry-api` and `opentelemetry-sdk`.
The `opentelemetry-sampling-rate_limited` gem source is [on github][repo-github], along with related gems including `opentelemetry-api` and `opentelemetry-sdk`.

The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us in [GitHub Discussions][discussions-url] or attending our weekly meeting. See the [meeting calendar][community-meetings] for dates and times. For more information on this and other language SIGs, see the OpenTelemetry [community page][ruby-sig].

## License

The `opentelemetry-sampling-rate-limited` gem is distributed under the Apache 2.0 license. See [LICENSE][license-github] for more information.
The `opentelemetry-sampling-rate_limited` gem is distributed under the Apache 2.0 license. See [LICENSE][license-github] for more information.

[opentelemetry-home]: https://opentelemetry.io
[bundler-home]: https://bundler.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require('opentelemetry/sampling/rate_limited/version')

Gem::Specification.new do |spec|
spec.name = 'opentelemetry-sampling-rate-limited'
spec.name = 'opentelemetry-sampling-rate_limited'
spec.version = OpenTelemetry::Sampling::RateLimited::VERSION
spec.authors = ['OpenTelemetry Authors']
spec.email = ['cncf-opentelemetry-contributors@lists.cncf.io']
Expand Down
2 changes: 1 addition & 1 deletion sampling/rate_limited/test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
SimpleCov.minimum_coverage 85
SimpleCov.start

require 'opentelemetry-sampling-rate-limited'
require 'opentelemetry-sampling-rate_limited'
require 'minitest/autorun'

OpenTelemetry.logger = Logger.new(
Expand Down

0 comments on commit d071542

Please sign in to comment.