ddtrace.gemspec in ddtrace-0.54.2 vs ddtrace.gemspec in ddtrace-1.0.0.beta1
- old
+ new
@@ -4,12 +4,12 @@
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'ddtrace/version'
Gem::Specification.new do |spec|
spec.name = 'ddtrace'
- spec.version = Datadog::VERSION::STRING
- spec.required_ruby_version = [">= #{Datadog::VERSION::MINIMUM_RUBY_VERSION}", "< #{Datadog::VERSION::MAXIMUM_RUBY_VERSION}"]
+ spec.version = DDTrace::VERSION::STRING
+ spec.required_ruby_version = [">= #{DDTrace::VERSION::MINIMUM_RUBY_VERSION}", "< #{DDTrace::VERSION::MAXIMUM_RUBY_VERSION}"]
spec.required_rubygems_version = '>= 2.0.0'
spec.authors = ['Datadog, Inc.']
spec.email = ['dev@datadoghq.com']
spec.summary = 'Datadog tracing code for your Ruby applications'
@@ -29,14 +29,14 @@
end
spec.files =
`git ls-files -z`
.split("\x0")
- .reject { |f| f.match(%r{^(test|spec|features|[.]circleci|[.]github|[.]dd-ci|benchmarks|gemfiles|integration|tasks|sorbet)/}) }
+ .reject { |f| f.match(%r{^(test|spec|features|[.]circleci|[.]github|[.]dd-ci|benchmarks|gemfiles|integration|tasks|sorbet|yard)/}) }
.reject do |f|
['.dockerignore', '.env', '.gitattributes', '.gitlab-ci.yml', '.rspec', '.rubocop.yml',
- '.rubocop_todo.yml', '.simplecov', 'Appraisals', 'Gemfile', 'Rakefile', 'docker-compose.yml', '.pryrc'].include?(f)
+ '.rubocop_todo.yml', '.simplecov', 'Appraisals', 'Gemfile', 'Rakefile', 'docker-compose.yml', '.pryrc', '.yardopts'].include?(f)
end
spec.executables = ['ddtracerb']
spec.require_paths = ['lib']
if RUBY_VERSION >= '2.2.0'
@@ -49,8 +49,11 @@
# Used by the profiler native extension to support older Rubies (see NativeExtensionDesign.md for notes)
#
# Because we only use this for older Rubies, and we consider it "feature-complete" for those older Rubies,
# we're pinning it at the latest available version and will manually bump the dependency as needed.
spec.add_dependency 'debase-ruby_core_source', '<= 0.10.14'
+
+ # Used by appsec
+ spec.add_dependency 'libddwaf', '~> 1.0.14.2.0.a'
spec.extensions = ['ext/ddtrace_profiling_native_extension/extconf.rb']
end