From 8154eb40aa6c93c5a8c6c31446618f0655ec5ed7 Mon Sep 17 00:00:00 2001 From: Anatoliy Yastreb Date: Sun, 26 Jun 2016 16:43:56 +0200 Subject: [PATCH] rubocop: separate deprecator error messages --- lib/jekyll/document.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/jekyll/document.rb b/lib/jekyll/document.rb index 6703a613..e160e640 100644 --- a/lib/jekyll/document.rb +++ b/lib/jekyll/document.rb @@ -435,7 +435,8 @@ module Jekyll def method_missing(method, *args, &blck) if data.key?(method.to_s) Jekyll::Deprecator.deprecation_message "Document##{method} is now a key "\ - "in the #data hash. Called by #{caller.first}." + "in the #data hash." + Jekyll::Deprecator.deprecation_message "Called by #{caller.first}." data[method.to_s] else super