Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Jones committed Jun 6, 2015
1 parent e151e93 commit 03e87b8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 189 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
6 changes: 1 addition & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ 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
1 change: 0 additions & 1 deletion Gemfile
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
119 changes: 0 additions & 119 deletions Vagrantfile

This file was deleted.

14 changes: 0 additions & 14 deletions lib/sensu-plugins-ftp.rb
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
19 changes: 0 additions & 19 deletions lib/sensu-plugins-ftp/version.rb
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
30 changes: 6 additions & 24 deletions sensu-plugins-ftp.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 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',
Expand All @@ -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

0 comments on commit 03e87b8

Please sign in to comment.