Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 1bda3b4

Browse files
committed
simplify gemspec and remove needless weight
1 parent ee4b3c7 commit 1bda3b4

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

codeclimate-test-reporter.gemspec

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
1-
# coding: utf-8
2-
lib = File.expand_path('../lib', __FILE__)
3-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4-
require "code_climate/test_reporter/version"
1+
require "./lib/code_climate/test_reporter/version"
52

63
Gem::Specification.new do |spec|
74
spec.name = "codeclimate-test-reporter"
85
spec.version = CodeClimate::TestReporter::VERSION
96
spec.authors = ["Bryan Helmkamp"]
107
spec.email = ["[email protected]"]
11-
spec.description = %q{Collects test coverage data from your Ruby test suite and sends it to Code Climate's hosted, automated code review service. Based on SimpleCov.}
12-
spec.summary = %q{Uploads Ruby test coverage data to Code Climate.}
8+
spec.description = "Collects test coverage data from your Ruby test suite and sends it to Code Climate's hosted, automated code review service. Based on SimpleCov."
9+
spec.summary = "Uploads Ruby test coverage data to Code Climate."
1310
spec.homepage = "https://github.com/codeclimate/ruby-test-reporter"
1411
spec.license = "MIT"
1512

16-
spec.files = `git ls-files`.split($/)
13+
spec.files = `git ls-files bin lib config LICENSE.txt README.md`.split($/)
1714
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19-
spec.require_paths = ["lib"]
2015

2116
spec.required_ruby_version = ">= 1.9"
2217

0 commit comments

Comments
 (0)