forked from danmayer/coverband
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoverband.gemspec
53 lines (46 loc) · 2.3 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
# 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 = ['[email protected]']
spec.description = 'Rack middleware to help measure production code usage (LOC runtime usage)'
spec.summary = 'Rack middleware to help 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 = ['lib']
# to test support for sdk 1, uncomment this line
# spec.add_development_dependency 'aws-sdk', '~> 1'
# to test sdk 2 use this one
spec.add_development_dependency 'aws-sdk-s3', '~> 1'
spec.add_development_dependency 'benchmark-ips'
spec.add_development_dependency 'capybara'
spec.add_development_dependency 'm'
spec.add_development_dependency 'memory_profiler'
spec.add_development_dependency 'minitest'
spec.add_development_dependency 'minitest-fork_executor'
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 'rubocop'
spec.add_development_dependency 'rubocop-performance'
spec.add_development_dependency 'coveralls'
# add when debugging
# require 'byebug'; byebug
spec.add_development_dependency 'pry-byebug'
spec.add_development_dependency 'minitest-profile'
# 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'
end