summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gemfile2
-rw-r--r--spec/spec_helper.rb3
2 files changed, 5 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 53c4646..1de85cb 100644
--- a/Gemfile
+++ b/Gemfile
@@ -6,3 +6,5 @@ platforms :rbx do
gem 'rubysl', '~> 2.0'
end
+gem 'coveralls', require: false
+
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 54d8b97..1f7affe 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -2,6 +2,9 @@ $: << File.expand_path(File.join(File.dirname( __FILE__ ), "../lib"))
require 'ffi_yajl'
+require 'coveralls'
+Coveralls.wear!
+
RSpec.configure do |c|
c.filter_run_excluding :ruby_gte_19 => true unless RUBY_VERSION.to_f >= 1.9