From 435fa64f3f54389d8a3b2b07aba32c58c1492010 Mon Sep 17 00:00:00 2001 From: Vikram Ramakrishnan Date: Wed, 17 Feb 2016 17:20:18 -0500 Subject: [PATCH] add coveralls --- .coveralls.yml.example | 1 + .gitignore | 1 + Gemfile | 1 + spec/spec_helper.rb | 6 ++++-- 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .coveralls.yml.example diff --git a/.coveralls.yml.example b/.coveralls.yml.example new file mode 100644 index 0000000..c025fd1 --- /dev/null +++ b/.coveralls.yml.example @@ -0,0 +1 @@ +repo_token: YOUR_TOKEN diff --git a/.gitignore b/.gitignore index 70d4d2f..98dd610 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ *.a mkmf.log *.gem +.coveralls.yml diff --git a/Gemfile b/Gemfile index 13d9443..3ce6dba 100644 --- a/Gemfile +++ b/Gemfile @@ -4,4 +4,5 @@ gemspec gem 'awesome_print' gem 'colorize' +gem 'coveralls', require: false gem 'faker' diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index ffaa4a6..08b3585 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,4 +1,6 @@ -require 'rubies' +require "rubies" +require "coveralls" +Coveralls.wear! #provides the stdin interface to test the Rubies::Game class. class FakeInput @@ -22,4 +24,4 @@ def size @strings.length end -end \ No newline at end of file +end