Skip to content

Commit 205d526

Browse files
committed
Rubocop fixes
1 parent 5fe7ece commit 205d526

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Vagrantfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
VAGRANTFILE_API_VERSION = '2'
55

66
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
7-
87
config.vm.box = 'chef/centos-6.6'
98
config.vm.box_download_checksum = true
109
config.vm.box_download_checksum_type = 'md5'

sensu-plugins-postgres.gemspec

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
33

44
require 'date'
55

6-
76
if RUBY_VERSION < '2.0.0'
87
require 'sensu-plugins-postgres'
98
else
@@ -15,7 +14,7 @@ pvt_key = '~/.ssh/gem-private_key.pem'
1514
Gem::Specification.new do |s|
1615
s.name = 'sensu-plugins-postgres'
1716
s.version = SensuPluginsPostgres::VERSION
18-
s.authors = ["Yieldbot, Inc. and contributors"]
17+
s.authors = ['Yieldbot, Inc. and contributors']
1918
s.email = '<sensu-users@googlegroups.com>'
2019
s.homepage = 'https://github.com/sensu-plugins/sensu-plugins-postgres'
2120
s.summary = ''
@@ -25,8 +24,8 @@ Gem::Specification.new do |s|
2524
s.files = Dir.glob('{bin,lib}/**/*') + %w(LICENSE README.md CHANGELOG.md)
2625
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
2726
s.test_files = s.files.grep(%r{^(test|spec|features)/})
28-
s.require_paths = ["lib"]
29-
s.cert_chain = ["certs/sensu-plugins.pem"]
27+
s.require_paths = ['lib']
28+
s.cert_chain = ['certs/sensu-plugins.pem']
3029
s.signing_key = File.expand_path(pvt_key) if $PROGRAM_NAME =~ /gem\z/
3130
s.platform = ruby
3231
s.required_ruby_version = '>= 1.9.3'

0 commit comments

Comments
 (0)