Skip to content

Commit

Permalink
Added code coverage w/ Coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Jan 12, 2017
1 parent 4e92898 commit c169dbe
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 16 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
service_name: travis-ci
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ group :test do
gem 'rack-jsonp', require: 'rack/jsonp'
gem 'mime-types', '~> 3.0'
gem 'ruby-grape-danger', '~> 0.1.0', require: false
gem 'coveralls', '~> 0.8.17', require: false
end
9 changes: 5 additions & 4 deletions gemfiles/rack_1.5.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gem 'rack', '1.5.2'
group :development, :test do
gem 'bundler'
gem 'rake'
gem 'rubocop', '0.39.0'
gem 'rubocop', '~> 0.45'
end

group :development do
Expand All @@ -21,14 +21,15 @@ group :development do
end

group :test do
gem 'grape-entity', '0.5.0'
gem 'grape-entity', '~> 0.6'
gem 'maruku'
gem 'rack-test'
gem 'rspec', '~> 3.0'
gem 'cookiejar'
gem 'rack-jsonp', require: 'rack/jsonp'
gem 'mime-types', '< 3.0'
gem 'danger', '~> 2.0'
gem 'mime-types', '~> 3.0'
gem 'ruby-grape-danger', '~> 0.1.0', require: false
gem 'coveralls', '~> 0.8.17', require: false
end

gemspec path: '../'
9 changes: 5 additions & 4 deletions gemfiles/rails_3.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gem 'rack-cache', '<= 1.2'
group :development, :test do
gem 'bundler'
gem 'rake'
gem 'rubocop', '0.39.0'
gem 'rubocop', '~> 0.45'
end

group :development do
Expand All @@ -22,14 +22,15 @@ group :development do
end

group :test do
gem 'grape-entity', '0.5.0'
gem 'grape-entity', '~> 0.6'
gem 'maruku'
gem 'rack-test'
gem 'rspec', '~> 3.0'
gem 'cookiejar'
gem 'rack-jsonp', require: 'rack/jsonp'
gem 'mime-types', '< 3.0'
gem 'danger', '~> 2.0'
gem 'mime-types', '~> 3.0'
gem 'ruby-grape-danger', '~> 0.1.0', require: false
gem 'coveralls', '~> 0.8.17', require: false
end

gemspec path: '../'
9 changes: 5 additions & 4 deletions gemfiles/rails_4.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gem 'rails', '4.1.6'
group :development, :test do
gem 'bundler'
gem 'rake'
gem 'rubocop', '0.39.0'
gem 'rubocop', '~> 0.45'
end

group :development do
Expand All @@ -21,14 +21,15 @@ group :development do
end

group :test do
gem 'grape-entity', '0.5.0'
gem 'grape-entity', '~> 0.6'
gem 'maruku'
gem 'rack-test'
gem 'rspec', '~> 3.0'
gem 'cookiejar'
gem 'rack-jsonp', require: 'rack/jsonp'
gem 'mime-types', '< 3.0'
gem 'danger', '~> 2.0'
gem 'mime-types', '~> 3.0'
gem 'ruby-grape-danger', '~> 0.1.0', require: false
gem 'coveralls', '~> 0.8.17', require: false
end

gemspec path: '../'
9 changes: 5 additions & 4 deletions gemfiles/rails_5.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gem 'rails', '5.0.0'
group :development, :test do
gem 'bundler'
gem 'rake'
gem 'rubocop', '0.45.0'
gem 'rubocop', '~> 0.45'
end

group :development do
Expand All @@ -21,14 +21,15 @@ group :development do
end

group :test do
gem 'grape-entity', '0.5.0'
gem 'grape-entity', '~> 0.6'
gem 'maruku'
gem 'rack-test'
gem 'rspec', '~> 3.0'
gem 'cookiejar'
gem 'rack-jsonp', require: 'rack/jsonp'
gem 'mime-types', '< 3.0'
gem 'danger', '~> 2.0'
gem 'mime-types', '~> 3.0'
gem 'ruby-grape-danger', '~> 0.1.0', require: false
gem 'coveralls', '~> 0.8.17', require: false
end

gemspec path: '../'
1 change: 1 addition & 0 deletions gemfiles/rails_edge.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ group :test do
gem 'rack-jsonp', require: 'rack/jsonp'
gem 'mime-types', '~> 3.0'
gem 'ruby-grape-danger', '~> 0.1.0', require: false
gem 'coveralls', '~> 0.8.17', require: false
end

gemspec path: '../'
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@

config.before(:each) { Grape::Util::InheritableSetting.reset_global! }
end

require 'coveralls'
Coveralls.wear!

0 comments on commit c169dbe

Please sign in to comment.