coveralls 0.5.5 → 0.5.6

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.
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/repos/lemurheavy/coveralls-ruby) [![Build Status](https://secure.travis-ci.org/lemurheavy/coveralls-ruby.png?branch=master)](https://travis-ci.org/lemurheavy/coveralls-ruby)
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)
@@ -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).yellow
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'
@@ -1,3 +1,3 @@
1
1
  module Coveralls
2
- VERSION = "0.5.5"
2
+ VERSION = "0.5.6"
3
3
  end
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.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: 2012-12-03 00:00:00.000000000 Z
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.24
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.