File tree 5 files changed +30
-8
lines changed
5 files changed +30
-8
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,5 @@ group :test do
14
14
gem 'webmock' , require : false
15
15
gem 'vcr' , require : false
16
16
gem 'codecov' , require : false
17
+ gem 'simplecov'
17
18
end
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ DEPENDENCIES
164
164
rake (~> 10.4 )
165
165
rspec (~> 3.1 , >= 3.1.0 )
166
166
rubocop
167
- simplecov ( ~> 0.9 )
167
+ simplecov
168
168
terminal-notifier-guard
169
169
vcr
170
170
webmock
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ CircleCI] ( https://img.shields.io/circleci/project/github/auth0/ruby-auth0/master.svg )] ( https://circleci.com/gh/auth0/ruby-auth0 )
4
4
[ ![ Gem Version] ( https://badge.fury.io/rb/auth0.svg )] ( http://badge.fury.io/rb/auth0 )
5
- [ ![ Coverage Status ] ( https://coveralls .io/repos /auth0/ruby-auth0/badge.svg?branch=master )] ( https://coveralls .io/r /auth0/ruby-auth0?branch=master )
5
+ [ ![ codecov ] ( https://codecov .io/gh /auth0/ruby-auth0/branch/master/graph/ badge.svg )] ( https://codecov .io/gh /auth0/ruby-auth0 )
6
6
[ ![ Yard Docs] ( http://img.shields.io/badge/yard-docs-blue.svg )] ( http://www.rubydoc.info/github/auth0/ruby-auth0/master/frames )
7
7
[ ![ MIT licensed] ( https://img.shields.io/dub/l/vibe-d.svg?style=flat )] ( https://github.com/auth0/ruby-auth0/blob/master/LICENSE )
8
8
Original file line number Diff line number Diff line change
1
+ coverage :
2
+ precision : 2
3
+ round : down
4
+ range : " 60...100"
5
+ status :
6
+ project :
7
+ default :
8
+ enabled : true
9
+ target : auto
10
+ threshold : 5%
11
+ if_no_uploads : error
12
+ patch :
13
+ default :
14
+ enabled : true
15
+ target : 80%
16
+ threshold : 30%
17
+ if_no_uploads : error
18
+ changes :
19
+ default :
20
+ enabled : true
21
+ if_no_uploads : error
22
+ comment : false
Original file line number Diff line number Diff line change 4
4
require 'auth0'
5
5
6
6
require 'simplecov'
7
- SimpleCov . start do
8
- add_filter '/spec/'
9
- add_filter '/spec/integration'
10
- end
7
+ SimpleCov . start
11
8
12
- require 'codecov'
13
- SimpleCov . formatter = SimpleCov ::Formatter ::Codecov if ENV [ 'CIRCLECI' ]
9
+ if ENV [ 'CI' ] == 'true'
10
+ require 'codecov'
11
+ SimpleCov . formatter = SimpleCov ::Formatter ::Codecov
12
+ end
14
13
15
14
require 'dotenv'
16
15
Dotenv . load
You can’t perform that action at this time.
0 commit comments