Skip to content

Commit c70c36c

Browse files
author
Matt Jones
committed
update repo
1 parent fb74b5c commit c70c36c

File tree

7 files changed

+10
-65
lines changed

7 files changed

+10
-65
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
55

66
## Unreleased][unreleased]
77

8-
#### 0.0.1.alpha.1
8+
## 0.0.1 - 2015-04-30
9+
10+
### Added
11+
- initial release

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-postgres/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-postgres)
66
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-postgres/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-postgres)
77
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-postgres.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-postgres)
8+
[ ![Codeship Status for sensu-plugins/sensu-plugins-postgres](https://codeship.com/projects/985aceb0-e89b-0132-adeb-62885e5c211b/status?branch=master)](https://codeship.com/projects/82843)
89

910
## Functionality
1011

Vagrantfile

Lines changed: 0 additions & 31 deletions
This file was deleted.

bin/metric-postgres-statstable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class PostgresStatsTableMetrics < Sensu::Plugin::Metric::CLI::Graphite
5959
long: '--scheme SCHEME',
6060
default: "#{Socket.gethostname}.postgresql"
6161

62-
def run
62+
def run # rubocop:disable all
6363
timestamp = Time.now.to_i
6464

6565
con = PG::Connection.new(config[:hostname], config[:port], nil, nil, config[:db], config[:user], config[:password])

lib/sensu-plugins-postgres.rb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,2 @@
11

22
require 'sensu-plugins-postgres/version'
3-
4-
# Load the defaults
5-
6-
#
7-
# Default class
8-
#
9-
module SensuPluginsPostgres
10-
class << self
11-
end
12-
13-
class << self
14-
end
15-
end

lib/sensu-plugins-postgres/version.rb

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,5 @@ module Version
99
PATCH = 1
1010

1111
VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
12-
13-
NAME = 'sensu-plugins-postgres'
14-
BANNER = "#{NAME} v%s"
15-
16-
module_function
17-
18-
def version
19-
format(BANNER, VER_STRING)
20-
end
21-
22-
def json_version
23-
{
24-
'version' => VER_STRING
25-
}.to_json
26-
end
2712
end
2813
end

sensu-plugins-postgres.gemspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
1515
s.authors = ['Sensu-Plugins and contributors']
1616
s.cert_chain = ['certs/sensu-plugins.pem']
1717
s.date = Date.today.to_s
18-
s.description = 'Sensu plugins for Postgres SQL server'
18+
s.description = 'Sensu plugins for postgres'
1919
s.email = '<sensu-users@googlegroups.com>'
2020
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
2121
s.files = Dir.glob('{bin,lib}/**/*') + %w(LICENSE README.md CHANGELOG.md)
@@ -26,19 +26,19 @@ Gem::Specification.new do |s|
2626
'production_status' => 'unstable - testing recommended',
2727
'release_draft' => 'false',
2828
'release_prerelease' => 'false'
29-
}
29+
}
3030
s.name = 'sensu-plugins-postgres'
3131
s.platform = Gem::Platform::RUBY
3232
s.post_install_message = 'You can use the embedded Ruby by setting EMBEDDED_RUBY=true in /etc/default/sensu'
3333
s.require_paths = ['lib']
3434
s.required_ruby_version = '>= 1.9.3'
3535
s.signing_key = File.expand_path(pvt_key) if $PROGRAM_NAME =~ /gem\z/
36-
s.summary = 'Sensu plugins for Postgres SQL server'
36+
s.summary = 'Sensu plugins for postgres'
3737
s.test_files = s.files.grep(%r{^(test|spec|features)/})
3838
s.version = SensuPluginsPostgres::Version::VER_STRING
3939

4040
s.add_runtime_dependency 'sensu-plugin', '1.1.0'
41-
s.add_runtime_dependency 'pg', '0.18.2'
41+
s.add_runtime_dependency 'pg', '0.18.2'
4242

4343
s.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
4444
s.add_development_dependency 'rubocop', '~> 0.30'

0 commit comments

Comments
 (0)