summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-01-14 14:08:03 +0000
committerThom May <thom@chef.io>2016-01-14 14:08:03 +0000
commit51cfbdc4d16739caac4d946fadbe678444aafe34 (patch)
tree56dfd8f1cd9fd933de27268b32402e955a43ac2b /Rakefile
parent05064423057d4cf46f4713b81b08829cf6d20af6 (diff)
downloadchef-51cfbdc4d16739caac4d946fadbe678444aafe34.tar.gz
Use double quotes by default
This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/Rakefile b/Rakefile
index 9fe1147928..36a8e9715b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -19,29 +19,29 @@
VERSION = IO.read(File.expand_path("../VERSION", __FILE__)).strip
-require 'rubygems'
-require 'chef-config/package_task'
-require 'rdoc/task'
-require_relative 'tasks/rspec'
-require_relative 'tasks/external_tests'
-require_relative 'tasks/maintainers'
+require "rubygems"
+require "chef-config/package_task"
+require "rdoc/task"
+require_relative "tasks/rspec"
+require_relative "tasks/external_tests"
+require_relative "tasks/maintainers"
-ChefConfig::PackageTask.new(File.expand_path('..', __FILE__), 'Chef') do |package|
- package.component_paths = ['chef-config']
+ChefConfig::PackageTask.new(File.expand_path("..", __FILE__), "Chef") do |package|
+ package.component_paths = ["chef-config"]
package.generate_version_class = true
end
task :pedant, :chef_zero_spec
task :build_eventlog do
- Dir.chdir 'ext/win32-eventlog/' do
- system 'rake build'
+ Dir.chdir "ext/win32-eventlog/" do
+ system "rake build"
end
end
task :register_eventlog do
- Dir.chdir 'ext/win32-eventlog/' do
- system 'rake register'
+ Dir.chdir "ext/win32-eventlog/" do
+ system "rake register"
end
end
@@ -53,14 +53,14 @@ RuboCop::RakeTask.new(:style) do |task|
end
begin
- require 'yard'
+ require "yard"
DOC_FILES = [ "README.rdoc", "LICENSE", "spec/tiny_server.rb", "lib/**/*.rb" ]
namespace :yard do
desc "Create YARD documentation"
YARD::Rake::YardocTask.new(:html) do |t|
t.files = DOC_FILES
- t.options = ['--format', 'html']
+ t.options = ["--format", "html"]
end
end