From 62f3b10184881d447aa648d78c7f218e2bb27826 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sun, 11 Aug 2013 01:11:13 -0400 Subject: [PATCH] Add pretty buttons --- .gitignore | 3 +++ Gemfile | 1 + Gemfile.lock | 14 ++++++++++++++ README.md | 3 ++- spec/spec_helper.rb | 3 +++ 5 files changed, 23 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 62919ed..465a137 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,6 @@ # Ignore database config file config/database.yml + +# coveralls? +coverage/* diff --git a/Gemfile b/Gemfile index e84adbe..e97a7b3 100644 --- a/Gemfile +++ b/Gemfile @@ -24,5 +24,6 @@ group :test, :development do gem 'libnotify' gem 'rb-fsevent' gem 'database_cleaner', '1.0.1' + gem 'coveralls', require: false end diff --git a/Gemfile.lock b/Gemfile.lock index 9a62ef9..25b0882 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -45,6 +45,13 @@ GEM coffee-script-source execjs coffee-script-source (1.6.3) + colorize (0.5.8) + coveralls (0.6.7) + colorize + multi_json (~> 1.3) + rest-client + simplecov (>= 0.7) + thor daemons (1.1.9) database_cleaner (1.0.1) diff-lcs (1.2.4) @@ -126,6 +133,8 @@ GEM ffi (>= 0.5.0) rdoc (3.12.2) json (~> 1.4) + rest-client (1.6.7) + mime-types (>= 1.16) rspec (2.14.1) rspec-core (~> 2.14.0) rspec-expectations (~> 2.14.0) @@ -149,6 +158,10 @@ GEM sdoc (0.3.20) json (>= 1.1.3) rdoc (~> 3.10) + simplecov (0.7.1) + multi_json (~> 1.0) + simplecov-html (~> 0.7.1) + simplecov-html (0.7.1) slop (3.4.6) sprockets (2.10.0) hike (~> 1.2) @@ -188,6 +201,7 @@ DEPENDENCIES capybara capybara-webkit coffee-rails (~> 4.0.0) + coveralls database_cleaner (= 1.0.1) factory_girl_rails guard-rspec diff --git a/README.md b/README.md index 5834bdd..8a82dfb 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ -[![Build Status](https://travis-ci.org/atomaka/allpro.png)](https://travis-ci.org/atomaka/allpro) +[![Build Status](https://travis-ci.org/atomaka/allpro.png)](https://travis-ci.org/atomaka/allpro) [![Coverage Status](https://coveralls.io/repos/atomaka/allpro/badge.png)](https://coveralls.io/r/atomaka/allpro) [![Code Climate](https://codeclimate.com/github/atomaka/allpro.png)](https://codeclimate.com/github/atomaka/allpro) + diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 61655a3..363376f 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,11 +3,14 @@ require File.expand_path("../../config/environment", __FILE__) require 'rspec/rails' require 'rspec/autorun' require 'capybara/rspec' +require 'coveralls' Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration) +Coveralls.wear! + RSpec.configure do |config| # ## Mock Framework #