mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
Add Coveralls (uses simplecov) for code coverage.
This commit is contained in:
parent
8c3375b299
commit
a513e48332
4 changed files with 8 additions and 2 deletions
2
.coveralls.yml
Normal file
2
.coveralls.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
service_name: travis-ci
|
4
Rakefile
4
Rakefile
|
@ -22,8 +22,8 @@ RSpec::Core::RakeTask.new('spec:integration') do |t|
|
|||
end
|
||||
|
||||
desc "Print specdocs"
|
||||
RSpec::Core::RakeTask.new(:doc) do |t|
|
||||
t.rspec_opts = ["--format", "specdoc", "--dry-run"]
|
||||
RSpec::Core::RakeTask.new(:specdoc) do |t|
|
||||
t.rspec_opts = ["--format", "documentation", "--dry-run"]
|
||||
t.pattern = 'spec/**/*_spec.rb'
|
||||
end
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@ Gem::Specification.new do |s|
|
|||
s.homepage = 'https://github.com/rest-client/rest-client'
|
||||
s.summary = 'Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.'
|
||||
|
||||
s.add_development_dependency('coveralls', '~> 0.8')
|
||||
s.add_development_dependency('webmock', '~> 2.0')
|
||||
s.add_development_dependency('rspec', '~> 3.0')
|
||||
s.add_development_dependency('pry', '~> 0')
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
require 'coveralls'
|
||||
Coveralls.wear!
|
||||
|
||||
require 'webmock/rspec'
|
||||
require 'rest-client'
|
||||
|
||||
|
|
Loading…
Reference in a new issue