Skip to content

Commit

Permalink
update repos
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Jones committed May 22, 2015
1 parent f0ab74c commit 03cc10f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 171 deletions.
37 changes: 2 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,39 +16,6 @@

## Installation

Add the public key (if you haven’t already) as a trusted certificate
[Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)

```
gem cert --add <(curl -Ls https://raw.githubusercontent.com/sensu-plugins/sensu-plugins.github.io/master/certs/sensu-plugins.pem)
gem install sensu-plugins-hardware -P MediumSecurity
```

You can also download the key from /certs/ within each repository.

#### Rubygems

`gem install sensu-plugins-hardware`

#### Bundler

Add *sensu-plugins-disk-checks* to your Gemfile and run `bundle install` or `bundle update`

#### Chef

Using the Sensu **sensu_gem** LWRP
```
sensu_gem 'sensu-plugins-hardware' do
options('--prerelease')
version '0.0.1'
end
```

Using the Chef **gem_package** resource
```
gem_package 'sensu-plugins-hardware' do
options('--prerelease')
version '0.0.1'
end
```

## Notes
## Notes
114 changes: 0 additions & 114 deletions Vagrantfile

This file was deleted.

51 changes: 29 additions & 22 deletions sensu-plugins-hardware.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,41 @@ end
pvt_key = '~/.ssh/gem-private_key.pem'

Gem::Specification.new do |s|
s.name = 'sensu-plugins-hardware'
s.version = SensuPluginsHardware::VERSION
s.authors = ['Sensu Plugins 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 physical hardware'
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-hardware'
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-hardware'
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 physical hardware'
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.version = SensuPluginsHardware::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.17.0'
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'
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

0 comments on commit 03cc10f

Please sign in to comment.