coveralls 0.8.21 → 0.8.22
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.
- checksums.yaml +4 -4
- data/.travis.yml +5 -4
- data/README.md +1 -1
- data/coveralls-ruby.gemspec +1 -1
- data/lib/coveralls/configuration.rb +3 -0
- data/lib/coveralls/version.rb +1 -1
- data/spec/coveralls/configuration_spec.rb +13 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 715f939bf77d995b71f015ad5cb4d4eec0cb04e8
|
4
|
+
data.tar.gz: 1745aedc296a636416d9b6a65ae334014ca63a08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65b08f3c18a85d04611d314915db9718c7ec8e3b1c8f7489489b90d957b53868a8110308551dabcb41327e83742a7105a47193bda085176d8293a882d2f9bd45
|
7
|
+
data.tar.gz: ecaf3d1e5a5b5c8470cb13030ac174bfacdbfb4b8342d26cd9933072937c787646bad6f8a7a3786c500601d98c64367e1abaf6617998ac4109cc81f588048978
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
# [Coveralls](http://coveralls.io) for Ruby [](https://coveralls.io/r/lemurheavy/coveralls-ruby) [](https://travis-ci.org/lemurheavy/coveralls-ruby) [](http://badge.fury.io/rb/coveralls)
|
2
2
|
|
3
|
-
### [Read the docs →](https://coveralls.
|
3
|
+
### [Read the docs →](https://docs.coveralls.io/ruby-on-rails)
|
data/coveralls-ruby.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |gem|
|
|
20
20
|
gem.required_ruby_version = '>= 1.8.7'
|
21
21
|
|
22
22
|
gem.add_dependency 'json', '>= 1.8', '< 3'
|
23
|
-
gem.add_dependency 'simplecov', '~> 0.
|
23
|
+
gem.add_dependency 'simplecov', '~> 0.16.1'
|
24
24
|
gem.add_dependency 'tins', '~> 1.6'
|
25
25
|
gem.add_dependency 'term-ansicolor', '~> 1.3'
|
26
26
|
gem.add_dependency 'thor', '~> 0.19.4'
|
@@ -20,6 +20,9 @@ module Coveralls
|
|
20
20
|
if ENV['COVERALLS_PARALLEL'] && ENV['COVERALLS_PARALLEL'] != "false"
|
21
21
|
config[:parallel] = true
|
22
22
|
end
|
23
|
+
if ENV['COVERALLS_FLAG_NAME']
|
24
|
+
config[:flag_name] = ENV['COVERALLS_FLAG_NAME']
|
25
|
+
end
|
23
26
|
if ENV['TRAVIS']
|
24
27
|
set_service_params_for_travis(config, yml ? yml['service_name'] : nil)
|
25
28
|
elsif ENV['CIRCLECI']
|
data/lib/coveralls/version.rb
CHANGED
@@ -54,6 +54,19 @@ describe Coveralls::Configuration do
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
+
context 'flag_name in environment' do
|
58
|
+
let(:flag_name) { 'Test Flag' }
|
59
|
+
|
60
|
+
before do
|
61
|
+
ENV.stub(:[]).with('COVERALLS_FLAG_NAME').and_return(flag_name)
|
62
|
+
end
|
63
|
+
|
64
|
+
it 'pulls the flag name from the environment if set' do
|
65
|
+
config = Coveralls::Configuration.configuration
|
66
|
+
config[:flag_name].should eq(flag_name)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
57
70
|
context 'Services' do
|
58
71
|
context 'with env based service name' do
|
59
72
|
let(:service_name) { 'travis-enterprise' }
|
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.8.
|
4
|
+
version: 0.8.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Merwin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-06-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -37,14 +37,14 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.16.1
|
41
41
|
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.16.1
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: tins
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|