From 84a2cb206e3bb060622c64b0c23937da19594231 Mon Sep 17 00:00:00 2001 From: Csaba Apagyi Date: Tue, 25 Apr 2017 13:43:56 +0200 Subject: [PATCH] Add coveralls for coverage statistics --- json-streamer.gemspec | 1 + spec/spec_helper.rb | 3 +++ 2 files changed, 4 insertions(+) diff --git a/json-streamer.gemspec b/json-streamer.gemspec index 247fbd9..893d87a 100644 --- a/json-streamer.gemspec +++ b/json-streamer.gemspec @@ -24,6 +24,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "bundler", "~> 1.14" spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "rspec", "~> 3.0" + spec.add_development_dependency "coveralls" spec.add_development_dependency "ndhash" spec.add_dependency "json-stream" diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 95095a2..0347739 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,9 @@ require 'bundler/setup' Bundler.setup +require 'coveralls' +Coveralls.wear! + require 'stringio' require 'json' require 'ndhash'