-
Notifications
You must be signed in to change notification settings - Fork 173
/
bugsnag.gemspec
39 lines (33 loc) · 1.19 KB
/
bugsnag.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
Gem::Specification.new do |s|
s.name = "bugsnag"
s.version = File.read("VERSION").strip
s.authors = ["James Smith"]
s.email = "[email protected]"
s.description = "Ruby notifier for bugsnag.com"
s.summary = "Ruby notifier for bugsnag.com"
s.homepage = "https://github.com/bugsnag/bugsnag-ruby"
s.licenses = ["MIT"]
s.files = `git ls-files -z lib bugsnag.gemspec VERSION .yardopts`.split("\x0")
s.extra_rdoc_files = [
"LICENSE.txt",
"README.md",
"CHANGELOG.md"
]
s.require_paths = ["lib"]
s.required_ruby_version = '>= 1.9.2'
ruby_version = Gem::Version.new(RUBY_VERSION.dup)
if ruby_version < Gem::Version.new('2.2.0')
# concurrent-ruby 1.1.10 requires Ruby 2.2+
s.add_runtime_dependency 'concurrent-ruby', '~> 1.0', '< 1.1.10'
else
s.add_runtime_dependency 'concurrent-ruby', '~> 1.0'
end
if s.respond_to?(:metadata=)
s.metadata = {
"changelog_uri" => "https://github.com/bugsnag/bugsnag-ruby/blob/v#{File.read("VERSION").strip}/CHANGELOG.md",
"documentation_uri" => "https://docs.bugsnag.com/platforms/ruby/",
"source_code_uri" => "https://github.com/bugsnag/bugsnag-ruby/",
"rubygems_mfa_required" => "true"
}
end
end