gem_dependency_check is an existing function that shouldn't be overwritten, but called

This commit is contained in:
Dean Putney 2014-09-29 15:11:01 -07:00
parent 74ba09746b
commit 59280c04fb

View file

@ -57,9 +57,7 @@ module Agents
Set `expected_update_period_in_days` to the maximum amount of time that you'd expect to pass between Events being created by this Agent.
MD
def gem_dependency_check
defined?(Tumblr)
end
gem_dependency_check { defined?(Tumblr) }
def validate_options
errors.add(:base, "expected_update_period_in_days is required") unless options['expected_update_period_in_days'].present?