diff options
author | Tim Smith <tsmith@chef.io> | 2016-09-29 14:32:08 -0700 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-10-07 11:12:29 +0100 |
commit | 9efca630e084e93fb1ac5eb9c9f04b74d81f4ed7 (patch) | |
tree | 82e5956c20f95d32e9025152c422e313965eb4d2 /mixlib-shellout.gemspec | |
parent | ad54419ab0f194c1d89ee8f3065a7a1f053ce6f2 (diff) | |
download | mixlib-shellout-9efca630e084e93fb1ac5eb9c9f04b74d81f4ed7.tar.gz |
Resolve most chefstyle warnings
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'mixlib-shellout.gemspec')
-rw-r--r-- | mixlib-shellout.gemspec | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mixlib-shellout.gemspec b/mixlib-shellout.gemspec index 5fe614a..821ef1c 100644 --- a/mixlib-shellout.gemspec +++ b/mixlib-shellout.gemspec @@ -1,8 +1,8 @@ -$:.unshift(File.dirname(__FILE__) + '/lib') -require 'mixlib/shellout/version' +$:.unshift(File.dirname(__FILE__) + "/lib") +require "mixlib/shellout/version" Gem::Specification.new do |s| - s.name = 'mixlib-shellout' + s.name = "mixlib-shellout" s.version = Mixlib::ShellOut::VERSION s.platform = Gem::Platform::RUBY s.extra_rdoc_files = ["README.md", "LICENSE" ] @@ -19,7 +19,7 @@ Gem::Specification.new do |s| s.bindir = "bin" s.executables = [] - s.require_path = 'lib' - s.files = %w(Gemfile Rakefile LICENSE README.md) + Dir.glob("*.gemspec") + - Dir.glob("lib/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) } + s.require_path = "lib" + s.files = %w{Gemfile Rakefile LICENSE README.md} + Dir.glob("*.gemspec") + + Dir.glob("lib/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } end |