forked from vicentllongo/simplecov-json
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
simplecov-sublime.gemspec
56 lines (46 loc) · 2.16 KB
/
simplecov-sublime.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'simple_cov/sublime/version'
Gem::Specification.new do |spec|
spec.name = 'simplecov-sublime'
spec.version = SimpleCov::Sublime::VERSION
spec.platform = Gem::Platform::RUBY
spec.authors = ['Mikael Henriksson']
spec.email = ['mikael@mhenrixon.com']
spec.homepage = 'https://github.com/mhenrixon/simplecov-sublime'
spec.license = 'MIT'
spec.summary = <<~SUMMARY
Sublime formatter for SimpleCov code coverage tool for ruby 2.5+
SUMMARY
spec.description = <<~DESCRIPTION
Sublime formatter for SimpleCov code coverage tool for ruby 2.5+
DESCRIPTION
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.' unless spec.respond_to?(:metadata)
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['bug_tracker_uri'] = 'https://github.com/mhenrixon/mhenrixon/issues'
spec.metadata['documentation_uri'] = 'https://mhenrixon.github.io/simplecov-oj'
spec.metadata['source_code_uri'] = 'https://github.com/mhenrixon/simplecov-oj'
spec.metadata['changelog_uri'] = 'https://github.com/mhenrixon/simplecov-oj/CHANGELOG.md'
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").select do |file|
file.match(%r{^(lib/*|README|LICENSE|CHANGELOG)})
end
end
spec.test_files = []
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5'
spec.add_dependency 'json'
spec.add_dependency 'simplecov', '~> 0.14', '< 1.0.0'
spec.add_development_dependency 'appraisal'
spec.add_development_dependency 'bundler', '~> 2.1'
spec.add_development_dependency 'gem-release', '~> 2.2'
spec.add_development_dependency 'json_spec'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.9'
# ===== Documentation =====
spec.add_development_dependency 'github_changelog_generator', '~> 1.14'
spec.add_development_dependency 'github-markup', '~> 3.0'
# spec.add_development_dependency "redcarpet", "~> 3.4"
spec.add_development_dependency 'yard', '~> 0.9'
end