|
12 | 12 | pvt_key = '~/.ssh/gem-private_key.pem'
|
13 | 13 |
|
14 | 14 | Gem::Specification.new do |s|
|
15 |
| - s.name = 'sensu-plugins-postgres' |
16 |
| - s.version = SensuPluginsPostgres::VERSION |
17 |
| - s.authors = ['Sensu Plugins and contributors'] |
| 15 | + s.authors = ['Sensu-Plugins and contributors'] |
| 16 | + s.cert_chain = ['certs/sensu-plugins.pem'] |
| 17 | + s.date = Date.today.to_s |
| 18 | + s.description = 'Sensu plugins for Postgres SQL server' |
18 | 19 | s.email = '<sensu-users@googlegroups.com>'
|
| 20 | + s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } |
| 21 | + s.files = Dir.glob('{bin,lib}/**/*') + %w(LICENSE README.md CHANGELOG.md) |
19 | 22 | s.homepage = 'https://github.com/sensu-plugins/sensu-plugins-postgres'
|
20 |
| - s.summary = '' |
21 |
| - s.description = '' |
22 | 23 | s.license = 'MIT'
|
23 |
| - s.date = Date.today.to_s |
24 |
| - s.files = Dir.glob('{bin,lib}/**/*') + %w(LICENSE README.md CHANGELOG.md) |
25 |
| - s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } |
26 |
| - s.test_files = s.files.grep(%r{^(test|spec|features)/}) |
27 |
| - s.require_paths = ['lib'] |
28 |
| - s.cert_chain = ['certs/sensu-plugins.pem'] |
29 |
| - s.signing_key = File.expand_path(pvt_key) if $PROGRAM_NAME =~ /gem\z/ |
| 24 | + s.metadata = { 'maintainer' => '', |
| 25 | + 'development_status' => 'active', |
| 26 | + 'production_status' => 'unstable - testing recommended', |
| 27 | + 'release_draft' => 'false', |
| 28 | + 'release_prerelease' => 'false' |
| 29 | + } |
| 30 | + s.name = 'sensu-plugins-postgres' |
30 | 31 | s.platform = Gem::Platform::RUBY
|
| 32 | + s.post_install_message = 'You can use the embedded Ruby by setting EMBEDDED_RUBY=true in /etc/default/sensu' |
| 33 | + s.require_paths = ['lib'] |
31 | 34 | s.required_ruby_version = '>= 1.9.3'
|
| 35 | + s.signing_key = File.expand_path(pvt_key) if $PROGRAM_NAME =~ /gem\z/ |
| 36 | + s.summary = 'Sensu plugins for Postgres SQL server' |
| 37 | + s.test_files = s.files.grep(%r{^(test|spec|features)/}) |
| 38 | + s.version = SensuPluginsPostgres::Version::VER_STRING |
32 | 39 |
|
33 | 40 | s.add_runtime_dependency 'sensu-plugin', '1.1.0'
|
34 | 41 | s.add_runtime_dependency 'pg', '0.18.2'
|
|
0 commit comments