From 57a869a8399baca473026adba4e464ed8497e8a9 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Sun, 7 Jul 2019 18:05:22 -0700 Subject: Chefstyle fixes Signed-off-by: Tim Smith --- tasks/docs.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tasks') 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 -- cgit v1.2.1