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 8b203a8 commit 89331b1
Show file tree
Hide file tree
Showing 18 changed files with 108 additions and 60 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'
48 changes: 38 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,49 @@
## Sensu-Plugins-disk-checks
## Sensu-Plugins-graphite

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

## Functionality

## Files
*
*
*
*
* bin/check-graphite-data
* bin/check-graphite-replication
* bin/check-graphite-stats
* bin/check-graphite
* bin/extension-graphite
* bin/handlr-graphite-event
* bin/hanlder-graphite-notify
* bin/handler-graphite-occurances
* bin/mutator-graphite

## Usage

**handler-graphite-event**
```
{
"graphite_event": {
"server_uri": "https://graphite.example.com:443/events/",
"tags": [
"custom_tag_a",
"custom_tag_b"
]
}
}
```

**handler-graphite-occurances**
```
{
"graphite": {
"server":"graphite.example.com",
"port":"2003"
}
}
```

## Installation

Add the public key (if you haven’t already) as a trusted certificate
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.
6 changes: 0 additions & 6 deletions bin/graphite-occurrences.json

This file was deleted.

8 changes: 0 additions & 8 deletions bin/graphite-tcp.rb

This file was deleted.

9 changes: 0 additions & 9 deletions bin/graphite_event.json

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
28 changes: 9 additions & 19 deletions sensu-plugins-graphite.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 89331b1

Please sign in to comment.