lib/portal/config.rb in sidekiq_portal-0.2.0 vs lib/portal/config.rb in sidekiq_portal-0.3.0

- old
+ new

@@ -36,10 +36,10 @@ # @since 0.1.0 setting :scheduler_config, EMPTY_SCHEDULER_CONFIG # @since 0.1.0 validate :default_timezone do |value| - value.is_a?(String) && !ActiveSupport::TimeZone[value].nil? + value.is_a?(String) && ActiveSupport::TimeZone[value] != nil end # @since 0.1.0 validate :retry_on do |value| value.is_a?(Array) && (value.all? do |exception_klass|