diff options
author | Tim Smith <tsmith84@gmail.com> | 2016-03-01 22:13:54 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2016-03-01 22:13:54 -0800 |
commit | 2c66ca3402ac4ce38b397d61692d660a2f4ed9ec (patch) | |
tree | 1f78a23522dee4ed96d3846b4bac2ab63e10af5d /Rakefile | |
parent | 1fccbaa9810383722e62317c38430103d365ebc4 (diff) | |
download | mixlib-log-2c66ca3402ac4ce38b397d61692d660a2f4ed9ec.tar.gz |
Resolve chef style issues
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 23 |
1 files changed, 11 insertions, 12 deletions
@@ -1,18 +1,18 @@ -require 'rake' -require 'rubygems/package_task' -require 'rdoc/task' -require 'yaml' -require 'rspec/core/rake_task' -require 'cucumber/rake/task' +require "rake" +require "rubygems/package_task" +require "rdoc/task" +require "yaml" +require "rspec/core/rake_task" +require "cucumber/rake/task" -gemspec = eval(IO.read('mixlib-log.gemspec')) +gemspec = eval(IO.read("mixlib-log.gemspec")) Gem::PackageTask.new(gemspec) do |pkg| pkg.gem_spec = gemspec end RSpec::Core::RakeTask.new(:spec) do |spec| - spec.pattern = 'spec/**/*_spec.rb' + spec.pattern = "spec/**/*_spec.rb" end task :default => :spec @@ -21,13 +21,12 @@ task :default => :spec task :test => :spec RDoc::Task.new do |rdoc| - rdoc.rdoc_dir = 'rdoc' + rdoc.rdoc_dir = "rdoc" rdoc.title = "mixlib-log #{Mixlib::Log::VERSION}" - rdoc.rdoc_files.include('README*') - rdoc.rdoc_files.include('lib/**/*.rb') + rdoc.rdoc_files.include("README*") + rdoc.rdoc_files.include("lib/**/*.rb") end Cucumber::Rake::Task.new(:features) do |t| t.cucumber_opts = "--format pretty" end - |