Skip to content

Commit

Permalink
clean repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Jones committed Mar 2, 2015
1 parent e3f6ae2 commit 5fe7ece
Show file tree
Hide file tree
Showing 16 changed files with 86 additions and 37 deletions.
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/.bundle/
/.yardoc
/Gemfile.lock
/_yardoc/
/coverage/
/doc/
/pkg/
/spec/reports/
/tmp/
*.bundle
*.so
*.o
*.a
mkmf.log
.vagrant/*
.DS_Store
.idea/*
*.gem
25 changes: 25 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

MethodLength:
Max: 200

LineLength:
Max: 160

FileName:
Enabled: false

PerceivedComplexity:
Enabled: false

CyclomaticComplexity:
Enabled: false

ClassLength:
Enabled: false

IfUnlessModifier:
Enabled: false

RegexpLiteral:
Enabled: false

18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: ruby
cache:
- bundler
install:
- bundle install
rvm:
- 1.9.3
- 2.0
- 2.1
notifications:
email:
recipients:
- [email protected]
on_success: change
on_failure: always

script:
- 'bundle exec rake default'
26 changes: 16 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
## Sensu-Plugins-disk-checks
## Sensu-Plugins-postgres

[![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-postgres.svg?branch=master)][1]
[![Gem Version](https://badge.fury.io/rb/sensu-plugins-postgres.svg)][2]
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-postgres/badges/gpa.svg)][3]
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-postgres/badges/coverage.svg)][4]
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-postgres.svg)][5]
[![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-postgres.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-postgres)
[![Gem Version](https://badge.fury.io/rb/sensu-plugins-postgres.svg)](http://badge.fury.io/rb/sensu-plugins-postgres)
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-postgres/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-postgres)
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-postgres/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-postgres)
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-postgres.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-postgres)

## Functionality

## Files
*
*
*
*
* bin/check-postgres-alive
* bin/metric-postgres-dbsize
* bin/metric-postgres-statsbgwriter
* bin/metric-postgres-statstable
* bin/check-postgres-replication
* bin/metric-postgres-graphite
* bin/metric-postgres-statsdb
* bin/metric-postgres-connections
* bin/metric-postgres-locks
* bin/metric-postgres-statsio

## Usage

Expand Down
8 changes: 0 additions & 8 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@

require 'bundler/gem_tasks'

require 'rspec/core/rake_task'

require 'yard'

require 'github/markup'

require 'rubocop/rake_task'

require 'redcarpet'

require 'yard/rake/yardoc_task'


desc 'Don\'t run Rubocop for unsupported versions'
begin
if RUBY_VERSION >= '2.0.0'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
28 changes: 9 additions & 19 deletions sensu-plugins-postgres.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,13 @@ Gem::Specification.new do |s|
s.platform = ruby
s.required_ruby_version = '>= 1.9.3'


s.add_development_dependency 'codeclimate-test-reporter' 'XXX'

s.add_development_dependency 'rubocop' '~> 0.17.0'

s.add_development_dependency 'rspec' '~> 3.1'

s.add_development_dependency 'bundler' '~> 1.7'

s.add_development_dependency 'rake' '~> 10.0'

s.add_development_dependency 'github-markup' 'XXX'

s.add_development_dependency 'redcarpet' 'XXX'

s.add_development_dependency 'yard' 'XXX'

s.add_development_dependency 'pry' 'XXX'

s.add_development_dependency 'codeclimate-test-reporter'
s.add_development_dependency 'rubocop', '~> 0.17.0'
s.add_development_dependency 'rspec', '~> 3.1'
s.add_development_dependency 'bundler', '~> 1.7'
s.add_development_dependency 'rake', '~> 10.0'
s.add_development_dependency 'github-markup'
s.add_development_dependency 'redcarpet'
s.add_development_dependency 'yard'
s.add_development_dependency 'pry'
end

0 comments on commit 5fe7ece

Please sign in to comment.