From 7bbc8d612387ac3cff0844ff67bc98199cb86285 Mon Sep 17 00:00:00 2001 From: Javier Alberto Date: Tue, 18 Dec 2018 10:58:14 +0000 Subject: [PATCH] Coveralls --- alimento/.coveralls.yml | 1 + alimento/Gemfile.lock | 33 +++++++++++++++++++++++++++++++++ alimento/alimento.gemspec | 1 + alimento/spec/spec_helper.rb | 4 ++++ 4 files changed, 39 insertions(+) create mode 100644 alimento/.coveralls.yml diff --git a/alimento/.coveralls.yml b/alimento/.coveralls.yml new file mode 100644 index 0000000..6e64999 --- /dev/null +++ b/alimento/.coveralls.yml @@ -0,0 +1 @@ +service_name: travis-ci \ No newline at end of file diff --git a/alimento/Gemfile.lock b/alimento/Gemfile.lock index 6142772..7fa9daf 100644 --- a/alimento/Gemfile.lock +++ b/alimento/Gemfile.lock @@ -7,7 +7,16 @@ GEM remote: https://rubygems.org/ specs: coderay (1.1.2) + coveralls (0.7.1) + multi_json (~> 1.3) + rest-client + simplecov (>= 0.7) + term-ansicolor + thor diff-lcs (1.3) + docile (1.3.1) + domain_name (0.5.20180417) + unf (>= 0.0.5, < 1.0.0) ffi (1.9.25) formatador (0.2.5) guard (2.15.0) @@ -28,13 +37,21 @@ GEM guard (~> 2.1) guard-compat (~> 1.1) rspec (>= 2.99.0, < 4.0) + http-cookie (1.0.3) + domain_name (~> 0.5) + json (2.1.0) listen (3.1.5) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) ruby_dep (~> 1.2) lumberjack (1.0.13) method_source (0.9.2) + mime-types (3.2.2) + mime-types-data (~> 3.2015) + mime-types-data (3.2018.0812) + multi_json (1.13.1) nenv (0.3.0) + netrc (0.11.0) notiffany (0.1.1) nenv (~> 0.1) shellany (~> 0.0) @@ -45,6 +62,10 @@ GEM rb-fsevent (0.10.3) rb-inotify (0.9.10) ffi (>= 0.5.0, < 2) + rest-client (2.0.2) + http-cookie (>= 1.0.2, < 2.0) + mime-types (>= 1.16, < 4.0) + netrc (~> 0.8) rspec (3.8.0) rspec-core (~> 3.8.0) rspec-expectations (~> 3.8.0) @@ -60,7 +81,18 @@ GEM rspec-support (3.8.0) ruby_dep (1.5.0) shellany (0.0.1) + simplecov (0.16.1) + docile (~> 1.1) + json (>= 1.8, < 3) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.2) + term-ansicolor (1.7.0) + tins (~> 1.0) thor (0.20.3) + tins (1.20.2) + unf (0.1.4) + unf_ext + unf_ext (0.0.7.5) PLATFORMS ruby @@ -68,6 +100,7 @@ PLATFORMS DEPENDENCIES alimento! bundler (~> 1.17) + coveralls guard guard-bundler guard-rspec diff --git a/alimento/alimento.gemspec b/alimento/alimento.gemspec index a60c875..5073c1d 100644 --- a/alimento/alimento.gemspec +++ b/alimento/alimento.gemspec @@ -42,4 +42,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency "guard" spec.add_development_dependency "guard-rspec" spec.add_development_dependency "guard-bundler" + spec.add_development_dependency "coveralls" end diff --git a/alimento/spec/spec_helper.rb b/alimento/spec/spec_helper.rb index a7f7890..dc0b4cf 100644 --- a/alimento/spec/spec_helper.rb +++ b/alimento/spec/spec_helper.rb @@ -1,3 +1,7 @@ +require 'coveralls' +Coveralls.wear! + + require "./lib/alimento/lista.rb" require "./lib/alimento/etiqueta.rb" require "./lib/alimento/individuo.rb"