coveralls 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,5 +33,5 @@ Gem::Specification.new do |gem|
33
33
  gem.add_development_dependency 'rspec'
34
34
  gem.add_development_dependency 'rake'
35
35
  gem.add_development_dependency 'webmock', '1.7'
36
- gem.add_development_dependency 'vcr'
36
+ gem.add_development_dependency 'vcr', '1.11.3'
37
37
  end
@@ -72,9 +72,9 @@ module Coveralls
72
72
  end
73
73
 
74
74
  def should_run?
75
-
76
- # Fail early if we're not on Travis
77
- unless ENV["CI"] || ENV["COVERALLS_RUN_LOCALLY"] || @testing
75
+ # Fail early if we're not on a CI
76
+ unless ENV["CI"] || ENV["JENKINS_URL"] ||
77
+ ENV["COVERALLS_RUN_LOCALLY"] || @testing
78
78
  puts "[Coveralls] Outside the Travis environment, not sending data.".yellow
79
79
  return false
80
80
  end
@@ -20,13 +20,14 @@ module Coveralls
20
20
  config[:service_job_id] = ENV['TRAVIS_JOB_ID']
21
21
  config[:service_name] = (yml ? yml['service_name'] : nil) || 'travis-ci'
22
22
  elsif ENV['CIRCLECI']
23
- config[:service_job_id] = ENV['CIRCLE_BUILD_NUM']
24
23
  config[:service_name] = 'circleci'
24
+ config[:service_number] = ENV['CIRCLE_BUILD_NUM']
25
25
  elsif ENV['SEMAPHORE']
26
26
  config[:service_name] = 'semaphore'
27
+ config[:service_number] = ENV['SEMAPHORE_BUILD_NUMBER']
27
28
  elsif ENV['JENKINS_URL']
28
- config[:service_job_id] = ENV['BUILD_NUMBER']
29
29
  config[:service_name] = 'jenkins'
30
+ config[:service_number] = ENV['BUILD_NUMBER']
30
31
  elsif ENV["COVERALLS_RUN_LOCALLY"] || Coveralls.testing
31
32
  config[:service_job_id] = nil
32
33
  config[:service_name] = 'coveralls-ruby'
@@ -1,3 +1,3 @@
1
1
  module Coveralls
2
- VERSION = "0.6.4"
2
+ VERSION = "0.6.5"
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.6.4
4
+ version: 0.6.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-04-02 00:00:00.000000000 Z
13
+ date: 2013-04-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client
@@ -161,17 +161,17 @@ dependencies:
161
161
  requirement: !ruby/object:Gem::Requirement
162
162
  none: false
163
163
  requirements:
164
- - - ! '>='
164
+ - - '='
165
165
  - !ruby/object:Gem::Version
166
- version: '0'
166
+ version: 1.11.3
167
167
  type: :development
168
168
  prerelease: false
169
169
  version_requirements: !ruby/object:Gem::Requirement
170
170
  none: false
171
171
  requirements:
172
- - - ! '>='
172
+ - - '='
173
173
  - !ruby/object:Gem::Version
174
- version: '0'
174
+ version: 1.11.3
175
175
  description: A Ruby implementation of the Coveralls API.
176
176
  email:
177
177
  - nick@lemurheavy.com