-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsignalfx.gemspec
47 lines (39 loc) · 2.28 KB
/
signalfx.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require_relative 'lib/signalfx/version'
Gem::Specification.new do |spec|
spec.name = "signalfx"
spec.version = SignalFx::Version::VERSION
spec.authors = ["SignalFx, Inc"]
spec.email = ["[email protected]"]
spec.summary = "Ruby client library for SignalFx"
spec.description = "This is a programmatic interface in Ruby for SignalFx's metadata and ingest APIs. It is meant to provide a base for communicating with SignalFx APIs that can be easily leveraged by scripts and applications to interact with SignalFx or report metric and event data to SignalFx. Library supports Ruby 2.2.x+ versions"
spec.homepage = "https://signalfx.com"
spec.license = "Apache Software License v2 © SignalFx"
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
# delete this section to allow pushing this gem to any host.
#if spec.respond_to?(:metadata)
# spec.metadata['allowed_push_host'] = "Set to 'http://mygemserver.com'"
#else
# raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
#end
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.required_ruby_version = '>= 2.2.0'
spec.add_development_dependency "bundler", "~> 1.17.3"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.3"
spec.add_development_dependency "webmock", "~> 2.3.1"
spec.add_development_dependency "thin", "~> 1.7"
spec.add_development_dependency "pry"
# protobuf enforces this check but builds with a newer Ruby version so it's not enabled.
# Incorporating here to allow 2.2.0-1 users to successfully build and install signalfx.
active_support_max_version = "< 5" if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.2.2")
spec.add_dependency "activesupport", '>= 3.2', active_support_max_version
spec.add_dependency "protobuf", ">= 3.5.1"
spec.add_dependency "rest-client", "~> 2.0"
spec.add_dependency "faye-websocket", ">= 0.10.7", "< 0.12.0"
end