coveralls 0.8.18 → 0.8.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coveralls/configuration.rb +4 -0
- data/lib/coveralls/version.rb +1 -1
- data/spec/coveralls/configuration_spec.rb +13 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09b0004a6dd5ccc707572d628408a4a91414443d'
|
4
|
+
data.tar.gz: 8bf17a541b2781c2afb81a96ee511bb303234ac1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91e173d5e8558a4b2a07445636d279f5ca1a4d73c32a9ad770ecda7f8825226257cab7b91204c005e9068d9ff8f0b74ac611f2fcd7b592ff752664dc025b29f1
|
7
|
+
data.tar.gz: 0c5f311c1e7f9cad6bdd7fbb8406d25d36d276a5dd4e68e75e161ede2cb4950ce27bc5402fce91841b1ebb41eff03931be0acaef42f769b71125e144b302dd65
|
data/lib/coveralls/version.rb
CHANGED
@@ -55,6 +55,19 @@ describe Coveralls::Configuration do
|
|
55
55
|
end
|
56
56
|
|
57
57
|
context 'Services' do
|
58
|
+
context 'with env based service name' do
|
59
|
+
let(:service_name) { 'travis-enterprise' }
|
60
|
+
before do
|
61
|
+
ENV.stub(:[]).with('TRAVIS').and_return('1')
|
62
|
+
ENV.stub(:[]).with('COVERALLS_SERVICE_NAME').and_return(service_name)
|
63
|
+
end
|
64
|
+
|
65
|
+
it 'pulls the service name from the environment if set' do
|
66
|
+
config = Coveralls::Configuration.configuration
|
67
|
+
config[:service_name].should eq(service_name)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
58
71
|
context 'on Travis' do
|
59
72
|
before do
|
60
73
|
ENV.stub(:[]).with('TRAVIS').and_return('1')
|
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.19
|
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: 2017-01-
|
12
|
+
date: 2017-01-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|