-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathddtrace_method_wrapper.gemspec
More file actions
32 lines (26 loc) · 1.09 KB
/
ddtrace_method_wrapper.gemspec
File metadata and controls
32 lines (26 loc) · 1.09 KB
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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |s|
s.name = 'ddtrace-method-wrapper'
s.version = '2.0.0'
s.authors = ["Brandfolder, Inc."]
s.email = 'developers@brandfolder.com'
s.files = Dir['{lib/**/*,[A-Z]*}']
s.homepage = 'https://github.com/brandfolder/ddtrace-rb-method-wrapper'
s.license = 'MIT'
s.summary = "Datadog.tracer.trace lib wrapper"
s.description = <<-EOS.gsub(/^[\s]+/, '')
`ddtrace-method-wrapper` adds convenience methods to Datadog's ruby tracing library `ddtrace`.
Extend your classes and modules and wrap their methods with custom datadog tracing.
EOS
if s.respond_to?(:metadata)
s.metadata['allowed_push_host'] = 'https://rubygems.org'
else
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
end
s.add_dependency 'ddtrace'
# Development Dependencies
s.add_development_dependency 'rubocop', '= 0.49.1' if RUBY_VERSION >= '2.1.0'
s.add_development_dependency 'rspec', '~> 3.0'
end