codeclimate-test-reporter 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -2
- data/lib/code_climate/test_reporter.rb +2 -2
- data/lib/code_climate/test_reporter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ab7eb526172b9b5b5daa3aa5ac47f871a11cc3a
|
4
|
+
data.tar.gz: c3c9c4422f64ff1ed1143784abd42b913031cf3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9838a08aa48a7e89842e243d42bd2524845c9a380c9d59c6307aa75dbbeecf90f95f012fc291fe385a7e2e81ecf882082d90d94e60d9a082fa8127b7943c6e09
|
7
|
+
data.tar.gz: e826083e48bfb51f718465afbbc9b9b03c3f2460ebbae007bfbe80f84e307efd2639f08cd796edc7b29a9a6f443d91b1980fae692c5f5d14e2120475d92e8204
|
data/README.md
CHANGED
@@ -51,8 +51,26 @@ differences:
|
|
51
51
|
|
52
52
|
* Previously, this gem extended `Simplecov` with a custom formatter which posted
|
53
53
|
results to Code Climate. Now, you are responsible for executing `Simplecov`
|
54
|
-
yourself
|
55
|
-
|
54
|
+
yourself.
|
55
|
+
|
56
|
+
* If you already have the following in your test/test_helper.rb
|
57
|
+
(or spec_helper.rb, cucumber env.rb, etc)
|
58
|
+
|
59
|
+
```ruby
|
60
|
+
require 'codeclimate-test-reporter'
|
61
|
+
CodeClimate::TestReporter.start
|
62
|
+
```
|
63
|
+
|
64
|
+
then you should replace it with
|
65
|
+
|
66
|
+
```ruby
|
67
|
+
require 'simplecov'
|
68
|
+
SimpleCov.start
|
69
|
+
```
|
70
|
+
|
71
|
+
* Previously, the `codeclimate-test-reporter` automatically uploaded results at
|
72
|
+
the end of your test suite. Now, you are responsible for running
|
73
|
+
`codeclimate-test-reporter` as a separate step in your build.
|
56
74
|
* Previously, this gem added some exclusion rules tuned according to feedback
|
57
75
|
from its users, and now these no longer happen automatically. *If you are
|
58
76
|
experiencing a discrepancy in test coverage % after switching to the new gem
|
@@ -3,8 +3,8 @@ module CodeClimate
|
|
3
3
|
WARNING_MESSAGE = <<-EOS.freeze
|
4
4
|
This usage of the Code Climate Test Reporter is now deprecated. Since version
|
5
5
|
1.0, we now require you to run `SimpleCov` in your test/spec helper, and then
|
6
|
-
run the provided `codeclimate-
|
7
|
-
to Code Climate.
|
6
|
+
run the provided `codeclimate-test-reporter` binary separately to report your
|
7
|
+
results to Code Climate.
|
8
8
|
|
9
9
|
More information here: https://github.com/codeclimate/ruby-test-reporter/blob/master/README.md
|
10
10
|
EOS
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codeclimate-test-reporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Helmkamp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simplecov
|