From 74e3921728c237817513dfbd38aa125fa0ecf263 Mon Sep 17 00:00:00 2001 From: Matt Jones Date: Mon, 1 Jun 2015 21:40:32 -0400 Subject: [PATCH] update repo --- .rubocop.yml | 4 +- .travis.yml | 3 +- CHANGELOG.md | 13 +++- LICENSE | 2 +- Rakefile | 2 +- Vagrantfile | 124 ++++++++++++++++++++++++++------ sensu-plugins-io-checks.gemspec | 11 ++- 7 files changed, 127 insertions(+), 32 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 8011955..1671b8a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -5,6 +5,9 @@ MethodLength: LineLength: Max: 160 +AbcSize: + Max: 50 + FileName: Enabled: false @@ -22,4 +25,3 @@ IfUnlessModifier: RegexpLiteral: Enabled: false - diff --git a/.travis.yml b/.travis.yml index 95ba777..67f8cef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,10 +7,11 @@ rvm: - 1.9.3 - 2.0 - 2.1 + - 2.2 notifications: email: recipients: - - mattjones@yieldbot.com + - sensu-plugin@sensu-plugins.io on_success: change on_failure: always diff --git a/CHANGELOG.md b/CHANGELOG.md index f8c9a53..489852b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 + diff --git a/LICENSE b/LICENSE index 6a08171..f661cbd 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2015 devops@yieldbot.com +Copyright (c) 2015 Sensu-Plugins MIT License diff --git a/Rakefile b/Rakefile index 5ce0c83..c079757 100644 --- a/Rakefile +++ b/Rakefile @@ -21,7 +21,7 @@ YARD::Rake::YardocTask.new do |t| t.options = %w(--markup-provider=redcarpet --markup=markdown --main=README.md --files CHANGELOG.md) end -Rubocop::RakeTask.new +RuboCop::RakeTask.new RSpec::Core::RakeTask.new(:spec) do |r| r.pattern = FileList['**/**/*_spec.rb'] diff --git a/Vagrantfile b/Vagrantfile index 033525b..fa91c8e 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,32 +1,114 @@ # -*- mode: ruby -*- # vi: set ft=ruby : +require 'json' + VAGRANTFILE_API_VERSION = '2' -Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| +# Read in the configuration file for the vagrant environment +config_file = JSON.parse(File.read('../GIR/config/vagrant_config.json')) +vagrant_config = config_file['config'] - config.vm.box = 'chef/centos-6.6' +Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| + # Standard configurtaion details config.vm.box_download_checksum = true config.vm.box_download_checksum_type = 'md5' config.vm.hostname = 'sensu-plugins-dev' - script = <