Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5 from ninoseki/add-coveralls-integration
Browse files Browse the repository at this point in the history
Add coveralls integration
  • Loading branch information
ninoseki committed Aug 12, 2018
2 parents 6c3d481 + ae556da commit e1c709b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Build Status](https://travis-ci.org/ninoseki/censu.svg?branch=master)](https://travis-ci.org/ninoseki/censu)
[![Maintainability](https://api.codeclimate.com/v1/badges/39e77d63ce6a7d89b4dc/maintainability)](https://codeclimate.com/github/ninoseki/censu/maintainability)
[![Coverage Status](https://coveralls.io/repos/github/ninoseki/censu/badge.svg?branch=master)](https://coveralls.io/github/ninoseki/censu?branch=master)

* [Homepage](https://github.com/ninoseki/censu)
* [Issues](https://github.com/ninoseki/censu/issues)
Expand All @@ -19,8 +20,7 @@ require 'censys'
api = Censys::API.new(uid, secret)
```

Initialize the API using `$CENSYS_ID` and `$CENSYS_SECRET` environment
variables:
Initialize the API using `$CENSYS_ID` and `$CENSYS_SECRET` environment variables:

```ruby
api = Censys::API.new
Expand Down
1 change: 1 addition & 0 deletions censys.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ['lib']

gem.add_development_dependency 'bundler', '~> 1.16'
gem.add_development_dependency 'coveralls', "~> 0.8"
gem.add_development_dependency 'dotenv', '~> 2.5'
gem.add_development_dependency 'rake', '~> 12.3'
gem.add_development_dependency 'rspec', '~> 3.8'
Expand Down
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
require 'vcr'
require 'censys'

require 'coveralls'
Coveralls.wear!

include Censys

def authorization_field
Expand Down

0 comments on commit e1c709b

Please sign in to comment.