-
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
Jun 6, 2015
1 parent
e151e93
commit 03e87b8
Showing
7 changed files
with
7 additions
and
189 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
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,4 +1,3 @@ | ||
source 'https://rubygems.org' | ||
|
||
# Specify your gem's dependencies in sensu-plugins-ftp.gemspec | ||
gemspec |
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,15 +1 @@ | ||
|
||
require 'sensu-plugins-ftp/version' | ||
|
||
# Load the defaults | ||
|
||
# | ||
# Default class | ||
# | ||
module SensuPluginsFtp | ||
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 |
---|---|---|
@@ -1,28 +1,9 @@ | ||
require 'json' | ||
|
||
# encoding: utf-8 | ||
module SensuPluginsFtp | ||
# 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-ftp' | ||
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,22 +12,15 @@ end | |
pvt_key = '~/.ssh/gem-private_key.pem' | ||
|
||
Gem::Specification.new do |s| | ||
<<<<<<< HEAD | ||
s.authors = ['Sensu-Plugins and contributors'] | ||
s.cert_chain = ['certs/sensu-plugins.pem'] | ||
s.date = Date.today.to_s | ||
s.description = 'Sensu plugins for ftp' | ||
======= | ||
s.name = 'sensu-plugins-ftp' | ||
s.version = SensuPluginsFtp::VERSION | ||
s.authors = ['Sensu Plugins and contributors'] | ||
>>>>>>> update repo | ||
s.description = 'Sensu ftp plugins' | ||
s.email = '<[email protected]>' | ||
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
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-ftp' | ||
s.license = 'MIT' | ||
<<<<<<< HEAD | ||
s.metadata = { 'maintainer' => 'sensu-plugin', | ||
'development_status' => 'active', | ||
'production_status' => 'unstable - testing recommended', | ||
|
@@ -38,32 +31,21 @@ Gem::Specification.new do |s| | |
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.date = Date.today.to_s | ||
s.files = Dir.glob('{bin,lib}/**/*') + %w(LICENSE README.md CHANGELOG.md) | ||
s.executables = Dir.glob('bin/**/*').map { |file| File.basename(file) } | ||
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.platform = Gem::Platform::RUBY | ||
s.post_install_message = 'You can use the embedded Ruby by setting EMBEDDED_RUBY=true in /etc/default/sensu' | ||
>>>>>>> update repo | ||
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 ftp' | ||
s.test_files = s.files.grep(%r{^(test|spec|features)/}) | ||
s.version = SensuPluginsFtp::Version::VER_STRING | ||
|
||
s.add_runtime_dependency 'sensu-plugin', '1.1.0' | ||
s.add_runtime_dependency 'sensu-plugin', '1.1.0' | ||
|
||
s.add_development_dependency 'bundler', '~> 1.7' | ||
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 '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 |