-
Notifications
You must be signed in to change notification settings - Fork 553
/
simplecov.gemspec
44 lines (38 loc) · 1.77 KB
/
simplecov.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
# frozen_string_literal: true
$LOAD_PATH.push File.expand_path("lib", __dir__)
# Why oh why oh what is this?
# See the cuke that is setting this.
# Basically to really reproduce #877 we needed a gemspec that doesn't
# (indirectly) define a SimpleCov module... so this is the workaround.
version =
if ENV["SIMPLECOV_NO_REQUIRE_VERSION"]
ENV["SIMPLECOV_NO_REQUIRE_VERSION"]
else
require "simplecov/version"
SimpleCov::VERSION
end
Gem::Specification.new do |gem|
gem.name = "simplecov"
gem.version = version
gem.platform = Gem::Platform::RUBY
gem.authors = ["Christoph Olszowka", "Tobias Pfeiffer"]
gem.email = ["christoph at olszowka de", "pragtob@gmail.com"]
gem.homepage = "https://github.com/simplecov-ruby/simplecov"
gem.summary = "Code coverage for Ruby"
gem.description = %(Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites)
gem.license = "MIT"
gem.metadata = {
"bug_tracker_uri" => "https://github.com/simplecov-ruby/simplecov/issues",
"changelog_uri" => "https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md",
"documentation_uri" => "https://www.rubydoc.info/gems/simplecov/#{gem.version}",
"mailing_list_uri" => "https://groups.google.com/forum/#!forum/simplecov",
"source_code_uri" => "https://github.com/simplecov-ruby/simplecov/tree/v#{gem.version}",
"rubygems_mfa_required" => "true"
}
gem.required_ruby_version = ">= 2.5.0"
gem.add_dependency "docile", "~> 1.1"
gem.add_dependency "simplecov-html", "~> 0.11"
gem.add_dependency "simplecov_json_formatter", "~> 0.1"
gem.files = Dir["{lib}/**/*.*", "bin/*", "LICENSE", "CHANGELOG.md", "README.md", "doc/*"]
gem.require_paths = ["lib"]
end