Public bug reported:

After upgrading to Xenial, an often-run cron job that uses Dnsruby
started kicking out a warning:

/usr/lib/ruby/vendor_ruby/dnsruby.rb:413: warning: constant
Dnsruby::TimeoutError is deprecated

That line is:

  class ResolvTimeout < TimeoutError

Evidently, under Ruby 2.3 (the default Ruby for Xenial), TimeoutError
should be Timeout::Error.


I also note that this package appears to be sourced from the old RubyForge 
site.  The project has been moved to https://github.com/alexdalitz/dnsruby.  
The latest release (1.59.2) has the above problem fixed.

** Affects: dnsruby (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592667

Title:
  Use of dnsruby triggers a deprecation warning under Xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsruby/+bug/1592667/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to