forked from sensu-plugins/sensu-plugins-graylog
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
require 'sensu-plugins-greylog/version' | ||
require 'sensu-plugins-graylog/version' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module SensuPluginsGreylog | ||
module SensuPluginsGraylog | ||
module Version | ||
MAJOR = 0 | ||
MINOR = 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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' | ||
|
@@ -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' | ||
|
@@ -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' | ||
|