diff --git a/common/Gemfile b/common/Gemfile index 714ade230..a892b2a0d 100644 --- a/common/Gemfile +++ b/common/Gemfile @@ -8,9 +8,8 @@ source 'https://rubygems.org' gemspec -# Use the opentelemetry-api gem from source -gem 'opentelemetry-api', path: '../api' - group :development, :test do + # Use the opentelemetry-api gem from source + gem 'opentelemetry-api', path: '../api' gem 'pry' end diff --git a/exporter/jaeger/Gemfile b/exporter/jaeger/Gemfile index 0e516d698..2b7290c12 100644 --- a/exporter/jaeger/Gemfile +++ b/exporter/jaeger/Gemfile @@ -8,13 +8,10 @@ source 'https://rubygems.org' gemspec -# Use the opentelemetry-api gem from source -gem 'opentelemetry-api', path: '../../api' -gem 'opentelemetry-common', path: '../../common' -gem 'opentelemetry-instrumentation-base', path: '../../instrumentation/base' -gem 'opentelemetry-sdk', path: '../../sdk' -gem 'opentelemetry-semantic_conventions', path: '../../semantic_conventions' - group :test, :development do + gem 'opentelemetry-api', path: '../../api' + gem 'opentelemetry-common', path: '../../common' + gem 'opentelemetry-sdk', path: '../../sdk' + gem 'opentelemetry-semantic_conventions', path: '../../semantic_conventions' gem 'opentelemetry-test-helpers', path: '../../test_helpers' end diff --git a/exporter/jaeger/opentelemetry-exporter-jaeger.gemspec b/exporter/jaeger/opentelemetry-exporter-jaeger.gemspec index 2c9715f73..d3d9556cf 100644 --- a/exporter/jaeger/opentelemetry-exporter-jaeger.gemspec +++ b/exporter/jaeger/opentelemetry-exporter-jaeger.gemspec @@ -29,6 +29,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'opentelemetry-api', '~> 1.0' spec.add_dependency 'opentelemetry-common', '~> 0.19.3' spec.add_dependency 'opentelemetry-sdk', '~> 1.0' + spec.add_dependency 'opentelemetry-semantic_conventions' spec.add_dependency 'thrift' spec.add_development_dependency 'bundler', '>= 1.17' diff --git a/exporter/otlp/Gemfile b/exporter/otlp/Gemfile index 0e516d698..2b7290c12 100644 --- a/exporter/otlp/Gemfile +++ b/exporter/otlp/Gemfile @@ -8,13 +8,10 @@ source 'https://rubygems.org' gemspec -# Use the opentelemetry-api gem from source -gem 'opentelemetry-api', path: '../../api' -gem 'opentelemetry-common', path: '../../common' -gem 'opentelemetry-instrumentation-base', path: '../../instrumentation/base' -gem 'opentelemetry-sdk', path: '../../sdk' -gem 'opentelemetry-semantic_conventions', path: '../../semantic_conventions' - group :test, :development do + gem 'opentelemetry-api', path: '../../api' + gem 'opentelemetry-common', path: '../../common' + gem 'opentelemetry-sdk', path: '../../sdk' + gem 'opentelemetry-semantic_conventions', path: '../../semantic_conventions' gem 'opentelemetry-test-helpers', path: '../../test_helpers' end diff --git a/exporter/otlp/opentelemetry-exporter-otlp.gemspec b/exporter/otlp/opentelemetry-exporter-otlp.gemspec index efd26a23d..40b52f863 100644 --- a/exporter/otlp/opentelemetry-exporter-otlp.gemspec +++ b/exporter/otlp/opentelemetry-exporter-otlp.gemspec @@ -30,6 +30,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'opentelemetry-api', '~> 1.0' spec.add_dependency 'opentelemetry-common', '~> 0.19.3' spec.add_dependency 'opentelemetry-sdk', '~> 1.0' + spec.add_dependency 'opentelemetry-semantic_conventions' spec.add_development_dependency 'bundler', '>= 1.17' spec.add_development_dependency 'faraday', '~> 0.13' diff --git a/exporter/zipkin/Gemfile b/exporter/zipkin/Gemfile index 0e516d698..2b7290c12 100644 --- a/exporter/zipkin/Gemfile +++ b/exporter/zipkin/Gemfile @@ -8,13 +8,10 @@ source 'https://rubygems.org' gemspec -# Use the opentelemetry-api gem from source -gem 'opentelemetry-api', path: '../../api' -gem 'opentelemetry-common', path: '../../common' -gem 'opentelemetry-instrumentation-base', path: '../../instrumentation/base' -gem 'opentelemetry-sdk', path: '../../sdk' -gem 'opentelemetry-semantic_conventions', path: '../../semantic_conventions' - group :test, :development do + gem 'opentelemetry-api', path: '../../api' + gem 'opentelemetry-common', path: '../../common' + gem 'opentelemetry-sdk', path: '../../sdk' + gem 'opentelemetry-semantic_conventions', path: '../../semantic_conventions' gem 'opentelemetry-test-helpers', path: '../../test_helpers' end diff --git a/exporter/zipkin/opentelemetry-exporter-zipkin.gemspec b/exporter/zipkin/opentelemetry-exporter-zipkin.gemspec index 7651d87bf..bb100063c 100644 --- a/exporter/zipkin/opentelemetry-exporter-zipkin.gemspec +++ b/exporter/zipkin/opentelemetry-exporter-zipkin.gemspec @@ -29,6 +29,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'opentelemetry-api', '~> 1.0' spec.add_dependency 'opentelemetry-common', '~> 0.19.3' spec.add_dependency 'opentelemetry-sdk', '~> 1.0' + spec.add_dependency 'opentelemetry-semantic_conventions' spec.add_development_dependency 'bundler', '>= 1.17' spec.add_development_dependency 'faraday', '~> 0.13' diff --git a/metrics_api/Gemfile b/metrics_api/Gemfile index 55d20d6fd..96ab5a031 100644 --- a/metrics_api/Gemfile +++ b/metrics_api/Gemfile @@ -8,9 +8,8 @@ source 'https://rubygems.org' gemspec -gem 'opentelemetry-api', path: '../api' - group :test, :development do + gem 'opentelemetry-api', path: '../api' gem 'pry' gem 'pry-byebug' unless RUBY_ENGINE == 'jruby' end diff --git a/propagator/b3/Gemfile b/propagator/b3/Gemfile index 4eaad842c..51dcbe8f0 100644 --- a/propagator/b3/Gemfile +++ b/propagator/b3/Gemfile @@ -8,5 +8,6 @@ source 'https://rubygems.org' gemspec -gem 'opentelemetry-api', path: '../../api' -gem 'opentelemetry-instrumentation-base', path: '../../instrumentation/base' +group :test do + gem 'opentelemetry-api', path: '../../api' +end diff --git a/propagator/jaeger/Gemfile b/propagator/jaeger/Gemfile index 343ab5e9a..8f747ebcd 100644 --- a/propagator/jaeger/Gemfile +++ b/propagator/jaeger/Gemfile @@ -8,8 +8,7 @@ source 'https://rubygems.org' gemspec -gem 'opentelemetry-api', path: '../../api' -gem 'opentelemetry-common', path: '../../common' -gem 'opentelemetry-instrumentation-base', path: '../../instrumentation/base' -gem 'opentelemetry-sdk', path: '../../sdk' -gem 'opentelemetry-semantic_conventions', path: '../../semantic_conventions' +group :test do + gem 'opentelemetry-api', path: '../../api' + gem 'opentelemetry-sdk', path: '../../sdk' +end diff --git a/propagator/ottrace/Gemfile b/propagator/ottrace/Gemfile index a118a8a42..12150b151 100644 --- a/propagator/ottrace/Gemfile +++ b/propagator/ottrace/Gemfile @@ -4,9 +4,3 @@ source 'https://rubygems.org' # Specify your gem's dependencies in opentelemetry-propragator-ottrace.gemspec gemspec - -gem 'opentelemetry-api', path: '../../api' -gem 'opentelemetry-common', path: '../../common' -gem 'opentelemetry-instrumentation-base', path: '../../instrumentation/base' -gem 'opentelemetry-sdk', path: '../../sdk' -gem 'opentelemetry-semantic_conventions', path: '../../semantic_conventions' diff --git a/propagator/ottrace/opentelemetry-propagator-ottrace.gemspec b/propagator/ottrace/opentelemetry-propagator-ottrace.gemspec index d47430cf4..0ca762071 100644 --- a/propagator/ottrace/opentelemetry-propagator-ottrace.gemspec +++ b/propagator/ottrace/opentelemetry-propagator-ottrace.gemspec @@ -27,7 +27,6 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'bundler', '>= 1.17' spec.add_development_dependency 'minitest', '~> 5.0' - spec.add_development_dependency 'opentelemetry-sdk', '~> 1.0' spec.add_development_dependency 'rake', '~> 12.0' spec.add_development_dependency 'rubocop', '~> 0.73.0' spec.add_development_dependency 'simplecov', '~> 0.17.1' diff --git a/propagator/ottrace/test/test_helper.rb b/propagator/ottrace/test/test_helper.rb index 0e01977b6..ebdae4190 100644 --- a/propagator/ottrace/test/test_helper.rb +++ b/propagator/ottrace/test/test_helper.rb @@ -12,7 +12,7 @@ $LOAD_PATH.unshift File.expand_path('../lib', __dir__) require 'minitest/autorun' -require 'opentelemetry/sdk' +require 'opentelemetry-api' require 'opentelemetry-propagator-ottrace' OpenTelemetry.logger = Logger.new(File::NULL) diff --git a/propagator/xray/Gemfile b/propagator/xray/Gemfile index 058958b7d..b32179c8b 100644 --- a/propagator/xray/Gemfile +++ b/propagator/xray/Gemfile @@ -7,6 +7,3 @@ source 'https://rubygems.org' gemspec - -gem 'opentelemetry-api', path: '../../api' -gem 'opentelemetry-instrumentation-base', path: '../../instrumentation/base' diff --git a/registry/Gemfile b/registry/Gemfile index 3c6074d7d..501909f79 100644 --- a/registry/Gemfile +++ b/registry/Gemfile @@ -8,4 +8,6 @@ source 'https://rubygems.org' gemspec -gem 'opentelemetry-api', path: '../api' +group :test do + gem 'opentelemetry-api', path: '../api' +end diff --git a/resource_detectors/Gemfile b/resource_detectors/Gemfile index b932d5465..6ae9e48bc 100644 --- a/resource_detectors/Gemfile +++ b/resource_detectors/Gemfile @@ -8,12 +8,6 @@ source 'https://rubygems.org' gemspec -gem 'opentelemetry-api', path: '../api' -gem 'opentelemetry-common', path: '../common' -gem 'opentelemetry-instrumentation-base', path: '../instrumentation/base' -gem 'opentelemetry-sdk', path: '../sdk' -gem 'opentelemetry-semantic_conventions', path: '../semantic_conventions' - group :development, :test do gem 'byebug' unless RUBY_PLATFORM == 'java' gem 'pry' diff --git a/sdk/Gemfile b/sdk/Gemfile index 12449b511..bcd0e5970 100644 --- a/sdk/Gemfile +++ b/sdk/Gemfile @@ -8,13 +8,10 @@ source 'https://rubygems.org' gemspec -# Use the opentelemetry-api gem from source -gem 'opentelemetry-api', path: '../api' -gem 'opentelemetry-common', path: '../common' -gem 'opentelemetry-exporter-zipkin', path: '../exporter/zipkin' -gem 'opentelemetry-instrumentation-base', path: '../instrumentation/base' -gem 'opentelemetry-semantic_conventions', path: '../semantic_conventions' - group :test, :development do + gem 'opentelemetry-api', path: '../api' + gem 'opentelemetry-common', path: '../common' + gem 'opentelemetry-exporter-zipkin', path: '../exporter/zipkin' + gem 'opentelemetry-semantic_conventions', path: '../semantic_conventions' gem 'opentelemetry-test-helpers', path: '../test_helpers' end diff --git a/semantic_conventions/Gemfile b/semantic_conventions/Gemfile index 714ade230..b8b70f6e3 100644 --- a/semantic_conventions/Gemfile +++ b/semantic_conventions/Gemfile @@ -8,9 +8,7 @@ source 'https://rubygems.org' gemspec -# Use the opentelemetry-api gem from source -gem 'opentelemetry-api', path: '../api' - group :development, :test do + gem 'opentelemetry-api', path: '../api' gem 'pry' end diff --git a/test_helpers/Gemfile b/test_helpers/Gemfile index fcea21d5e..053091a22 100644 --- a/test_helpers/Gemfile +++ b/test_helpers/Gemfile @@ -10,8 +10,5 @@ gemspec group :test, :development do gem 'opentelemetry-api', path: '../api' - gem 'opentelemetry-common', path: '../common' - gem 'opentelemetry-instrumentation-base', path: '../instrumentation/base' gem 'opentelemetry-sdk', path: '../sdk' - gem 'opentelemetry-semantic_conventions', path: '../semantic_conventions' end diff --git a/test_helpers/opentelemetry-test-helpers.gemspec b/test_helpers/opentelemetry-test-helpers.gemspec index 8eb9c721e..5e66989bf 100644 --- a/test_helpers/opentelemetry-test-helpers.gemspec +++ b/test_helpers/opentelemetry-test-helpers.gemspec @@ -27,6 +27,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'bundler', '>= 1.17' spec.add_development_dependency 'minitest', '~> 5.0' + spec.add_development_dependency 'opentelemetry-sdk' spec.add_development_dependency 'pry' spec.add_development_dependency 'pry-byebug' unless RUBY_ENGINE == 'jruby' spec.add_development_dependency 'rake', '~> 12.0' diff --git a/test_helpers/test/test_helper.rb b/test_helpers/test/test_helper.rb index c070fb210..358bc111a 100644 --- a/test_helpers/test/test_helper.rb +++ b/test_helpers/test/test_helper.rb @@ -4,8 +4,7 @@ # # SPDX-License-Identifier: Apache-2.0 -require 'opentelemetry' -require 'opentelemetry/sdk' +require 'opentelemetry-sdk' require 'opentelemetry-test-helpers' require 'minitest/autorun' require 'pry'