-
Notifications
You must be signed in to change notification settings - Fork 160
/
coverband.gemspec
65 lines (57 loc) · 2.82 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
62
63
64
65
# 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.require_paths = %w[lib]
spec.required_ruby_version = ">= 3.1"
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...
# note: we are also adding 'spy' as mocha doesn't want us to spy on redis calls...
spec.add_development_dependency "spy"
# ^^^ probably need a large test cleanup refactor
spec.add_development_dependency "minitest"
spec.add_development_dependency "minitest-fork_executor"
spec.add_development_dependency "minitest-stub-const"
spec.add_development_dependency "mocha"
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", ">= 1.35.1"
# breaking changes in various rubocop versions
spec.add_development_dependency "rubocop"
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"
spec.add_development_dependency "dalli" # Default memcached adapter
# 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