forked from open-telemetry/opentelemetry-ruby-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
opentelemetry-resource_detectors.gemspec
45 lines (37 loc) · 2.07 KB
/
opentelemetry-resource_detectors.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# frozen_string_literal: true
# Copyright The OpenTelemetry Authors
#
# SPDX-License-Identifier: Apache-2.0
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'opentelemetry/resource/detectors/version'
Gem::Specification.new do |spec|
spec.name = 'opentelemetry-resource_detectors'
spec.version = OpenTelemetry::Resource::Detectors::VERSION
spec.authors = ['OpenTelemetry Authors']
spec.email = ['[email protected]']
spec.summary = 'Resource detection helpers for OpenTelemetry'
spec.description = 'Resource detection helpers for OpenTelemetry'
spec.homepage = 'https://github.com/open-telemetry/opentelemetry-contrib'
spec.license = 'Apache-2.0'
spec.files = ::Dir.glob('lib/**/*.rb') +
::Dir.glob('*.md') +
['LICENSE', '.yardopts']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.6.0'
spec.add_dependency 'google-cloud-env'
spec.add_dependency 'opentelemetry-sdk', '~> 1.0'
spec.add_development_dependency 'bundler', '>= 1.17'
spec.add_development_dependency 'minitest', '~> 5.0'
spec.add_development_dependency 'rake', '~> 12.0'
spec.add_development_dependency 'rubocop', '~> 1.3.0'
spec.add_development_dependency 'simplecov', '~> 0.17'
spec.add_development_dependency 'yard', '~> 0.9'
spec.add_development_dependency 'yard-doctest', '~> 0.1.6'
if spec.respond_to?(:metadata)
spec.metadata['changelog_uri'] = "https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-resource_detectors/v#{OpenTelemetry::Resource::Detectors::VERSION}/file.CHANGELOG.html"
spec.metadata['source_code_uri'] = 'https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/resource_detectors'
spec.metadata['bug_tracker_uri'] = 'https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues'
spec.metadata['documentation_uri'] = "https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-resource_detectors/v#{OpenTelemetry::Resource::Detectors::VERSION}"
end
end