codeclimate_batch 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/codeclimate_batch.rb +2 -2
- data/lib/codeclimate_batch/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: dce48374de23d7111fec201e3c95e37731206e90
|
|
4
|
+
data.tar.gz: 1d53359fd6c83139012b43f0661e9a7397887848
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a2ef7d3c0bec08595b64024cb30f127187702219188fd31d2c0184eccf198ecebd95e96d3fdaf40bf1e41b3d063650eafed8fbdfec2bb404316d214d6e5b846b
|
|
7
|
+
data.tar.gz: 0e0e19c1d90266f32a61c941982f520ceafe126b479b0a8e186a99e8e161b5b530c15b95f1442663051cf95e27fca46002a7172cba33c3c5371ff8ac8b7955fa
|
data/lib/codeclimate_batch.rb
CHANGED
|
@@ -4,9 +4,9 @@ module CodeclimateBatch
|
|
|
4
4
|
class << self
|
|
5
5
|
# Start TestReporter with appropriate settings.
|
|
6
6
|
# Note that Code Climate only accepts reports from the default branch (usually master, but can be changed)
|
|
7
|
-
# but records coverage on all PRs
|
|
7
|
+
# but records coverage on all PRs and displays their coverage difference
|
|
8
8
|
def start
|
|
9
|
-
return if travis? && (outside_default_branch?
|
|
9
|
+
return if travis? && (outside_default_branch? && !pull_request?)
|
|
10
10
|
ENV['CODECLIMATE_TO_FILE'] = '1' # write results to file since we need to combine them before sending
|
|
11
11
|
gem 'codeclimate-test-reporter', '>= 0.4.8' # get CODECLIMATE_TO_FILE support and avoid deprecations
|
|
12
12
|
require 'codeclimate-test-reporter'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: codeclimate_batch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Grosser
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-11-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|