Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
add coverals
Browse files Browse the repository at this point in the history
  • Loading branch information
logrusorgru committed Sep 23, 2019
1 parent f770347 commit 2f1ca46
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

service_name: travis-ci
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ gemspec

group :test do
gem 'minitest'
gem 'coveralls', require: false
end
18 changes: 18 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,32 @@ PATH
GEM
remote: https://rubygems.org/
specs:
coveralls (0.8.23)
json (>= 1.8, < 3)
simplecov (~> 0.16.1)
term-ansicolor (~> 1.3)
thor (>= 0.19.4, < 2.0)
tins (~> 1.6)
docile (1.3.2)
json (2.2.0)
minitest (5.12.0)
rake (10.5.0)
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.1)
tins (~> 1.0)
thor (0.20.3)
tins (1.21.1)

PLATFORMS
ruby

DEPENDENCIES
bundler (~> 2.0)
coveralls
find_n_biggest_numbers_in_text!
minitest
rake (~> 10.0)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FindNBiggestNumbersInText
=========================

[![Build Status](https://travis-ci.org/logrusorgru/find_n_biggest_numbers_in_text.svg?branch=master)](https://travis-ci.org/logrusorgru/find_n_biggest_numbers_in_text)
[![Coverage Status](https://coveralls.io/repos/github/logrusorgru/find_n_biggest_numbers_in_text/badge.svg?branch=master)](https://coveralls.io/github/logrusorgru/find_n_biggest_numbers_in_text?branch=master)

Find set of biggest numbers in a stdin. It looks for decimal integers
numbers only regardless a sign.
Expand Down
3 changes: 3 additions & 0 deletions test/test_find_n_biggest_numbers_in_text.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@

require "minitest/autorun"
require 'coveralls'
require "find_n_biggest_numbers_in_text"

Coveralls.wear!

class FindNBiggestNumbersInTextTest < MiniTest::Test

def new_finder
Expand Down

0 comments on commit 2f1ca46

Please sign in to comment.