-
Notifications
You must be signed in to change notification settings - Fork 0
/
rspec_performance_summary.gemspec
31 lines (25 loc) · 1.23 KB
/
rspec_performance_summary.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
# frozen_string_literal: true
require_relative 'lib/rspec_performance_summary/version'
Gem::Specification.new do |spec|
spec.name = 'rspec_performance_summary'
spec.version = RspecPerformanceSummary::VERSION
spec.authors = ['David Runger']
spec.email = ['[email protected]']
spec.summary = 'Print the execution time of your slowest RSpec examples.'
spec.description = 'Print the execution time of your slowest RSpec examples.'
spec.homepage = 'https://github.com/davidrunger/rspec_performance_summary/'
spec.license = 'MIT'
required_ruby_version = File.read('.ruby-version').rstrip.sub(/\A(\d+\.\d+)\.\d+\z/, '\1.0')
spec.required_ruby_version = ">= #{required_ruby_version}"
spec.metadata['rubygems_mfa_required'] = 'true'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
spec.metadata['changelog_uri'] =
'https://github.com/davidrunger/rspec_performance_summary/blob/main/CHANGELOG.md'
spec.files =
Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.require_paths = ['lib']
spec.add_dependency('rspec-core', '~> 3.0')
end