diff options
author | Thom May <thom@chef.io> | 2016-06-08 11:25:56 +0100 |
---|---|---|
committer | Thom May <thom@may.lt> | 2016-06-08 11:25:56 +0100 |
commit | 8cd4ab1ad2b48cf92b45cd980279f7d5b836892f (patch) | |
tree | b1226b3f5f56a05ed34bc7d55422be18106b3064 /mixlib-authentication.gemspec | |
parent | 2dffcfb7ce778efb60834c66aa1e0cd4ec500901 (diff) | |
download | mixlib-authentication-8cd4ab1ad2b48cf92b45cd980279f7d5b836892f.tar.gz |
Chefstyle and modernisev1.4.1
Signed-off-by: Thom May <thom@may.lt>
Diffstat (limited to 'mixlib-authentication.gemspec')
-rw-r--r-- | mixlib-authentication.gemspec | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/mixlib-authentication.gemspec b/mixlib-authentication.gemspec index d39b286..d48dbeb 100644 --- a/mixlib-authentication.gemspec +++ b/mixlib-authentication.gemspec @@ -1,5 +1,5 @@ -$:.unshift(File.dirname(__FILE__) + '/lib') -require 'mixlib/authentication/version' +$:.unshift(File.dirname(__FILE__) + "/lib") +require "mixlib/authentication/version" Gem::Specification.new do |s| s.name = "mixlib-authentication" @@ -15,10 +15,11 @@ Gem::Specification.new do |s| # Uncomment this to add a dependency s.add_dependency "mixlib-log" - s.require_path = 'lib' - s.files = %w(LICENSE README.md Gemfile Rakefile NOTICE) + Dir.glob("*.gemspec") + - Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) } + s.require_path = "lib" + s.files = %w{LICENSE README.md Gemfile Rakefile NOTICE} + Dir.glob("*.gemspec") + + Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } - %w(rspec-core rspec-expectations rspec-mocks).each { |gem| s.add_development_dependency gem, "~> 3.2" } + %w{rspec-core rspec-expectations rspec-mocks}.each { |gem| s.add_development_dependency gem, "~> 3.2" } + s.add_development_dependency "chefstyle" s.add_development_dependency "rake", "~> 10.4" end |