forked from CopartArchive/ruby-sensor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstana.gemspec
45 lines (36 loc) · 1.71 KB
/
instana.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'instana/version'
Gem::Specification.new do |spec|
spec.name = "instana"
spec.version = Instana::VERSION
spec.authors = ["Peter Giacomo Lombardo"]
spec.email = ["[email protected]"]
spec.summary = %q{Ruby Distributed Tracing & Metrics Sensor for Instana}
spec.description = %q{The Instana gem collects and reports Ruby metrics and distibuted traces to your Instana dashboard.}
spec.homepage = "https://www.instana.com/"
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.test_files = Dir.glob("{test}/**/*.rb")
spec.required_ruby_version = '>= 2.1'
spec.licenses = ['MIT']
spec.add_development_dependency "bundler", "~> 2.0"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "minitest", "~> 5.0"
spec.add_development_dependency('pry', '>= 0.10.0')
# Development debugging
unless RUBY_PLATFORM =~ /java/i
spec.add_development_dependency('byebug', '>= 8.0.0')
spec.add_development_dependency('pry-byebug', '>= 3.0.0')
end
spec.add_runtime_dependency('sys-proctable', '>= 1.2.2')
spec.add_runtime_dependency('get_process_mem', '>= 0.2.1')
spec.add_runtime_dependency('timers', '>= 4.0.0')
spec.add_runtime_dependency('oj', '>=3.0.11') unless RUBY_PLATFORM =~ /java/i
# Indirect dependency
# https://github.com/instana/ruby-sensor/issues/10
spec.add_runtime_dependency('ffi', '>=1.0.11')
end