From 2fa90ec20692884038b0c6c7c690f52b60443795 Mon Sep 17 00:00:00 2001 From: Joerg Reichert Date: Sat, 5 Mar 2016 19:26:31 +0100 Subject: [PATCH] added coveralls --- Gemfile | 3 +++ Gemfile.lock | 17 +++++++++++++++++ spec/spec_helper.rb | 3 +++ test/test_helper.rb | 3 +++ 4 files changed, 26 insertions(+) diff --git a/Gemfile b/Gemfile index 9025cb0..492b309 100644 --- a/Gemfile +++ b/Gemfile @@ -34,6 +34,8 @@ gem 'elasticsearch' gem 'elasticsearch-model' gem 'elasticsearch-dsl' +gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw] + # bundle exec rake doc:rails generates the API under doc/api. gem 'sdoc', '~> 0.4.0', group: :doc @@ -61,6 +63,7 @@ group :test do gem 'simplecov', require: false gem 'test_after_commit' # TODO remove when moving to rails 5 gem 'database_cleaner' + gem 'coveralls', require: false end # Use ActiveModel has_secure_password diff --git a/Gemfile.lock b/Gemfile.lock index c9bc219..0d0833f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -82,6 +82,7 @@ GEM faraday (0.9.1) multipart-post (>= 1.2, < 3) ffi (1.9.10) + ffi (1.9.10-x64-mingw32) formatador (0.2.5) foundation-rails (5.5.1.2) railties (>= 3.1.0) @@ -134,6 +135,8 @@ GEM nenv (0.3.0) nokogiri (1.6.6.2) mini_portile (~> 0.6.0) + nokogiri (1.6.6.2-x64-mingw32) + mini_portile (~> 0.6.0) notiffany (0.0.8) nenv (~> 0.1) shellany (~> 0.0) @@ -148,6 +151,11 @@ GEM coderay (~> 1.1.0) method_source (~> 0.8.1) slop (~> 3.4) + pry (0.10.1-x64-mingw32) + coderay (~> 1.1.0) + method_source (~> 0.8.1) + slop (~> 3.4) + win32console (~> 1.3) pry-rails (0.3.4) pry (>= 0.9.10) quiet_assets (1.1.0) @@ -247,6 +255,7 @@ GEM activesupport (>= 3.0) sprockets (>= 2.8, < 4.0) sqlite3 (1.3.10) + sqlite3 (1.3.10-x64-mingw32) temple (0.7.5) test_after_commit (0.4.2) activerecord (>= 3.2) @@ -257,17 +266,21 @@ GEM coffee-rails tzinfo (1.2.2) thread_safe (~> 0.1) + tzinfo-data (1.2015.7) + tzinfo (>= 1.0.0) uglifier (2.7.1) execjs (>= 0.3.0) json (>= 1.8.0) validate_url (1.0.2) activemodel (>= 3.0.0) addressable + win32console (1.3.2) xpath (2.0.0) nokogiri (~> 1.3) PLATFORMS ruby + x64-mingw32 DEPENDENCIES awesome_print @@ -303,5 +316,9 @@ DEPENDENCIES sqlite3 test_after_commit turbolinks + tzinfo-data uglifier validate_url + +BUNDLED WITH + 1.10.6 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 913e28a..db1215b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -40,6 +40,9 @@ RSpec.configure do |config| mocks.verify_partial_doubles = true end +require 'coveralls' +Coveralls.wear! + # The settings below are suggested to provide a good initial experience # with RSpec, but feel free to customize to your heart's content. =begin diff --git a/test/test_helper.rb b/test/test_helper.rb index f92d6dc..d6b6f75 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -6,6 +6,9 @@ require File.expand_path('../../config/environment', __FILE__) require 'rails/test_help' require 'capybara/rails' +require 'coveralls' +Coveralls.wear! + class ActiveSupport::TestCase # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. # fixtures :all