Skip to content

Commit f310946

Browse files
committed
try to get codeclimate reporting
1 parent 8dd160e commit f310946

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

case_transform.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
1212
s.version = CaseTransform::VERSION
1313
s.platform = Gem::Platform::RUBY
1414
s.license = 'MIT'
15-
s.authors = ['L. Preston Sego III']
15+
s.authors = ['L. Preston Sego III', 'Ben Mills']
1616
s.email = '[email protected]'
1717
s.homepage = 'https://github.com/NullVoxPopuli/case_transform'
1818
s.summary = "CaseTransform-#{CaseTransform::VERSION}"

test/test_helper.rb

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# frozen_string_literal: true
22
require 'bundler/setup'
33

4-
begin
5-
require 'simplecov'
6-
Coverage.start
7-
rescue LoadError
8-
STDERR.puts 'Running without SimpleCov'
4+
require "codeclimate-test-reporter"
5+
6+
if ENV['CODECLIMATE_REPO_TOKEN']
7+
CodeClimate::TestReporter.start
98
end
109

10+
1111
require 'pry-byebug'
1212
require 'case_transform'
1313

0 commit comments

Comments
 (0)