From e98761100db736e6b89f357714467bfe20f9fce4 Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Wed, 28 May 2014 00:06:04 -0700 Subject: [PATCH] Fix plugin loading from YARD This patch fixes an error related to `Puppet::Util` being missing when YARD loads `puppetx/yardoc/yard/plugin`. --- lib/puppetx/yardoc/yard/plugin.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/puppetx/yardoc/yard/plugin.rb b/lib/puppetx/yardoc/yard/plugin.rb index e05ace0..9d5e062 100644 --- a/lib/puppetx/yardoc/yard/plugin.rb +++ b/lib/puppetx/yardoc/yard/plugin.rb @@ -3,6 +3,8 @@ if RUBY_VERSION < '1.9' require 'backports/1.9.1/kernel/require_relative' end +require 'puppet' + require_relative 'monkey_patches' require_relative 'parser' require_relative 'handlers'