-
Notifications
You must be signed in to change notification settings - Fork 8
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
Matt Jones
committed
May 22, 2015
1 parent
f9f8201
commit 5c03623
Showing
8 changed files
with
84 additions
and
93 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 |
---|---|---|
|
@@ -7,6 +7,7 @@ rvm: | |
- 1.9.3 | ||
- 2.0 | ||
- 2.1 | ||
- 2.2 | ||
notifications: | ||
email: | ||
recipients: | ||
|
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,12 @@ | ||
#### 0.0.1.alpha.1 | ||
#Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/) | ||
|
||
## Unreleased][unreleased] | ||
|
||
## 0.0.1 - 2015-04-30 | ||
|
||
### Added | ||
- initial release | ||
|
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 @@ | ||
Copyright (c) 2015 [email protected] | ||
Copyright (c) 2015 Sensu-Plugins | ||
|
||
MIT License | ||
|
||
|
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 was deleted.
Oops, something went wrong.
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,7 +1,15 @@ | ||
|
||
require 'sensu-plugins-openldap/version' | ||
|
||
# Load the defaults | ||
|
||
# | ||
# Set gem version | ||
# Default class | ||
# | ||
module SensuPluginsOpenldap | ||
# Gem version | ||
VERSION = '0.0.1.alpha.1' | ||
class << self | ||
end | ||
|
||
class << self | ||
end | ||
end |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
require 'json' | ||
|
||
# encoding: utf-8 | ||
module SensuPluginsOpenldap | ||
# This defines the version of the gem | ||
module Version | ||
MAJOR = 0 | ||
MINOR = 0 | ||
PATCH = 1 | ||
|
||
VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.') | ||
|
||
NAME = 'sensu-plugins-openldap' | ||
BANNER = "#{NAME} v%s" | ||
|
||
module_function | ||
|
||
def version | ||
format(BANNER, VER_STRING) | ||
end | ||
|
||
def json_version | ||
{ | ||
'version' => VER_STRING | ||
}.to_json | ||
end | ||
end | ||
end |
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 |
---|---|---|
|
@@ -12,33 +12,40 @@ end | |
pvt_key = '~/.ssh/gem-private_key.pem' | ||
|
||
Gem::Specification.new do |s| | ||
s.name = 'sensu-plugins-openldap' | ||
s.version = SensuPluginsOpenldap::VERSION | ||
s.authors = ['Yieldbot, Inc. and contributors'] | ||
s.authors = ['Sensu-Plugins and contributors'] | ||
s.cert_chain = ['certs/sensu-plugins.pem'] | ||
s.date = Date.today.to_s | ||
s.description = 'Sensu plugins for openldap' | ||
s.email = '<[email protected]>' | ||
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
s.files = Dir.glob('{bin,lib}/**/*') + %w(LICENSE README.md CHANGELOG.md) | ||
s.homepage = 'https://github.com/sensu-plugins/sensu-plugins-openldap' | ||
s.summary = '' | ||
s.description = '' | ||
s.license = 'MIT' | ||
s.date = Date.today.to_s | ||
s.files = Dir.glob('{bin,lib}/**/*') + %w(LICENSE README.md CHANGELOG.md) | ||
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
s.test_files = s.files.grep(%r{^(test|spec|features)/}) | ||
s.require_paths = ['lib'] | ||
s.cert_chain = ['certs/sensu-plugins.pem'] | ||
s.signing_key = File.expand_path(pvt_key) if $PROGRAM_NAME =~ /gem\z/ | ||
s.metadata = { 'maintainer' => '', | ||
'development_status' => 'active', | ||
'production_status' => 'unstable - testing recommended', | ||
'release_draft' => 'false', | ||
'release_prerelease' => 'false' | ||
} | ||
s.name = 'sensu-plugins-sensu-plugins-openldap' | ||
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 openldap' | ||
s.test_files = s.files.grep(%r{^(test|spec|features)/}) | ||
s.version = SensuPluginsOpenldap::Version::VER_STRING | ||
|
||
s.add_runtime_dependency 'sensu-plugin' | ||
s.add_runtime_dependency 'sensu-plugin', '1.1.0' | ||
|
||
s.add_development_dependency 'codeclimate-test-reporter' | ||
s.add_development_dependency 'rubocop', '~> 0.30' | ||
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 | ||
s.add_development_dependency 'codeclimate-test-reporter', '~> 0.4' | ||
s.add_development_dependency 'rubocop', '~> 0.30' | ||
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', '~> 1.3' | ||
s.add_development_dependency 'redcarpet', '~> 3.2' | ||
s.add_development_dependency 'yard', '~> 0.8' | ||
s.add_development_dependency 'pry', '~> 0.10' | ||
end |