Skip to content

Commit

Permalink
Greylog -> Graylog
Browse files Browse the repository at this point in the history
  • Loading branch information
tas50 committed Jul 5, 2015
1 parent 242b6cf commit 36751f0
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in sensu-plugins-greylog.gemspec
# Specify your gem's dependencies in sensu-plugins-graylog.gemspec
gemspec
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## Sensu-Plugins-greylog
## Sensu-Plugins-graylog

[![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-greylog.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-greylog)
[![Gem Version](https://badge.fury.io/rb/sensu-plugins-greylog.svg)](http://badge.fury.io/rb/sensu-plugins-greylog)
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-greylog/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-greylog)
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-greylog/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-greylog)
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-greylog.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-greylog)
[![Codeship Status for sensu-plugins/sensu-plugins-greylog](https://codeship.com/projects/2bddaba0-ea2b-0132-13b2-32dfa18a9fce/status?branch=master)](https://codeship.com/projects/83052)
[![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-graylog.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-graylog)
[![Gem Version](https://badge.fury.io/rb/sensu-plugins-graylog.svg)](http://badge.fury.io/rb/sensu-plugins-graylog)
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-graylog/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-graylog)
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-graylog/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-graylog)
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-graylog.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-graylog)
[![Codeship Status for sensu-plugins/sensu-plugins-graylog](https://codeship.com/projects/2bddaba0-ea2b-0132-13b2-32dfa18a9fce/status?branch=master)](https://codeship.com/projects/83052)

## Functionality

Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ end

desc 'Retrieve the current version'
task :version do
puts SensuPluginsGreylog::Version.json_version
puts SensuPluginsGraylog::Version.json_version
end

desc 'Bump the PATCH version'
task :bump do
version_file = 'lib/sensu-plugins-greylog/version.rb'
version_file = 'lib/sensu-plugins-graylog/version.rb'

# Read the file, bump the PATCH version
contents = File.read(version_file).gsub(/(PATCH = )(\d+)/) { |_| Regexp.last_match[1] + (Regexp.last_match[2].to_i + 1).to_s }
Expand Down
2 changes: 1 addition & 1 deletion lib/sensu-plugins-greylog.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
require 'sensu-plugins-greylog/version'
require 'sensu-plugins-graylog/version'
2 changes: 1 addition & 1 deletion lib/sensu-plugins-greylog/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module SensuPluginsGreylog
module SensuPluginsGraylog
module Version
MAJOR = 0
MINOR = 0
Expand Down
16 changes: 8 additions & 8 deletions sensu-plugins-greylog.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'date'

if RUBY_VERSION < '2.0.0'
require 'sensu-plugins-greylog'
require 'sensu-plugins-graylog'
else
require_relative 'lib/sensu-plugins-greylog'
require_relative 'lib/sensu-plugins-graylog'
end

pvt_key = '~/.ssh/gem-private_key.pem'
Expand All @@ -15,27 +15,27 @@ Gem::Specification.new do |s|
s.authors = ['Sensu-Plugins and contributors']
s.cert_chain = ['certs/sensu-plugins.pem']
s.date = Date.today.to_s
s.description = 'Sensu greylog plugins'
s.description = 'Sensu graylog plugins'
s.email = '<[email protected]>'
s.executables = Dir.glob('bin/**/*.rb').map { |file| File.basename(file) }
s.files = Dir.glob('{bin,lib}/**/*') + %w(LICENSE README.md CHANGELOG.md)
s.homepage = 'https://github.com/sensu-plugins/sensu-plugins-greylog'
s.homepage = 'https://github.com/sensu-plugins/sensu-plugins-graylog'
s.license = 'MIT'
s.metadata = { 'maintainer' => 'sensu-plugin',
'development_status' => 'active',
'production_status' => 'unstable - testing recommended',
'release_draft' => 'false',
'release_prerelease' => 'false'
}
s.name = 'sensu-plugins-greylog'
s.name = 'sensu-plugins-graylog'
s.platform = Gem::Platform::RUBY
s.post_install_message = 'You can use the embedded Ruby by setting EMBEDDED_RUBY=true in /etc/default/sensu'
s.require_paths = ['lib']
s.required_ruby_version = '>= 1.9.3'
s.signing_key = File.expand_path(pvt_key) if $PROGRAM_NAME =~ /gem\z/
s.summary = 'Sensu plugins for greylog'
s.summary = 'Sensu plugins for graylog'
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.version = SensuPluginsGreylog::Version::VER_STRING
s.version = SensuPluginsGraylog::Version::VER_STRING

s.add_runtime_dependency 'sensu-plugin', '1.1.0'
s.add_runtime_dependency 'json', '1.8.3'
Expand All @@ -45,7 +45,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
s.add_development_dependency 'github-markup', '~> 1.3'
s.add_development_dependency 'pry', '~> 0.10'
s.add_development_dependency 'rubocop', '0.30'
s.add_development_dependency 'rubocop', '0.32.1'
s.add_development_dependency 'rspec', '~> 3.1'
s.add_development_dependency 'rake', '~> 10.0'
s.add_development_dependency 'redcarpet', '~> 3.2'
Expand Down

0 comments on commit 36751f0

Please sign in to comment.