Skip to content

Commit

Permalink
Merge pull request #2 from bmedenwald/travis-ci
Browse files Browse the repository at this point in the history
Update rake gem requirements for security
  • Loading branch information
bmedenwald committed May 21, 2020
2 parents d6e708f + ca90523 commit ff6f1bd
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 10 deletions.
27 changes: 19 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
---
sudo: false
language: ruby
cache: bundler
rvm:
- 2.5.8
- 2.6.6
- 2.7.1
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

before_install: gem install bundler -v 2.0.2

before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build

env:
global:
- CC_TEST_REPORTER_ID=91fd1b5f4e32e12f68c365516db8abff11ac17b75d043c7b18e672b836a92f15

gemfile:
- gemfiles/rails_5.gemfile
- gemfiles/rails_6.gemfile
- gemfiles/latest.gemfile

language: ruby

rvm:
- 2.5.8
- 2.6.6
- 2.7.1

script:
- bundle exec rspec
- bundle exec rubocop
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Puma Pool Usage

[![Build Status](https://travis-ci.org/simplymadeapps/puma-pool-usage.svg?branch=master)](https://travis-ci.org/simplymadeapps/puma-pool-usage)
[![Code Climate](https://codeclimate.com/github/simplymadeapps/puma-pool-usage/badges/gpa.svg)](https://codeclimate.com/github/simplymadeapps/puma-pool-usage)
[![Test Coverage](https://codeclimate.com/github/simplymadeapps/puma-pool-usage/badges/coverage.svg)](https://codeclimate.com/github/simplymadeapps/puma-pool-usage/coverage)

A Puma plugin that interprets usage statistics for the percentage of your resources under load. Uses Rails to log this statistic. Inspired by [Tomas Ruzicka](https://github.com/LeZuse) and Heroku's pool usage statistics.

Look at this neat log:
Expand Down
4 changes: 2 additions & 2 deletions puma-pool-usage.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ Gem::Specification.new do |spec|

spec.add_development_dependency "appraisal"
spec.add_development_dependency "bundler", "~> 2.0"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rake", ">= 12.3.3"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "rubocop", "~> 0.83.0"
spec.add_development_dependency "simplecov"
spec.add_development_dependency "simplecov", "< 0.18" # https://github.com/codeclimate/test-reporter/issues/413
spec.add_development_dependency "simplecov-rcov"
end

0 comments on commit ff6f1bd

Please sign in to comment.