diff options
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 |