lib/simplecov-teamcity-summary/formatter.rb in simplecov-teamcity-summary-0.1.1 vs lib/simplecov-teamcity-summary/formatter.rb in simplecov-teamcity-summary-0.1.2

- old
+ new

@@ -1,5 +1,7 @@ +require 'simplecov' + # Ensure we are using a compatible version of SimpleCov if Gem::Version.new(SimpleCov::VERSION) < Gem::Version.new("0.8.0") raise RuntimeError, 'The version of SimpleCov you are using is too old. Please update with `gem install simplecov` or `bundle update simplecov`' end @@ -18,6 +20,6 @@ ##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='#{simplecov_results.total_lines}'] ##teamcity[blockClosed name='Code Coverage Summary'] eos end end -end \ No newline at end of file +end