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

Commit 8b21faa

Browse files
committed
Fix spacing issues
1 parent c41baed commit 8b21faa

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

codeclimate-test-reporter.gemspec

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
require "./lib/code_climate/test_reporter/version"
22

33
Gem::Specification.new do |spec|
4-
spec.name = "codeclimate-test-reporter"
5-
spec.version = CodeClimate::TestReporter::VERSION
6-
spec.authors = ["Bryan Helmkamp"]
7-
spec.email = ["[email protected]"]
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."
10-
spec.homepage = "https://github.com/codeclimate/ruby-test-reporter"
11-
spec.license = "MIT"
4+
spec.name = "codeclimate-test-reporter"
5+
spec.version = CodeClimate::TestReporter::VERSION
6+
spec.authors = ["Bryan Helmkamp"]
7+
spec.email = ["[email protected]"]
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."
10+
spec.homepage = "https://github.com/codeclimate/ruby-test-reporter"
11+
spec.license = "MIT"
1212

13-
spec.files = `git ls-files bin lib config LICENSE.txt README.md`.split($/)
14-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
13+
spec.files = `git ls-files bin lib config LICENSE.txt README.md`.split($/)
14+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
1515

1616
spec.required_ruby_version = ">= 1.9"
1717

lib/code_climate/test_reporter/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module TestReporter
88
class Client
99

1010
DEFAULT_TIMEOUT = 5 # in seconds
11-
USER_AGENT = "Code Climate (Ruby Test Reporter v#{VERSION})"
11+
USER_AGENT = "Code Climate (Ruby Test Reporter v#{VERSION})"
1212

1313
def host
1414
ENV["CODECLIMATE_API_HOST"] ||

lib/code_climate/test_reporter/formatter.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ def partial?
5252
def to_payload(result)
5353
totals = Hash.new(0)
5454
source_files = result.files.map do |file|
55-
totals[:total] += file.lines.count
56-
totals[:covered] += file.covered_lines.count
57-
totals[:missed] += file.missed_lines.count
55+
totals[:total] += file.lines.count
56+
totals[:covered] += file.covered_lines.count
57+
totals[:missed] += file.missed_lines.count
5858

5959
# Set coverage for all skipped lines to nil
6060
file.skipped_lines.each do |skipped_line|

0 commit comments

Comments
 (0)