forked from danmayer/coverband
-
Notifications
You must be signed in to change notification settings - Fork 0
/
coverband.gemspec
61 lines (53 loc) · 2.62 KB
/
coverband.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "coverband/version"
Gem::Specification.new do |spec|
spec.name = "coverband"
spec.version = Coverband::VERSION
spec.authors = ["Dan Mayer", "Karl Baum"]
spec.email = %w[dan@mayerdan.com]
spec.description =
"Rack middleware to measure production code usage (LOC runtime usage)"
spec.summary =
"Rack middleware to measure production code usage (LOC runtime usage)"
spec.homepage = "https://github.com/danmayer/coverband"
spec.license = "MIT"
spec.files = `git ls-files`.split("\n").reject { |f| f.start_with?("docs") }
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = %w[lib]
spec.required_ruby_version = ">= 2.3"
spec.metadata = {
"homepage_uri" => "https://github.com/danmayer/coverband",
"bug_tracker_uri" => "https://github.com/danmayer/coverband/issues",
"documentation_uri" => "https://github.com/danmayer/coverband",
"changelog_uri" => "https://github.com/danmayer/coverband/blob/main/changes.md",
"source_code_uri" => "https://github.com/danmayer/coverband"
}
spec.add_development_dependency "benchmark-ips"
spec.add_development_dependency "capybara"
spec.add_development_dependency "m"
spec.add_development_dependency "memory_profiler"
# breaking change in minitest and mocha
spec.add_development_dependency "minitest", "= 5.18.1"
spec.add_development_dependency "minitest-fork_executor"
spec.add_development_dependency "minitest-stub-const"
spec.add_development_dependency "mocha", "~> 1.7.0"
spec.add_development_dependency "rack"
spec.add_development_dependency "rack-test"
spec.add_development_dependency "rake"
spec.add_development_dependency "resque"
spec.add_development_dependency "standard", "= 0.2.5"
spec.add_development_dependency "standardrb"
spec.add_development_dependency "coveralls"
# minitest-profile is not compatible with Rails 7.1.0 setup... dropping it for now
# spec.add_development_dependency "minitest-profile"
spec.add_development_dependency "webmock"
# TODO: Remove when other production adapters exist
# because the default configuration of redis store, we really do require
# redis now. I was reluctant to add this, but until we offer another production
# quality adapter, I think this is more honest about requirements and reduces confusion
# without this there was a race condition on calling coverband configure before redis was loaded
spec.add_runtime_dependency "redis", ">= 3.0"
end