coveralls 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/coveralls.rb +5 -4
- data/lib/coveralls/version.rb +1 -1
- data/spec/spec_helper.rb +1 -3
- metadata +3 -3
data/lib/coveralls.rb
CHANGED
@@ -7,9 +7,9 @@ require "coveralls/simplecov"
|
|
7
7
|
|
8
8
|
module Coveralls
|
9
9
|
|
10
|
-
def self.wear!(
|
10
|
+
def self.wear!(*args)
|
11
11
|
setup!
|
12
|
-
start!(
|
12
|
+
start!(*args)
|
13
13
|
end
|
14
14
|
|
15
15
|
def self.setup!
|
@@ -29,7 +29,7 @@ module Coveralls
|
|
29
29
|
# Load the appropriate adapter.
|
30
30
|
if @@adapter == :simplecov
|
31
31
|
::SimpleCov.formatter = Coveralls::SimpleCov::Formatter
|
32
|
-
puts "[Coveralls]
|
32
|
+
puts "[Coveralls] Set up the SimpleCov formatter.".green
|
33
33
|
else
|
34
34
|
puts "[Coveralls] Couldn't find an appropriate adapter.".red
|
35
35
|
end
|
@@ -42,6 +42,7 @@ module Coveralls
|
|
42
42
|
puts "[Coveralls] Using SimpleCov's '#{simplecov_setting}' settings.".green
|
43
43
|
::SimpleCov.start(simplecov_setting)
|
44
44
|
else
|
45
|
+
puts "[Coveralls] Using SimpleCov's default settings.".green
|
45
46
|
::SimpleCov.start
|
46
47
|
end
|
47
48
|
end
|
@@ -51,7 +52,7 @@ module Coveralls
|
|
51
52
|
|
52
53
|
# Fail early if we're not on Travis
|
53
54
|
unless ENV["TRAVIS"] || ENV["COVERALLS_RUN_LOCALLY"]
|
54
|
-
puts "[Coveralls]
|
55
|
+
puts "[Coveralls] Outside the Travis environment, not sending data.".yellow
|
55
56
|
return false
|
56
57
|
end
|
57
58
|
|
data/lib/coveralls/version.rb
CHANGED
data/spec/spec_helper.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.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -164,7 +164,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
164
164
|
version: '0'
|
165
165
|
segments:
|
166
166
|
- 0
|
167
|
-
hash:
|
167
|
+
hash: -1995849353156122658
|
168
168
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
169
|
none: false
|
170
170
|
requirements:
|
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
173
|
version: '0'
|
174
174
|
segments:
|
175
175
|
- 0
|
176
|
-
hash:
|
176
|
+
hash: -1995849353156122658
|
177
177
|
requirements: []
|
178
178
|
rubyforge_project:
|
179
179
|
rubygems_version: 1.8.24
|