coveralls 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/lib/coveralls/api.rb +2 -1
- data/lib/coveralls/configuration.rb +3 -0
- data/lib/coveralls/version.rb +1 -1
- metadata +3 -9
data/README.md
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
# [Coveralls](http://coveralls.io) for Ruby [![Test Coverage](https://coveralls.io/repos/lemurheavy/coveralls-ruby/badge.png?branch=master)](https://coveralls.io/
|
1
|
+
# [Coveralls](http://coveralls.io) for Ruby [![Test Coverage](https://coveralls.io/repos/lemurheavy/coveralls-ruby/badge.png?branch=master)](https://coveralls.io/r/lemurheavy/coveralls-ruby) [![Build Status](https://secure.travis-ci.org/lemurheavy/coveralls-ruby.png?branch=master)](https://travis-ci.org/lemurheavy/coveralls-ruby)
|
2
2
|
|
3
|
-
### [Read the docs →](https://coveralls.io/docs/ruby)
|
3
|
+
### [Read the docs →](https://coveralls.io/docs/ruby)
|
data/lib/coveralls/api.rb
CHANGED
@@ -39,7 +39,8 @@ module Coveralls
|
|
39
39
|
config = Coveralls::Configuration.configuration
|
40
40
|
if ENV['TRAVIS'] || ENV['COVERALLS_DEBUG']
|
41
41
|
puts "[Coveralls] Submiting with config:".yellow
|
42
|
-
puts JSON.pretty_generate(config).
|
42
|
+
puts JSON.pretty_generate(config).
|
43
|
+
gsub(/"repo_token": "(.*?)"/,'"repo_token": "[secure]"').yellow
|
43
44
|
end
|
44
45
|
hash.merge(config)
|
45
46
|
end
|
@@ -13,6 +13,9 @@ module Coveralls
|
|
13
13
|
config[:configuration] = yml
|
14
14
|
config[:repo_token] = yml['repo_token'] || yml['repo_secret_token']
|
15
15
|
end
|
16
|
+
if ENV['COVERALLS_REPO_TOKEN']
|
17
|
+
config[:repo_token] = ENV['COVERALLS_REPO_TOKEN']
|
18
|
+
end
|
16
19
|
if ENV['TRAVIS']
|
17
20
|
config[:service_job_id] = ENV['TRAVIS_JOB_ID']
|
18
21
|
config[:service_name] = (yml ? yml['service_name'] : nil) || 'travis-ci'
|
data/lib/coveralls/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coveralls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|
@@ -162,21 +162,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
162
162
|
- - ! '>='
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: '0'
|
165
|
-
segments:
|
166
|
-
- 0
|
167
|
-
hash: -1995849353156122658
|
168
165
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
166
|
none: false
|
170
167
|
requirements:
|
171
168
|
- - ! '>='
|
172
169
|
- !ruby/object:Gem::Version
|
173
170
|
version: '0'
|
174
|
-
segments:
|
175
|
-
- 0
|
176
|
-
hash: -1995849353156122658
|
177
171
|
requirements: []
|
178
172
|
rubyforge_project:
|
179
|
-
rubygems_version: 1.8.
|
173
|
+
rubygems_version: 1.8.23
|
180
174
|
signing_key:
|
181
175
|
specification_version: 3
|
182
176
|
summary: A Ruby implementation of the Coveralls API.
|