Skip to content

Commit

Permalink
Drop support for MRI Ruby 2.5 and 2.6 (EOL) (#1218)
Browse files Browse the repository at this point in the history
* ci: Stop testing 2.5 and 2.6

They are EOL.

* docs: Update references to old ruby versions in our docs

We use Ruby 3.1 in our bug report template, and reference the 2.7.6
version of docs elsewhere. There is no particular rationale as to why I
used two different versions here.

* build: Bump target rubocop version

We are dropping support for MRI 2.5 and 2.6, but maintaining support for
jruby (which is only compatible with 2.6 at this time).

So, for now, we bump our target rubocop version to 2.6.

* feat!: Bump required ruby version to 2.6 across everything

2.5 and 2.6 are officially EOL, so we bump the required version.

You might be asking "if 2.6 is EOL, why aren't we bumping to 2.7"?

The answer is because we are dropping official support for _MRI_ 2.6,
but we will still make a best-effort attempt to support it for JRuby.
That project has not reached 2.7 compatibility yet and we feel it's
still worth trying to maintain for that community.

However, it is indeed best-effort support, and while this constraint
means that MRI 2.6 will be able to _install_ these gems, it does not
imply _support_ for them on that runtime.

* feat!: Remove `Random.bytes` compatibility layer

Now that we have removed support for Ruby 2.5 and 2.6, we can remove the
indirection layer we kept for `Random.bytes`. This helps to future-proof
us as well, since `Random::DEFAULT` is deprecated in Ruby 3.0+.

* docs: Clarify support policy around 2.6.8 and jruby

Per a conversation in slack, we still wish to deprecate support for MRI
ruby `2.6`, even though we must technically maintain compatibility if we
wish to support jruby.

We will provide jruby support on a best-effort basis.

Co-authored-by: Robert <[email protected]>
  • Loading branch information
ahayworth and robertlaurin authored May 4, 2022
1 parent 55937d6 commit 38b083a
Show file tree
Hide file tree
Showing 81 changed files with 86 additions and 112 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ what happened and what you expected with a link to the relevant portion of the s

Operating system details: Linux, Ubuntu 20.04 LTS
RUBY_ENGINE: "ruby"
RUBY_VERSION: "2.5.3"
RUBY_DESCRIPTION: "ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin19]"
RUBY_VERSION: "3.1.1"
RUBY_DESCRIPTION: "ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [arm64-darwin21]"

**Share a simplified reproduction if possible**

Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ jobs:
strategy:
matrix:
include:
- name: Test Linux / Ruby 2.5
os: ubuntu-latest
ruby: "2.5"
flags: --include-simple --include-appraisal
- name: Test Linux / Ruby 2.6
os: ubuntu-latest
ruby: "2.6"
flags: --include-simple --include-appraisal
- name: Test Linux / Ruby 2.7
os: ubuntu-latest
ruby: "2.7"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
uses: github/codeql-action/init@v1
with:
tools: latest

- name: Autobuild
uses: github/codeql-action/autobuild@v1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
2 changes: 1 addition & 1 deletion .instrumentation_generator/instrumentation_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def add_to_instrumentation_all
insert_into_file("#{instrumentation_all_path}/Gemfile", gemfile_text, after: "gemspec\n")

gemspec_text = "\n spec.add_dependency '#{instrumentation_gem_name}', '~> 0.0.0'"
insert_into_file("#{instrumentation_all_path}/opentelemetry-instrumentation-all.gemspec", gemspec_text, after: "spec.required_ruby_version = '>= 2.5.0'\n")
insert_into_file("#{instrumentation_all_path}/opentelemetry-instrumentation-all.gemspec", gemspec_text, after: "spec.required_ruby_version = '>= 2.6.0'\n")

all_rb_text = "\nrequire '#{instrumentation_gem_name}'"
insert_into_file("#{instrumentation_all_path}/lib/opentelemetry/instrumentation/all.rb", all_rb_text, after: "# SPDX-License-Identifier: Apache-2.0\n")
Expand Down
2 changes: 1 addition & 1 deletion .instrumentation_generator/templates/gemspec.tt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> <%= opentelemetry_version %>'
spec.add_dependency 'opentelemetry-instrumentation-base', '~> <%= instrumentation_base_version %>'
Expand Down
2 changes: 1 addition & 1 deletion api/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: "2.5.0"
TargetRubyVersion: "2.6.0"

Lint/UnusedMethodArgument:
Enabled: false
Expand Down
16 changes: 3 additions & 13 deletions api/lib/opentelemetry/trace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,7 @@ module Trace

CURRENT_SPAN_KEY = Context.create_key('current-span')

# Random number generator for generating IDs. This is an object that can
# respond to `#bytes` and uses the system PRNG. The current logic is
# compatible with Ruby 2.5 (which does not implement the `Random.bytes`
# class method) and with Ruby 3.0+ (which deprecates `Random::DEFAULT`).
# When we drop support for Ruby 2.5, this can simply be replaced with
# the class `Random`.
#
# @return [#bytes]
RANDOM = Random.respond_to?(:bytes) ? Random : Random::DEFAULT

private_constant :CURRENT_SPAN_KEY, :RANDOM
private_constant :CURRENT_SPAN_KEY

# An invalid trace identifier, a 16-byte string with all zero bytes.
INVALID_TRACE_ID = ("\0" * 16).b
Expand All @@ -37,7 +27,7 @@ module Trace
# @return [String] a valid trace ID.
def generate_trace_id
loop do
id = RANDOM.bytes(16)
id = Random.bytes(16)
return id unless id == INVALID_TRACE_ID
end
end
Expand All @@ -48,7 +38,7 @@ def generate_trace_id
# @return [String] a valid span ID.
def generate_span_id
loop do
id = RANDOM.bytes(8)
id = Random.bytes(8)
return id unless id == INVALID_SPAN_ID
end
end
Expand Down
2 changes: 1 addition & 1 deletion api/opentelemetry-api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_development_dependency 'benchmark-ipsa', '~> 0.2.0'
spec.add_development_dependency 'bundler', '>= 1.17'
Expand Down
2 changes: 1 addition & 1 deletion common/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: '2.5.0'
TargetRubyVersion: '2.6.0'

Bundler/OrderedGems:
Exclude:
Expand Down
2 changes: 1 addition & 1 deletion common/opentelemetry-common.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'

Expand Down
2 changes: 1 addition & 1 deletion exporter/jaeger/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: "2.5.0"
TargetRubyVersion: "2.6.0"
Exclude:
- "thrift/**/*"
- "vendor/**/*"
Expand Down
2 changes: 1 addition & 1 deletion exporter/jaeger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ The collector exporter can be configured explicitly in code, as shown above, or
| `ssl_verify_mode:` | `OTEL_RUBY_EXPORTER_JAEGER_SSL_VERIFY_PEER` or | `OpenSSL::SSL:VERIFY_PEER` |
| | `OTEL_RUBY_EXPORTER_JAEGER_SSL_VERIFY_NONE` | |

`ssl_verify_mode:` parameter values should be flags for server certificate verification: `OpenSSL::SSL:VERIFY_PEER` and `OpenSSL::SSL:VERIFY_NONE` are acceptable. These values can also be set using the appropriately named environment variables as shown where `VERIFY_PEER` will take precedence over `VERIFY_NONE`. Please see [the Net::HTTP docs](https://ruby-doc.org/stdlib-2.5.1/libdoc/net/http/rdoc/Net/HTTP.html#verify_mode) for more information about these flags.
`ssl_verify_mode:` parameter values should be flags for server certificate verification: `OpenSSL::SSL:VERIFY_PEER` and `OpenSSL::SSL:VERIFY_NONE` are acceptable. These values can also be set using the appropriately named environment variables as shown where `VERIFY_PEER` will take precedence over `VERIFY_NONE`. Please see [the Net::HTTP docs](https://ruby-doc.org/stdlib-2.7.6/libdoc/net/http/rdoc/Net/HTTP.html#verify_mode) for more information about these flags.

## How can I get involved?

Expand Down
2 changes: 1 addition & 1 deletion exporter/jaeger/opentelemetry-exporter-jaeger.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-common', '~> 0.19.3'
Expand Down
2 changes: 1 addition & 1 deletion exporter/otlp/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: "2.5.0"
TargetRubyVersion: "2.6.0"
Exclude:
- "lib/opentelemetry/proto/**/*"
- "vendor/**/*"
Expand Down
2 changes: 1 addition & 1 deletion exporter/otlp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The collector exporter can be configured explicitly in code, or via environment
| `ssl_verify_mode:` | `OTEL_RUBY_EXPORTER_OTLP_SSL_VERIFY_PEER` or | `OpenSSL::SSL:VERIFY_PEER` |
| | `OTEL_RUBY_EXPORTER_OTLP_SSL_VERIFY_NONE` | |

`ssl_verify_mode:` parameter values should be flags for server certificate verification: `OpenSSL::SSL:VERIFY_PEER` and `OpenSSL::SSL:VERIFY_NONE` are acceptable. These values can also be set using the appropriately named environment variables as shown where `VERIFY_PEER` will take precedence over `VERIFY_NONE`. Please see [the Net::HTTP docs](https://ruby-doc.org/stdlib-2.5.1/libdoc/net/http/rdoc/Net/HTTP.html#verify_mode) for more information about these flags.
`ssl_verify_mode:` parameter values should be flags for server certificate verification: `OpenSSL::SSL:VERIFY_PEER` and `OpenSSL::SSL:VERIFY_NONE` are acceptable. These values can also be set using the appropriately named environment variables as shown where `VERIFY_PEER` will take precedence over `VERIFY_NONE`. Please see [the Net::HTTP docs](https://ruby-doc.org/stdlib-2.7.6/libdoc/net/http/rdoc/Net/HTTP.html#verify_mode) for more information about these flags.

## How can I get involved?

Expand Down
2 changes: 1 addition & 1 deletion exporter/otlp/opentelemetry-exporter-otlp.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'google-protobuf', '~> 3.19'
spec.add_dependency 'googleapis-common-protos-types', '~> 1.3'
Expand Down
2 changes: 1 addition & 1 deletion exporter/zipkin/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: "2.5.0"
TargetRubyVersion: "2.6.0"
Exclude:
- "thrift/**/*"
- "vendor/**/*"
Expand Down
2 changes: 1 addition & 1 deletion exporter/zipkin/opentelemetry-exporter-zipkin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-common', '~> 0.19.3'
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/.rubocop-examples.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: "2.5.0"
TargetRubyVersion: "2.6.0"

Bundler/OrderedGems:
Exclude:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.20.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-instrumentation-active_support', '~> 0.1'
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/active_job/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AllCops:
Exclude:
- "example/active_job.rb"
TargetRubyVersion: "2.5.0"
TargetRubyVersion: "2.6.0"

Bundler/OrderedGems:
Exclude:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.20.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.20.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.20.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.20.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-instrumentation-action_pack', '~> 0.1.4'
spec.add_dependency 'opentelemetry-instrumentation-action_view', '~> 0.2.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.20.0'
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/base/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: "2.5.0"
TargetRubyVersion: "2.6.0"

Bundler/OrderedGems:
Exclude:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'

Expand Down
2 changes: 1 addition & 1 deletion instrumentation/bunny/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: "2.5.0"
TargetRubyVersion: "2.6.0"

Bundler/OrderedGems:
Exclude:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.20.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.20.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-common', '~> 0.19.3'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.20.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-common', '~> 0.19.3'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-common', '~> 0.19.3'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-common', '~> 0.19.3'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.20.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.20.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.6.0'

spec.add_dependency 'opentelemetry-api', '~> 1.0'
spec.add_dependency 'opentelemetry-common', '~> 0.19.3'
Expand Down
Loading

0 comments on commit 38b083a

Please sign in to comment.