-
Notifications
You must be signed in to change notification settings - Fork 2
/
scout_apm-sampling.gemspec
36 lines (29 loc) · 1.39 KB
/
scout_apm-sampling.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
require_relative "lib/scout_apm/sampling/version"
# This environment variable is set on CI to facilitate testing with multiple
# versions of Rails.
RAILS_DEPENDENCY_VERSION = ENV.fetch("RAILS_VERSION", ">= 6.1")
Gem::Specification.new do |spec|
spec.name = "scout_apm-sampling"
spec.version = ScoutApm::Sampling::VERSION
spec.authors = ["Prem Sichanugrist"]
spec.email = ["s@sikac.hu"]
spec.summary = "Providing an out-of-the-box sampling feature to scout_apm gem"
spec.homepage = "https://github.com/sikachu/scout_apm-sampling"
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 2.7")
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["rubygems_mfa_required"] = "true"
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "actionpack", RAILS_DEPENDENCY_VERSION
spec.add_dependency "activejob", RAILS_DEPENDENCY_VERSION
spec.add_dependency "scout_apm"
spec.add_development_dependency "minitest-reporters"
spec.add_development_dependency "mocha"
spec.add_development_dependency "rake", "~> 13.0"
end