diff options
| -rw-r--r-- | Gemfile.lock | 8 | ||||
| -rw-r--r-- | colonial_twilight.gemspec | 1 | ||||
| -rw-r--r-- | spec/spec_helper.rb | 4 | 
3 files changed, 13 insertions, 0 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index f4959b2..506acdb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,6 +7,7 @@ GEM    remote: http://rubygems.org/    specs:      diff-lcs (1.5.0) +    docile (1.4.0)      rspec (3.12.0)        rspec-core (~> 3.12.0)        rspec-expectations (~> 3.12.0) @@ -20,6 +21,12 @@ GEM        diff-lcs (>= 1.2.0, < 2.0)        rspec-support (~> 3.12.0)      rspec-support (3.12.1) +    simplecov (0.22.0) +      docile (~> 1.1) +      simplecov-html (~> 0.11) +      simplecov_json_formatter (~> 0.1) +    simplecov-html (0.12.3) +    simplecov_json_formatter (0.1.4)  PLATFORMS    ruby @@ -27,6 +34,7 @@ PLATFORMS  DEPENDENCIES    ColonialTwilight!    rspec +  simplecov  BUNDLED WITH     2.4.19 diff --git a/colonial_twilight.gemspec b/colonial_twilight.gemspec index b5215ab..024f519 100644 --- a/colonial_twilight.gemspec +++ b/colonial_twilight.gemspec @@ -17,4 +17,5 @@ Gem::Specification.new do |s|      s.files       = Dir['lib/**/*.rb']      s.executables = 'ColonialTwilight.rb'      s.add_development_dependency 'rspec' +    s.add_development_dependency 'simplecov'  end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c80d44b..67e47c4 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,7 @@ +require 'simplecov' +SimpleCov.start do +  add_filter %r{^/spec/} +end  # This file was generated by the `rspec --init` command. Conventionally, all  # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.  # The generated `.rspec` file contains `--require spec_helper` which will cause  | 
