codeclimate_batch 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/codeclimate_batch/version.rb +1 -1
- data/lib/codeclimate_batch.rb +2 -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: bc244d7d57a094efd8de9ed59d16f027554a8c4c
|
4
|
+
data.tar.gz: c2c26ae7c6c1be89ae6723e8463791cb3d2477a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 621e69d58907012ef43b4b45ccb67aedfc7a3b894a28719f57400bdf363000360dd6f054fc22cb08f90b4dd164e594545f42a47779f135605f50cae4800b50bb
|
7
|
+
data.tar.gz: 12443cc98868c12a1ced64510ffb4c9f3fbffd7070ef2d45f6cdbfa0ec9d21abe1bf1134491e9d5556a09776ed7bd2f6d68107ffbb96cfaa78dbe6cfb82a6db0
|
data/lib/codeclimate_batch.rb
CHANGED
@@ -5,7 +5,8 @@ module CodeclimateBatch
|
|
5
5
|
# code climate only accepts reports from master but records coverage on all PRs -> wasted time
|
6
6
|
def start
|
7
7
|
return if ENV['TRAVIS'] && (ENV['TRAVIS_BRANCH'] != 'master' || ENV['TRAVIS_PULL_REQUEST'].to_i != 0)
|
8
|
-
ENV['
|
8
|
+
ENV['CODECLIMATE_TO_FILE'] = '1' # write results to file since we need to combine them before sending
|
9
|
+
gem 'codeclimate-test-reporter', '>= 0.4.8' # get CODECLIMATE_TO_FILE support and avoid deprecations
|
9
10
|
require 'codeclimate-test-reporter'
|
10
11
|
CodeClimate::TestReporter.start
|
11
12
|
end
|
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.3.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: 2015-
|
11
|
+
date: 2015-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|