lib/yieldmanager.rb in yieldmanager-0.3.5 vs lib/yieldmanager.rb in yieldmanager-0.4.0
- old
+ new
@@ -7,8 +7,16 @@
# * Yieldmanager::Builder creates local copies of the YM service wsdls.
#
module Yieldmanager
end
+require 'patch_detector'
+include PatchDetector
+
require 'yieldmanager/client'
+
+if needs_patching?(:ruby_version => RUBY_VERSION, :minimum_ruby_version_for_patch => "1.8.7")
+ require 'wsdl/patch'
+end
+
require 'yieldmanager/builder'
require 'yieldmanager/report'