Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Jones committed Jun 28, 2015
1 parent 806308e commit 085ae59
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 195 deletions.
7 changes: 0 additions & 7 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ LineLength:
AbcSize:
Max: 75

AbcSize:
Max: 50

FileName:
Enabled: false

Expand All @@ -27,11 +24,7 @@ IfUnlessModifier:
Enabled: false

RegexpLiteral:
<<<<<<< HEAD
Enabled: false

Style/Documentation:
Enabled: false
=======
Enabled: false
>>>>>>> update repo
8 changes: 1 addition & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang

## Unreleased][unreleased]

<<<<<<< HEAD
#### 0.0.1.alpha.1
=======
## 0.0.1 - 2015-04-30

## [0.0.1] - 2015-06-04
### Added
- initial release

>>>>>>> update repo
4 changes: 0 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
source 'https://rubygems.org'

<<<<<<< HEAD
# Specify your gem's dependencies in sensu-plugins-monit.gemspec
=======
>>>>>>> update repo
gemspec
119 changes: 0 additions & 119 deletions Vagrantfile

This file was deleted.

14 changes: 0 additions & 14 deletions lib/sensu-plugins-monit.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@

require 'sensu-plugins-monit/version'

# Load the defaults

#
# Default class
#
module SensuPluginsMonit
class << self
end

class << self
end
end
19 changes: 0 additions & 19 deletions lib/sensu-plugins-monit/version.rb
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
require 'json'

# encoding: utf-8
module SensuPluginsMonit
# 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-monit'
BANNER = "#{NAME} v%s"

module_function

def version
format(BANNER, VER_STRING)
end

def json_version
{
'version' => VER_STRING
}.to_json
end
end
end
34 changes: 9 additions & 25 deletions sensu-plugins-monit.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 Monit'
=======
s.name = 'sensu-plugins-monit'
s.version = SensuPluginsMonit::VERSION
s.authors = ['Sensu Plugins and contributors']
>>>>>>> update repo
s.description = 'Sensu monit plugins'
s.email = '<sensu-users@googlegroups.com>'
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-monit'
s.license = 'MIT'
<<<<<<< HEAD
s.metadata = { 'maintainer' => 'sensu-plugin',
'development_status' => 'active',
'production_status' => 'unstable - testing recommended',
Expand All @@ -38,32 +31,23 @@ 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 = ruby
>>>>>>> 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 Monit'
s.summary = 'Sensu plugins for monit'
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.version = SensuPluginsMonit::Version::VER_STRING

s.add_runtime_dependency 'sensu-plugin', '1.1.0'
s.add_runtime_dependency 'mail', '2.6.3'
s.add_runtime_dependency 'sensu-plugin', '1.1.0'
s.add_runtime_dependency 'json', '1.8.3'
s.add_runtime_dependency 'mail', '2.6.3'

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

0 comments on commit 085ae59

Please sign in to comment.