File tree 4 files changed +10
-1
lines changed
4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Ruby gem for validating [JSON API](http://jsonapi.org) documents.
5
5
6
6
[ ![ Gem Version] ( https://badge.fury.io/rb/jsonapi-parser.svg )] ( https://badge.fury.io/rb/jsonapi-parser )
7
7
[ ![ Build Status] ( https://secure.travis-ci.org/jsonapi-rb/parser.svg?branch=master )] ( http://travis-ci.org/jsonapi-rb/parser?branch=master )
8
+ [ ![ codecov] ( https://codecov.io/gh/jsonapi-rb/parser/branch/master/graph/badge.svg )] ( https://codecov.io/gh/jsonapi-rb/parser )
8
9
9
10
## Installation
10
11
``` ruby
Original file line number Diff line number Diff line change @@ -17,4 +17,5 @@ Gem::Specification.new do |spec|
17
17
18
18
spec . add_development_dependency 'rake' , '~> 11.3'
19
19
spec . add_development_dependency 'rspec' , '~> 3.5'
20
+ spec . add_development_dependency 'codecov' , '~> 0.1'
20
21
end
Original file line number Diff line number Diff line change 1
- require 'jsonapi/parser '
1
+ require 'spec_helper '
2
2
3
3
describe JSONAPI ::Parser , '.parse_response!' do
4
4
it 'succeeds on nil data' do
Original file line number Diff line number Diff line change
1
+ require 'simplecov'
2
+ SimpleCov . start
3
+
4
+ require 'codecov'
5
+ SimpleCov . formatter = SimpleCov ::Formatter ::Codecov
6
+
7
+ require 'jsonapi/parser'
You can’t perform that action at this time.
0 commit comments