coveralls 0.8.21 → 0.8.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 748b5c0aefa495ee81bf33862ba31dbbc9f1a49d
4
- data.tar.gz: 76950851c71ba7230aef1b9a771d8a0ac5da7da3
3
+ metadata.gz: 715f939bf77d995b71f015ad5cb4d4eec0cb04e8
4
+ data.tar.gz: 1745aedc296a636416d9b6a65ae334014ca63a08
5
5
  SHA512:
6
- metadata.gz: c826671aa6a97fdd40e88f6dca9cc31620a1718e5d8fd2bd92e894aa7ebae70758f76313af14c01781263b1b8909a163c7aaed691395c10c0413aca68ce6935e
7
- data.tar.gz: 91dddf6c7efc28b1e7c5163ee0df743d43fbfd3d6745dfe88ff1f25346cf120148d9b8d52696fc92eddd925c7fb3b65cda00f733920d09e4320dbdd301a14250
6
+ metadata.gz: 65b08f3c18a85d04611d314915db9718c7ec8e3b1c8f7489489b90d957b53868a8110308551dabcb41327e83742a7105a47193bda085176d8293a882d2f9bd45
7
+ data.tar.gz: ecaf3d1e5a5b5c8470cb13030ac174bfacdbfb4b8342d26cd9933072937c787646bad6f8a7a3786c500601d98c64367e1abaf6617998ac4109cc81f588048978
@@ -7,10 +7,11 @@ sudo: false
7
7
  rvm:
8
8
  - 1.9.3
9
9
  - 2.0.0
10
- - 2.1.10
11
- - 2.2.7
12
- - 2.3.4
13
- - 2.4.1
10
+ - 2.1
11
+ - 2.2
12
+ - 2.3
13
+ - 2.4
14
+ - 2.5
14
15
  - ruby-head
15
16
  - jruby
16
17
 
data/README.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # [Coveralls](http://coveralls.io) for Ruby [![Test Coverage](https://coveralls.io/repos/lemurheavy/coveralls-ruby/badge.svg?branch=master)](https://coveralls.io/r/lemurheavy/coveralls-ruby) [![Build Status](https://secure.travis-ci.org/lemurheavy/coveralls-ruby.svg?branch=master)](https://travis-ci.org/lemurheavy/coveralls-ruby) [![Gem Version](https://badge.fury.io/rb/coveralls.svg)](http://badge.fury.io/rb/coveralls)
2
2
 
3
- ### [Read the docs →](https://coveralls.zendesk.com/hc/en-us/articles/201769485-Ruby-Rails)
3
+ ### [Read the docs →](https://docs.coveralls.io/ruby-on-rails)
@@ -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.14.1'
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']
@@ -1,3 +1,3 @@
1
1
  module Coveralls
2
- VERSION = "0.8.21"
2
+ VERSION = "0.8.22"
3
3
  end
@@ -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.21
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: 2017-04-27 00:00:00.000000000 Z
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.14.1
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.14.1
47
+ version: 0.16.1
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: tins
50
50
  requirement: !ruby/object:Gem::Requirement