Skip to content

Commit ca0f44d

Browse files
committed
Update gemspec
1 parent edbafb1 commit ca0f44d

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

sensu-plugins-postgres.gemspec

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,30 @@ end
1212
pvt_key = '~/.ssh/gem-private_key.pem'
1313

1414
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'
1819
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)
1922
s.homepage = 'https://github.com/sensu-plugins/sensu-plugins-postgres'
20-
s.summary = ''
21-
s.description = ''
2223
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'
3031
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']
3134
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
3239

3340
s.add_runtime_dependency 'sensu-plugin', '1.1.0'
3441
s.add_runtime_dependency 'pg', '0.18.2'

0 commit comments

Comments
 (0)