summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-07-07 18:05:22 -0700
committerTim Smith <tsmith84@gmail.com>2019-07-07 18:05:22 -0700
commit57a869a8399baca473026adba4e464ed8497e8a9 (patch)
treec0cfb798cb94951f2c424ae192db3d01076b147f /tasks
parenteddfbb962296c12c2a67b1cef8265f4088aa3f39 (diff)
downloadchef-57a869a8399baca473026adba4e464ed8497e8a9.tar.gz
Chefstyle fixesbetter_docs
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks')
-rwxr-xr-xtasks/docs.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb
index 3d93a4493d..c74bc55523 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -14,7 +14,7 @@ namespace :docs_site do
# @param version String
# @return String Chef Infra Client or Chef Client depending on version
def branded_chef_client_name(version)
- return "Chef Infra Client" if Gem::Version.new(version) >= Gem::Version.new('15')
+ return "Chef Infra Client" if Gem::Version.new(version) >= Gem::Version.new("15")
"Chef Client"
end
@@ -340,7 +340,7 @@ Examples
@property_list = friendly_properly_list(@properties)
@examples = data["examples"]
- t = ERB.new(template, nil, '-')
+ t = ERB.new(template, nil, "-")
File.open("docs_site/resource_#{@name}.rst", "w") do |f|
f.write t.result(binding)
end