forked from solarwinds/appoptics-apm-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappoptics_apm.gemspec
61 lines (50 loc) · 2.54 KB
/
appoptics_apm.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
$:.push File.expand_path("../lib", __FILE__)
require "appoptics_apm/version"
Gem::Specification.new do |s|
s.name = %q{appoptics_apm}
s.version = AppOpticsAPM::Version::STRING
s.date = Time.now.strftime('%Y-%m-%d')
s.license = "Librato Open License, Version 1.0"
s.authors = ["Maia Engeli", "Peter Giacomo Lombardo", "Spiros Eliopoulos"]
s.email = %q{support@appoptics.com}
s.homepage = %q{https://www.appoptics.com/}
s.summary = %q{AppOptics APM performance instrumentation gem for Ruby}
s.description = <<-EOF
Automatic tracing and metrics for Ruby applications. Get started at appoptics.com. @AppOptics
EOF
s.metadata = {
'changelog_uri' => 'https://github.com/appoptics/appoptics-apm-ruby/releases',
'documentation_uri' => 'https://docs.appoptics.com/kb/apm_tracing/ruby/',
'homepage_uri' => 'https://www.appoptics.com/',
'source_code_uri' => 'https://github.com/appoptics/appoptics-apm-ruby',
}
s.extra_rdoc_files = ['LICENSE']
s.files = `git ls-files`.split("\n").reject { |f| f.match(%r{^(test|gemfiles)/}) }
s.files += ['ext/oboe_metal/src/oboe.h',
'ext/oboe_metal/src/oboe.hpp',
'ext/oboe_metal/src/oboe_debug.h',
'ext/oboe_metal/src/oboe_wrap.cxx',
'ext/oboe_metal/src/bson/bson.h',
'ext/oboe_metal/src/bson/platform_hacks.h',
'ext/oboe_metal/src/VERSION']
# TODO this is commented out util we can actually provide gems for different platforms
# it will create a gem that goes into noop on Darwin and other unsupported platforms
# s.platform = defined?(JRUBY_VERSION) ? 'java' : Gem::Platform::CURRENT
s.extensions = ['ext/oboe_metal/extconf.rb'] unless defined?(JRUBY_VERSION)
s.add_runtime_dependency('json', '>= 0')
s.add_runtime_dependency('no_proxy_fix', '~> 0.1.2', '>= 0.1.2')
# Development dependencies used in gem development & testing
s.add_development_dependency('rake', '>= 0.9.0')
s.add_development_dependency('simplecov', '>= 0.16.0') if ENV["SIMPLECOV_COVERAGE"]
s.add_development_dependency('simplecov-console', '>= 0.4.0') if ENV["SIMPLECOV_COVERAGE"]
unless defined?(JRUBY_VERSION)
s.add_development_dependency('byebug', '>= 8.0.0')
s.add_development_dependency('pry', '>= 0.10.0')
s.add_development_dependency('pry-byebug', '>= 3.0.0')
s.add_development_dependency('minitest-hooks', '>= 1.5.0')
else
s.add_development_dependency('pry', '>= 0.10.0')
end
s.required_ruby_version = '>= 2.0.0'
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
end