diff options
| -rw-r--r-- | .coveralls.yml | 1 | ||||
| -rw-r--r-- | Gemfile | 2 | ||||
| -rw-r--r-- | Gemfile.lock | 21 | ||||
| -rw-r--r-- | spec/spec_helper.rb | 6 | 
4 files changed, 30 insertions, 0 deletions
diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 0000000..b541bb2 --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1 @@ +repo_token: gH5KHG6mjqkPKJhTUuOFaKrSKhNSiBuIu @@ -14,3 +14,5 @@ group :test, :development do      gem 'haml'      gem 'sass'  end + +gem 'coveralls', require: false diff --git a/Gemfile.lock b/Gemfile.lock index c1514ce..ad9bc9e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,11 +6,22 @@ PATH  GEM    remote: http://rubygems.org/    specs: +    coveralls (0.7.0) +      multi_json (~> 1.3) +      rest-client +      simplecov (>= 0.7) +      term-ansicolor +      thor      diff-lcs (1.2.5) +    docile (1.1.3)      haml (4.0.5)        tilt +    mime-types (2.1) +    multi_json (1.8.4)      rack (1.5.2)      rake (10.1.1) +    rest-client (1.6.7) +      mime-types (>= 1.16)      rspec (2.14.1)        rspec-core (~> 2.14.0)        rspec-expectations (~> 2.14.0) @@ -20,12 +31,22 @@ GEM        diff-lcs (>= 1.1.3, < 2.0)      rspec-mocks (2.14.5)      sass (3.2.14) +    simplecov (0.8.2) +      docile (~> 1.1.0) +      multi_json +      simplecov-html (~> 0.8.0) +    simplecov-html (0.8.0) +    term-ansicolor (1.3.0) +      tins (~> 1.0) +    thor (0.18.1)      tilt (2.0.0) +    tins (1.0.0)  PLATFORMS    ruby  DEPENDENCIES +  coveralls    haml    rack    rake diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2f5b3ac..a88a25c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,12 @@  #! /usr/bin/env ruby  #  begin +    require 'coveralls' +    Coveralls.wear! +    # +rescue LoadError +end +begin      require 'simplecov'      SimpleCov.start do          add_filter 'spec'  | 
